Data link layer -- June 20041 Data link layer Computer Networks.

Slides:



Advertisements
Similar presentations
University of Calgary – CPSC 441.  We need to break down big networks to sub-LANs  Limited amount of supportable traffic: on single LAN, all stations.
Advertisements

Topic 7 Local Area Networks (LAN)
Bridges Advanced Computer Networks.
CMPE 150- Introduction to Computer Networks 1 CMPE 150 Fall 2005 Lecture 19 Introduction to Computer Networks.
Fundamentals of Computer Networks ECE 478/578 Lecture #13: Packet Switching (2) Instructor: Loukas Lazos Dept of Electrical and Computer Engineering University.
CSE 534 Fundamentals of Computer Networks Lecture 4: Bridging (From Hub to Switch by Way of Tree) Based on slides from D. Choffnes Northeastern U. Revised.
CS 4700 / CS 5700 Network Fundamentals Lecture 7: Bridging (From Hub to Switch by Way of Tree) Revised 1/14/13.
CPSC 441 TUTORIAL TA: FANG WANG HUBS, SWITCHES AND BRIDGES Parts of the slides contents are courtesy of the following people: Jim Kurose, Keith Ross:
“Internetworking” Bridges –Transparent bridges –Source Routing - Transparent Bridges Routers (Network Layer) Brouters
Internetworking Different networks –Different bit rates –Frame lengths –Protocols.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
1 Version 3 Module 8 Ethernet Switching. 2 Version 3 Ethernet Switching Ethernet is a shared media –One node can transmit data at a time More nodes increases.
Data Link Layer Switching
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
Introduction to Computer Networks 09/23 Presenter: Fatemah Panahi.
COMS W COMS W Lecture 7. LAN Switching: Bridges & Spanning Tree Protocol.
1 25\10\2010 Unit-V Connecting LANs Unit – 5 Connecting DevicesConnecting Devices Backbone NetworksBackbone Networks Virtual LANsVirtual LANs.
1 LAN switching and Bridges Relates to Lab 6. Covers interconnection devices (at different layers) and the difference between LAN switching (bridging)
DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.
1 Computer Networks LAN Bridges and Switches. 2 Where are we?
Layer 2 Switch  Layer 2 Switching is hardware based.  Uses the host's Media Access Control (MAC) address.  Uses Application Specific Integrated Circuits.
The Medium Access Control Sublayer Chapter 4. The Channel Allocation Problem Static Channel Allocation in LANs and MANs Dynamic Channel Allocation in.
Connecting LANs, Backbone Networks, and Virtual LANs
17-LAN extensions: Fiber Modems, Repeaters, Bridges and Switches Dr. John P. Abraham Professor UTPA.
Connecting LANs, Backbone Networks, and Virtual LANs
1 CS 4396 Computer Networks Lab LAN Switching and Bridges.
CMPE 150 – Winter 2009 Lecture 9 February 3, 2009 P.E. Mantey.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
10/18/2007 EETS Bluetooth Bluetooth Architecture Bluetooth Applications The Bluetooth Protocol Stack The Bluetooth Radio Layer The Bluetooth Baseband.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
1 Kyung Hee University Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Local Area Networks.
Computer Networks 15-1 Chapter 15. Connecting LANs, Backbone Networks, and Virtual LANs 15.1 Connecting devices 15.2 Backbone networks 15.3 Virtual LANs.
STORE AND FORWARD & CUT THROUGH FORWARD Switches can use different forwarding techniques— two of these are store-and-forward switching and cut-through.
NET 324 D Networks and Communication Department Lec1 : Network Devices.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
McGraw-Hill©The McGraw-Hill Companies, Inc., Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs.
ICS 156: Networking Lab Magda El Zarki Professor, ICS UC, Irvine.
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
Ch. 15 Connecting LANs.
1 LAN switching and Bridges Relates to Lab Outline Interconnection devices Bridges/LAN switches vs. Routers Bridges Learning Bridges Transparent.
15.1 Chapter 15 Connecting LANs, Backbone Networks, and Virtual LANs Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or.
Chapter 16– Connecting LANs
Link Layer 5.1 Introduction and services
Part III Datalink Layer 10.
Connecting Devices LANs or WANs do not normally operate in isolation. They are connected to one another or to the Internet. To connect LANs or WANs, we.
The Medium Access Control Sublayer
Lab 2 – Hub/Switch Data Link Layer
Bridging.
3. Internetworking (part 2: switched LANs)
Chapter 4 Data Link Layer Switching
: An Introduction to Computer Networks
Chapter 3 Part 1 Switching and Bridging
Lab 2 – Hub/Switch Data Link Layer
CS 457 – Lecture 8 Switching and Forwarding
Connecting LANs, Backbone Networks, and Virtual LANs
Connecting LANs, Backbone Networks, and Virtual LANs
Ethernet : Framing and Addressing
LAN switching and Bridges
Connecting LANs, Backbone Networks,
Chapter 16 Connecting LANs, Backbone Networks, and Virtual LANs
LAN switching and Bridges
Dr. Rocky K. C. Chang 23 February 2004
Part III Datalink Layer 10.
Chapter 15. Connecting Devices
LAN switching and Bridges
Bridges Computer Networks.
Presentation transcript:

Data link layer -- June Data link layer Computer Networks

Data link layer -- June Overview  Design issues  Point-to-point links  Local area Networks  Data Link layer Switching  Multiple LANs?  From 802.x to 802.y  Transparent bridges  Spanning Tree bridges  Remote bridges  Interconnections <> layers  Virtual LANs

