LAN interconnection. Telecommunication Networks Group

Similar documents
COMPUTER NETWORKS - Local area networks

Local area networks. Copyright

IEEE standards for local area networks

Data link layer (layer 2)

AP Management and Handover support (802.11f)

COMPUTER NETWORKS - Window protocols

COMPUTER NETWORKS - Window protocols

Introduction to Omnet++

Switching & ARP Week 3

LAN Overview (part 2) Interconnecting LANs - Hubs

Review of fundamentals networking concepts

Chapter 6 Connecting Device

Ethernet. Network Fundamentals Chapter Cisco Systems, Inc. All rights reserved. Cisco Public 1

Chapter 11 in Stallings 10 th Edition

A primer on modern LANs

Internetworking is connecting two or more computer networks with some sort of routing device to exchange traffic back and forth, and guide traffic on

Chapter 15 Local Area Network Overview

ก ก Information Technology II

Data Communications. Connecting Devices

Switched Ethernet Virtual LANs

Introduction to LAN Protocols

Additional Slides (Basics) Intermediate Systems

6.1.2 Repeaters. Figure Repeater connecting two LAN segments. Figure Operation of a repeater as a level-1 relay

LANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs, connecting devices are needed.

Objectives. Hexadecimal Numbering and Addressing. Ethernet / IEEE LAN Technology. Ethernet

Computer Networks Principles LAN - Ethernet

Lecture 9: Switched Ethernet Features: STP and VLANs

Hubs. twisted pair. hub. 5: DataLink Layer 5-1

CCM 4300 Lecture 5 Computer Networks, Wireless and Mobile Communications. Dr Shahedur Rahman. Room: T115

Switching and Forwarding Reading: Chapter 3 1/30/14 1

ET4254 Communications and Networking 1

NETWORKING COMPONENTS

We are going to see a basic definition of the devices you can find in a corporate wired network, so you can understand basic IT engineering jargon.

Connecting to the Network

Cisco Networking Academy Curriculum - Semester Three Scope and Sequence

n groups of 1,2 or 3 people n if seats are available, also 1 person per group is also fine n individual written report discussed during the oral exam

Bluetooth. Renato Lo Cigno

Principles behind data link layer services

ISO/OSI Model and Collision Domain NETWORK INFRASTRUCTURES NETKIT - LECTURE 1 MANUEL CAMPO, MARCO SPAZIANI

Principles behind data link layer services:

Principles behind data link layer services:

Darshan Institute of Engineering & Technology for Diploma Studies

A closer look at network structure:

Chapter 3 Part 2 Switching and Bridging. Networking CS 3470, Section 1

VLANS and Other Hardware

Local Area Network Overview

LAN Local Area Networks. CSMA/CD restriction. Bits on the Wire. PacketSize 2 * COMP476 Networked Computer Systems. Interconnecting

Introduction to LAN Protocols

Layer 2 functionality bridging and switching

Lecture 8: Switched Ethernet and Collision Domains

Computer Networking. December 2004 CEN CN

KIBABII UNIVERSITY COLLEGE DEPARTMENT COMPUTER SCIENCE & IT ANSWER ALL QUESTIONS IN SECTION A AND ANY TWO QUESTIONS IN SECTION B

Communication Networks

Computer Networks. Week 04 Media and Devices. College of Information Science and Engineering Ritsumeikan University

Cisco Cisco Certified Network Associate (CCNA)

Running Head: NETWORKING 1

Prepared by Agha Mohammad Haidari Network Manager ICT Directorate Ministry of Communication & IT

RAJIV GANDHI COLLEGE OF ENGINEERING AND TECHNOLOGY

Router Router Microprocessor controlled traffic direction home router DSL modem Computer Enterprise routers Core routers

3. What could you use if you wanted to reduce unnecessary broadcast, multicast, and flooded unicast packets?

RMIT University. Data Communication and Net-Centric Computing COSC 1111/2061/1110. Lecture 8. Medium Access Control Methods & LAN

COMPUTER NETWORKS Data link layer protocols

CHAPTER 2 - NETWORK DEVICES

ROYAL INSTITUTE OF INFORMATION & MANAGEMENT

2. LAN Topologies Gilbert Ndjatou Page 1

Wired internetworking devices. Unit objectives Differentiate between basic internetworking devices Identify specialized internetworking devices

Computer Science Department 2 nd semester- Lecture13

CMPE 150 Winter 2009

Internetwork Expert s CCNP Bootcamp. Hierarchical Campus Network Design Overview

Networking Devices. Punch_down panels

THE OSI MODEL. Application Presentation Session Transport Network Data-Link Physical. OSI Model. Chapter 1 Review.

Chapter 4. The Medium Access Control Sublayer

Networking for Data Acquisition Systems. Fabrice Le Goff - 14/02/ ISOTDAQ

A. ARPANET was an early packet switched network initially connecting 4 sites (Stanford, UC Santa Barbara, UCLA, and U of Utah).

