DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial.

Slides:



Advertisements
Similar presentations
Communication Networks Recitation 3 Bridges & Spanning trees.
Advertisements

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.
Ethernet “dominant” LAN technology: cheap $20 for 100Mbs!
Review r Error Detection: CRC r Multiple access protocols m Slotted ALOHA m CSMA/CD r Homework 3 out r Project 3 out, link state only. Some slides are.
5: DataLink Layer5-1 Mac Addressing, Ethernet, and Interconnections.
1 Ethernet EECS 489 Computer Networks Z. Morley Mao Wednesday Feb 21, 2007 Acknowledgement: Some slides taken.
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:
1 Data Link Layer Ethernet Bridges Token Ring. 2 Summary of MAC protocols What do you do with a shared media? Channel Partitioning: time, frequency or.
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.
5: Link Layer and Local Area Networks5c-1 Hubs, Bridges, and Switches r Used for extending LANs in terms of geographical coverage, number of nodes, administration.
5/31/05CS118/Spring051 twisted pair hub 10BaseT, 100BaseT, hub r T= Twisted pair (copper wire) r Nodes connected to a hub, 100m max distance r Hub: physical.
1 Computer Networks Internetworking Devices. 2 Repeaters Hubs Bridges –Learning algorithms –Problem of closed loops Switches Routers.
5: DataLink Layer5-1 MAC Addresses and ARP r 32-bit IP address: m network-layer address m used to get datagram to destination IP subnet r MAC (or LAN or.
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.
Local Area Network Lesson 7 NETS2150/2850.
1 Last class r Random Access Protocols m Slotted Aloha m Aloha m CSMA/CD m “Taking Turns” Protocols r Link-Layer Addressing Today r Ethernet, Hubs and.
5: DataLink Layer – Ethernet, Hubs and Switches.
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
1 Interconnecting LAN segments Repeaters Hubs Bridges Switches.
5: DataLink Layer5a-1 Summary of MAC protocols r What do you do with a shared media? m Channel Partitioning, by time, frequency or code Time Division,Code.
Review r Error Detection: CRC r Multiple access protocols m Slotted ALOHA m CSMA/CD r LAN addresses and ARP r Ethernet Some slides are in courtesy of J.
Introduction 1 Lecture 25 Link Layer (Ethernet, Switch) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering.
1 ECE453 – Introduction to Computer Networks Lecture 8 – Multiple Access Control (II)
Connecting LANs, Backbone Networks, and Virtual LANs
Introduction to IT and Communications Technology Justin Champion C208 – 3292 Ethernet Switching CE
Semester 1 Module 8 Ethernet Switching Andres, Wen-Yuan Liao Department of Computer Science and Engineering De Lin Institute of Technology
Chapter 6 High-Speed LANs Chapter 6 High-Speed LANs.
Hubs, Bridges, and Switches (oh my) r Used for extending LANs in terms of geographical coverage, number of nodes, administration capabilities, etc. r Differ.
1 Network Equipment Technologies Network Equipment Technologies.
Lecture 17 Ethernet r Widely deployed because: m First LAN technology m Simpler and less expensive than token LANs and ATM m Kept up with the speed race:
Introduction1-1 Data Communications and Computer Networks Chapter 5 CS 3830 Lecture 27 Omar Meqdadi Department of Computer Science and Software Engineering.
5: DataLink Layer5-1 Ethernet “dominant” wired LAN technology: r cheap $20 for 100Mbs! r first widely used LAN technology r Simpler, cheaper than token.
5: DataLink Layer5-1 Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer Addressing.
1 Computer Communication & Networks Lecture 13 Datalink Layer: Local Area Network Waleed Ejaz
Computer Networking Bridges/Switches, , PPP.
5: DataLink Layer5a-1 Chapter 5: The Data Link Layer Last time: r multiple access protocols and LANs r link layer addressing, ARP r specific link layer.
Module 8: Ethernet Switching
Link Layer: MAC Ilam University Dr. Mozafar Bag-Mohammadi.
Review: –Ethernet What is the MAC protocol in Ethernet? –CSMA/CD –Binary exponential backoff Is there any relationship between the minimum frame size and.
5: DataLink Layer 5a-1 18: Ethernet, Hubs, Bridges, Switches Last Modified: 10/27/2015 1:29:46 PM.
5: DataLink Layer5-1 Link Layer r 5.1 Introduction and services r 5.2 Error detection and correction r 5.3Multiple access protocols r 5.4 Link-Layer Addressing.
Chi-Cheng Lin, Winona State University CS 313 Introduction to Computer Networking & Telecommunication Local Area Networks.
Sem1 - Module 8 Ethernet Switching. Shared media environments Shared media environment: –Occurs when multiple hosts have access to the same medium. –For.
5: DataLink Layer5c-1 Today r Assign Homework m Ch5 #1,4,5,7,11,12 Due Wednesday October 22 m Ch5 #13-16,18,20 Due Monday, October 27 r Project #2 due.
McGraw-Hill©The McGraw-Hill Companies, Inc., 2004 Connecting Devices CORPORATE INSTITUTE OF SCIENCE & TECHNOLOGY, BHOPAL Department of Electronics and.
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs Computer Networking: A Top Down Approach Featuring the Internet, 3 rd edition. Jim Kurose, Keith Ross.
Link Layer MAC Dr. Mozafar Bag-Mohammadi University of Ilam.
EEC-484/584 Computer Networks Lecture 14 Wenbing Zhao
5: DataLink Layer5-1 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r Multi-tier design provides.
5: DataLink Layer 5a-1 Bridges and spanning tree protocol Reference: Mainly Peterson-Davie.
CCNA3 Module 4 Brierley Module 4. CCNA3 Module 4 Brierley Topics LAN congestion and its effect on network performance Advantages of LAN segmentation in.
4: DataLink Layer1 Hubs r Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces.
Computer Communication and Networking Lecture # 4 by Zainab Malik 1.
5: DataLink Layer5-1 Hubs Hubs are essentially physical-layer repeaters: m bits coming from one link go out all other links m at the same rate m no frame.
5: DataLink Layer5-1 Link-layer switches. 5: DataLink Layer5-2 Hubs … physical-layer (“dumb”) repeaters: m bits coming in one link go out all other links.
5-1 Last time □ Multiple access protocols ♦ Channel partitioning MAC protocols TDMA, FDMA ♦ Random access MAC protocols Slotted Aloha, Pure Aloha, CSMA,
Chapter 3 Part 1 Switching and Bridging
Link Layer 5.1 Introduction and services
MAC Addresses and ARP 32-bit IP address:
Chapter 4 Data Link Layer Switching
Hubs Hubs are essentially physical-layer repeaters:
ARP: Address Resolution Protocol
Chapter 3 Part 1 Switching and Bridging
Mac Addressing, Ethernet, and Interconnections
Hubs Hubs are essentially physical-layer repeaters:
EEC-484/584 Computer Networks
Dr. Mozafar Bag-Mohammadi University of Ilam
EEC-484/584 Computer Networks
18: Ethernet, Hubs, Bridges, Switches
Chapter 5 Data Link Layer – Hub, Switch
Presentation transcript:

DataLink Layer1 Ethernet Technologies: 10Base2 10: 10Mbps; 2: 200 meters (actual is 185m) max distance between any two nodes without repeaters thin coaxial cable in a bus topology max 30 nodes in a segment max 4 repeaters, max network diameter 925m has become a legacy technology

DataLink Layer2 10BaseT and 100BaseT 10/100 Mbps rate; latter called “fast ethernet” T stands for Twisted Pair Nodes connect to a hub: “star topology”; 100 m max distance between nodes and hub Hubs are essentially physical-layer repeaters: – bits coming in one link go out all other links – no frame buffering – no CSMA/CD at hub: adapters speak CSMA/CD – provides network management functionality hub nodes

DataLink Layer3 Gigabit Ethernet (IEEE 802.3z) 1Gbps data rate use standard Ethernet frame format star topology, allows for point-to-point links (use switches) and shared broadcast channels (use hubs) – Full-Duplex at 1 Gbps for point-to-point links – in shared mode, CSMA/CD is used

DataLink Layer4 Interconnecting LAN segments Hubs Bridges Switches – Remark: switches are essentially high performance multi-interface bridges. – What we say about bridges also holds for switches!

DataLink Layer5 Interconnecting with hubs Hubs are physical layer devices: operate on bits Backbone hub interconnects LAN segments Extends max distance between nodes But individual segment collision domains become one large collision domain – if a node in CS and a node in EE transmit at same time: collision Can’t interconnect 10BaseT & 100BaseT

DataLink Layer6 Bridges Link layer device: operate on frames – stores and forwards Ethernet frames – examines frame header and forwards frame based on destination MAC address – when frame is to be forwarded on a segment, uses CSMA/CD to access the segment – can interconnect different LAN technologies plug-and-play, self-learning – bridges do not need to be configured

DataLink Layer7 Bridges: traffic isolation Bridge installation breaks LAN into LAN segments bridges filter packets: – same-LAN-segment frames not usually forwarded onto other LAN segments – segments become separate collision domains bridge collision domain collision domain = hub = host LAN LAN segment

DataLink Layer8 Forwarding How do determine to which LAN segment to forward frame? Looks like a routing problem...

DataLink Layer9 Self learning A bridge has a bridge table entry in bridge table: – (Node LAN Address, Bridge Interface, Time Stamp) – stale entries in table dropped (TTL typically 60 min) bridges learn which hosts can be reached through which interfaces – bridge table initially empty – when frame received, bridge “learns” location of sender – records sender’s LAN address, arriving interface, and current time in bridge table – delete an address in table if no frames are received with that address as the source address after some period of time

DataLink Layer10 Filtering/Forwarding When bridge receives a frame: index bridge table using destination MAC address if entry found for destination then { if dest on segment from which frame arrived then drop the frame else forward the frame on interface indicated } else flood forward on all but the interface on which the frame arrived

DataLink Layer11 Bridge example Suppose C sends a frame to D and D replies back with a frame to C. r Bridge receives frame from C m notes in bridge table that C is on interface 1 m because D is not in table, bridge sends frame into interfaces 2 and 3 r frame received by D

DataLink Layer12 Bridge Learning: example r D generates frame for C, sends r bridge receives frame m notes in bridge table that D is on interface 2 m bridge knows C is on interface 1, so forwards frame to interface 1 C 1

DataLink Layer13 Spanning Tree for increased reliability, desirable to have redundant, alternative paths from source to dest with multiple paths, cycles result - bridges may multiply and forward frame forever solution: bridges determine a spanning tree by disabling subset of interfaces Disabled

DataLink Layer14 Some bridge features isolates collision domains resulting in higher total max throughput limitless number of nodes and geographical coverage can connect different Ethernet types transparent (“plug-and-play”): no configuration necessary

DataLink Layer15 Interconnection without backbone Not recommended for two reasons: - single point of failure at Computer Science hub - all traffic between EE and SE must pass through CS segment

DataLink Layer16 Backbone configuration Recommended ! With a backbone, each pair of LAN segments can communicate without passing through a third-party LAN segment

DataLink Layer17 Bridges vs. Routers both store-and-forward devices – routers: network layer devices (forward packets using network layer addresses) – bridges: link layer devices (forward packets using LAN addresses) routers maintain routing tables, implement routing algorithms bridges maintain bridge tables, implement learning and spanning tree algorithms

DataLink Layer18 Routers vs. Bridges Bridges + and - + Bridges are plug-and-play + Bridge operation is simpler requiring less packet processing  high packet filtering and forwarding rates - All traffic confined to spanning tree, even when alternative paths are available - Bridges do not offer protection from broadcast storms

DataLink Layer19 Routers vs. Bridges Routers + and - + arbitrary topologies can be supported, cycling is limited by TTL counters (and good routing protocols)  packets can use the best path + provide protection against broadcast storms - require IP address configuration (not plug and play) - require larger packet processing time bridges do well in small (few hundred hosts) networks while routers used in large (thousands of hosts) networks

DataLink Layer20 Ethernet Switches Essentially high-performance multi- interface bridges – switches have large number of interfaces layer 2 (frame) forwarding, filtering using LAN addresses automatically build forwarding tables often: individual hosts star-connected into switch – Switching: A-to-A’, B-to-B’, and C-to-C’ simultaneously – Full duplex, no collisions! combinations of 10/100/1000 Mbps interfaces

DataLink Layer21 Ethernet Switches cut-through switching: frame forwarded from input to output port without waiting for assembly of entire frame – slight reduction in latency – store-and-forward and cut-through switching differ only when the output buffer becomes empty before the entire packet has arrived PreambleDASAtypeDataCRC Cut-though forwards after DA Store-and-forward sends after CRC

DataLink Layer22 An Example LAN Dedicated Shared

DataLink Layer23 Summary comparison

DataLink Layer24 IEEE Wireless LANs b – operate at 2.4 GHz, 11 Mbps – widely deployed a – 5-6 GHz range – up to 54 Mbps g – 2.4 GHz – up to 54 Mbps All have base-station and ad-hoc network versions All use CSMA/CA for multiple access