Data link layer -- June Multiple LANs?  Why different LANs in a single organisation? oAutonomy of owners oDistance too great for a single LAN oLoad too high for a single LAN oReliability: a single defective node will cripple onle a single LAN oSecurity: most LANs offer a promiscuous mode (receive all packets)  Solution at data link layer: Bridge switch

Data link layer -- June From 802.x to 802.y  How do bridges work?

Data link layer -- June Bridges: from 802.x to 802.y  Common problems: different odata rates omaximum frame length osecurity oquality of service oframe formats typeData Rate Mbps Max length bytes Support for encrypt QoS g x x

Data link layer -- June Overview  Design issues  Point-to-point links  Local area Networks  Data Link layer Switching  Multiple LANs?  From 802.x to 802.y  Transparent bridges  Spanning Tree bridges  Remote bridges  Interconnections <> layers  Virtual LANs

Data link layer -- June Transparent bridges  Goal: interconnect LANs with a bridge and everything should work perfectly, instantly oNo software changes oNo hardware changes oNo setting of address switches oNo downloading of routing tables  How? Promiscuous mode receive packet… oSource LAN = destination LAN  discard frame oDestination LAN unknown  flooding (on LAN level) oDestination LAN known  forward frame  Learn about LANs? Backward learning: construct routing table oInitially empty oReceive frame from node A via LAN L  A reachable via L oDynamic topologies: attach timestamp to entries

Data link layer -- June Transparent bridges A B C Bridge L1L2 fromtodata frame D L3 packetactionTable host entries LAN initiallyempty A  B flooding to L2 & L3AL1

Data link layer -- June Transparent bridges A B C Bridge L1L2 D L3 packetactionTable host entries LAN AL1 C  A forward to L1ACAC L1 L2

Data link layer -- June Transparent bridges A B C Bridge L1L2 D L3 packetactionTable host entries LAN ACAC L1 L2 D  B flooding to L1 & L2ACDACD L1 L2 L3

Data link layer -- June Spanning Tree bridges  Bridges in parallel oTo increase reliability  loops in topology oTo increase forwarding capacity Problem oFrame forwarding/flooding forever  Solution: Spanning tree Bridges

Data link layer -- June Transparent bridges  Spanning tree bridges: oSolution transparent to hosts oBridges construct spanning tree one path from every LAN to every other LAN oAll forwarding follows spanning tree oSpanning tree construction Select root of tree: bridge with lowest serial number (unique by construction; broadcast is used to inform all bridges) Distributed algorithm to add (shortest) paths

Data link layer -- June Transparent bridges  Spanning tree bridges

Data link layer -- June Remote bridges  Interconnect distant LAN oBridge on each LAN oPoint-to-point line between bridges  Routing? oNo difference oPoint-to-point line = LAN without hosts  Protocol oSelect point-to-point protocol oInside frame Complete MAC frame Only LLC frame (without MAC header, trailer)

Data link layer -- June Overview  Design issues  Point-to-point links  Local area Networks  Data Link layer Switching  Multiple LANs?  From 802.x to 802.y  Transparent bridges  Spanning Tree bridges  Remote bridges  Interconnections <> layers  Virtual LANs

Data link layer -- June Interconnections <> layers  Which device in which layer?  Frames, packets and headers

Data link layer -- June Interconnections <> layers  Repeater oAnalog devices to interconnect cable segments oSignal on one segment is amplifies and put on other segment oNot aware of frames, addresses  Hub oFrames arriving on one line are sent out on all the other lines oA single collision domain oNot aware of frames, addresses Physical layer

Data link layer -- June Interconnections <> layers  Bridge oInterconnects LANs oEach line has its own collision domain  Switch oInterconnects hosts  cut-through switches oForwarding starts when header is received Difference? Data link layer

Data link layer -- June Overview  Design issues  Point-to-point links  Local area Networks  Data Link layer Switching  Multiple LANs?  From 802.x to 802.y  Transparent bridges  Spanning Tree bridges  Remote bridges  Interconnections <> layers  Virtual LANs

Data link layer -- June Virtual LANs  Example of a wiring infrastructure  Logical or physical configuration of LANs?

Data link layer -- June Virtual LANs  LANs should to reflect organizational structure oSecurity oLoad oBroadcasting  Solutions? oLAN = hub + rewiring oRewiring in software  VLAN Implemented by specially-designed VLAN aware switches/bridges

Data link layer -- June Virtual LANs  Example VLANs: White & Gray  How to forward a (broadcast) packet sent out by A?

Data link layer -- June Virtual LANs  How to forward a (broadcast) packet sent out by A?  Forwarded by bridge/switch on all Gray ports  What is the color of an incoming frame?

Data link layer -- June Virtual LANs  Coloring incoming frames? VLAN color assigned to oPort Does not work for bridges oMAC address oUse layer 3 Could be useful Violates independence of layers oColor frames  IEEE 802.1Q Changes in Ethernet header to support VLANs

Data link layer -- June IEEE 802.1Q  Bridges/switches fill in the VLAN color  Used on lines interconnecting bridges/switches  Future ethernet cards will be 802.1Q compliant?  Max length increased from 1518 to 1522 bytes

Data link layer -- June IEEE 802.1Q  VLAN fields: oVLAN protocol ID (>max length) oPri: hard real-time <> soft real-time <> time-insensitive oCFI: Canonical Format indicator: frame

Data link layer -- June IEEE 802.1Q  Configuration of bridges/switches oAutoconfiguration If only 802.1Q frames arrive Learning oManual For mixed installations

Data link layer -- June Data link layer Computer Networks