Chapter 4 NETWORK HARDWARE

Communicating over the Network

Ethernet 101 Siemens Industry Inc All rights reserved. usa.siemens.com/industry

Redes de Computadores. Medium Access Control

King Fahd University of Petroleum & Minerals Electrical Engineering Department EE 400, Experiment # 2

Different network topologies

Configuring your VLAN. Presented by Gregory Laffoon

Networks Hardware Components

COMPONENTS OF DATA COMMUNICATION

1: Review Of Semester Provide an overview of encapsulation.

More on LANS. LAN Wiring, Interface

Network protocols and. network systems INTRODUCTION CHAPTER

CN [Network Devices]

Chapter 10: Planning and Cabling Networks

CCNA Exploration Network Fundamentals. Chapter 09 Ethernet

Internetwork Basic. Possible causes of LAN traffic congestion are

Top-Down Network Design

Test Bank for A Guide to Designing and Implementing Local And Wide Area Networks 2nd Edition by Palmer and Sinclair

Integrating Information Systems: Technology, Strategy, and Organizational Factors

The Medium Access Control Sublayer

COMMUNICATION NETWORKS NETW 501

Introduction to Network Technologies & Layered Architecture BUPT/QMUL

ITEC 3210 M - Applied Data Communications and Networks. Professor: Younes Benslimane, Ph.D.

LAN Interconnection. different interconnecting devices, many approaches Vasile Dadarlat- Local Area Computer Networks

3.5 CONNECTING DEVICES

Chapter Seven. Local Area Networks: Part 1. Data Communications and Computer Networks: A Business User s Approach Seventh Edition

Transcription:

LAN interconnection Telecommunication Networks Group firstname.lastname@polito.it http://www.telematica.polito.it/ COMPUTER NETWORKS - LAN interconnection- 1

Copyright Quest opera è protetta dalla licenza Creative Commons NoDerivs-NonCommercial. Per vedere una copia di questa licenza, consultare http://creativecommons.org/licenses/ nd-nc/1.0/ oppure inviare una lettera a: Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. This work is licensed under the Creative Commons NoDerivs-NonCommercial License. To view a copy of this license, visit: http://creativecommons.org/licenses/nd-nc/1.0/ or send a letter to Creative Commons, 559 Nathan Abbott Way, Stanford, California 94305, USA. COMPUTER NETWORKS - LAN interconnection- 2

Needed to LAN Interconnection Extend LAN physical size Increase the number of access nodes No need to modify protocol architecture May increase LAN throughput performance More space diversity Exploits traffic locality COMPUTER NETWORKS - LAN interconnection- 3

Interconnecting devices Repeater or Hub (layer 1) Not an interconnecting device Permit to extend cable lenghts Bridge or Switch (layer 2) Simple routing algorithms Work only on loop free topologies Router (layer 3) Complex routing algorithms Any topology Gateway (layer 4-7) Useful to interconnect networks with different layering structure COMPUTER NETWORKS - LAN interconnection- 4

Repeater or Hub Application Presentation Session Transport Network Data Link Physical Physical Repeater Physical Application Presentation Session Transport Network Data Link Physical COMPUTER NETWORKS - LAN interconnection- 5

Repeater or Hub Multi-port device Operates at the bit level (layer one) Extend cable lenght No increase in network capacity Regenerates strings of bit and forwards them on all the ports Shared bandwidth on all ports 3R: re-generation, re-shaping, re-timing May introduce delays Repeaters On coaxial cable Tree-like topology (interconnected buses) Hubs Structured cabling (ease cabling and maintenance) On twisted-pair or fiber Star based topology COMPUTER NETWORKS - LAN interconnection- 6

Bridge or Switch Application Presentation Session Transport Network Data Link Physical Bridge Data Link Data Link Physical Physical Application Presentation Session Transport Network Data Link Physical COMPUTER NETWORKS - LAN interconnection- 7

Bridge/Switches Layer 2 devices Operate on layer 2 addresses From one segment LAN to extended LANs Interconnect segments of LANs Enable to increase the network size Store and forward devices Dedicated bandwidth per port Transparent to users (same behaviour with or withouth bridge/switch) Do not modify packet content Limited routing capability Backward learning algorithm (see later) COMPUTER NETWORKS - LAN interconnection- 8

Bridge/Switches Bridge Operates on coaxial cable Interconnect LANs, possibly with different MAC Run the spanning tree protocol (see later) Switches Operates on twisted pair Interconnect LANs (or single users ) with the same MAC Support VLANs Sometimes do not run the spanning tree protocol (see later) COMPUTER NETWORKS - LAN interconnection- 9

Bridge/Switch Packets received on LAN 1 are transmitted on LAN 2 only when needed PC1 PC2 LAN 1 PORT A BRIDGE LAN 2 PC3 PORT B PC4 COMPUTER NETWORKS - LAN interconnection- 10

Bridge/switch operations Focus on transparent bridging Each bridge/switch has a unique ID Each bridge/switch port has a unique id Forwardig tables are initially empty Three fundamentals functions: address learning: to dynamically create a routing (forwarding) table at the MAC layer (MAC Address, port_id) frame forwarding: forward packets depending on the outcome of the routing table look-up spanning tree algorithm execution to operate on a loopfree (tree) topology COMPUTER NETWORKS - LAN interconnection- 11

Address learning Exploits the backward learning algorithm For each received packet Read the source MAC address MAC_S to associate the address with the port PORT_X from which the packet has been received Update timer associated to the entry (MAC_S, PORT_X) Will later use PORT_X to forward packets to MAC_S Timer needed to automatically adapt to topology variations and to keep the table size small COMPUTER NETWORKS - LAN interconnection- 12

Frame forwarding When a correct packet (wrong packets are dropped) with a unicast MAC_D destination address is received on PORT_X Look for MAC-D in the table If found and associated to PORT_X, drop the packet If found and associated to port_y, forward to PORT_Y If not found, forward to any other output port except PORT_X If the packet has a multicast/broadcast address Forward to any port except PORT_X COMPUTER NETWORKS - LAN interconnection- 13

Spanning tree Needed to avoid loops Build a logical tree topology among bridges/ switches by activating/de-activating ports Some switches may not support the spanning tree Need to interconnect in a loop-free physical topology COMPUTER NETWORKS - LAN interconnection- 14

Backward learning over a loop LAN 1 NODE X PORT A PORT A BRIDGE 1 BRIDGE 2 PORT B PORT B LAN 2 NODE Q COMPUTER NETWORKS - LAN interconnection- 15

Backward learning over a loop Q transmits to X B1 and B2 receive the packet and assume that Q can be reached using port B If B1 and B2 have the MAC address of X in the forwarding table B1 sends the packet on port A B2 assumes that Q can be reached using port A (true, but via a loop) B2 sends the packet on port A B1 assumes that Q can be reached using port A Thus X receives two copies of the packet B1 and B2 are unable to reach Q COMPUTER NETWORKS - LAN interconnection- 16

Backward learning over a loop Q sends to X B1 and B2 receive the packet and assume that Q can be reached using port B If the MAC address of X is NOT found in the forwarding tables B1 sends the packet on port A B2 assumes that Q can be reached using port A (true, but via a loop) B2 sends the packet on port A B2 assumes that Q can be reached using port A (true, but via a loop B1 and B2 keep sending packets forever COMPUTER NETWORKS - LAN interconnection- 17

Bridge/Switch properties From a multiple-access network to a multiplexed network Reduce collision probability by partitioning the network in independent segments For a full duplex fully switched network Ethernet becomes a framing and transmission technique alternative to LAP-B, LAP-F, ATM The MAC layer becomes useless Physical distance limitations induced only by the media transmission properties, not by the MAC Ease security and management Traffic separation COMPUTER NETWORKS - LAN interconnection- 18

Bridge/Switch properties Throughput performance may increase More space diversity (higher capacity) Ned to exploit traffic locality Introduce store and forward (and queueing) delays Worse delays than hubs Stor and forward delay significant with respect to propagation delay Transmission time of a minimum packet size at least twice of the propagation delay Potential packet losses when queues are filled-up Unfairness in resource access COMPUTER NETWORKS - LAN interconnection- 19

VLAN (Virtual LAN) Host are physically connected to the same network segment, but logically separated Broadcast/multicast packets forwarded only on ports belonging to the VLAN Need to extend the PCI MAC to identify packets as belonging to a specific VLAN Hosts belonging to separate VLANs cannot directly exchange packets COMPUTER NETWORKS - LAN interconnection- 20

Virtual LANs (a) 4 LAN segments organized as 2 VLANs (white and grey) through two bridges (b) similar scenario with two switches COMPUTER NETWORKS - LAN interconnection- 21

The IEEE 802.1Q Standard From legacy Ethernet to Ethernet with VLANs COMPUTER NETWORKS - LAN interconnection- 22

IEEE 802.1Q 802.3 Packet format (legacy) e 802.1Q. COMPUTER NETWORKS - LAN interconnection- 23

Hierarchical LAN organization dedicated shared COMPUTER NETWORKS - LAN interconnection- 24

Router Layer 3 (network) device Routes on the basis of layer 2 addresses Often multiprotocol Application Presentation Session Transport Network Data Link Physical ROUTER Rete Data Link Data Link Physical Physical Application Presentation Session Transport Network Data Link Physical COMPUTER NETWORKS - LAN interconnection- 25

Gateway Interconnection among networks with different layered architectures In the worst case operate above layer 7 in the OSI model Example: gateway for mailing systems with different architectures COMPUTER NETWORKS - LAN interconnection- 26

Gateway Architecture A Gateway Architecture B Application Application Presentation Presentation Application Application Session Session Transport Transport Transport Transport Network Network Network Network Data Link Data Link Data Link Data Link Physical Physical Physical Physical COMPUTER NETWORKS - LAN interconnection- 27