Hubs, Bridges, and Switches (oh my) Hubs

Similar documents
Ethernet Switches Bridges on Steroids. Ethernet Switches. IEEE Wireless LAN. Ad Hoc Networks

Summary of MAC protocols

Underlying Technologies -Continued-

Review. Error Detection: CRC Multiple access protocols. LAN addresses and ARP Ethernet. Slotted ALOHA CSMA/CD

Medium Access Protocols

Principles behind data link layer services

Hubs. Interconnecting LANs. Q: Why not just one big LAN?

Principles behind data link layer services:

Principles behind data link layer services:

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

Data Link Layer. Our goals: understand principles behind data link layer services: instantiation and implementation of various link layer technologies

Ethernet Switches (more)

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

Chapter 5 Link Layer and LANs

Wireless Challenges : Computer Networking. Overview. Routing to Mobile Nodes. Lecture 25: Wireless Networking

Getting Connected (Chapter 2 Part 4) Networking CS 3470, Section 1 Sarah Diesburg

Chapter 5 part 2 LINK LAYER. Computer Networks Timothy Roscoe Summer Networks & Operating Systems Computer Networks

Wireless LANs. Wireless Network

Part 5: Link Layer Technologies. CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross

Wireless Network and Mobility

Lecture 5 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

WLAN Technology: LAN: a review WLAN: applications & key parameters. protocol architectures

Lecture 6 The Data Link Layer. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

Chapter 4. DataLink Layer. Reference: Computer Networking: A Top Down Approach 4 th edition. Jim Kurose, Keith Ross Addison-Wesley, July 2007.

Good day. Today we will be talking about Local Internetworking What is Internetworking? Internetworking is the connection of different networks.

Chapter 5: The Data Link Layer. Chapter 5 Link Layer and LANs. Ethernet. Link Layer. Star topology. Ethernet Frame Structure.

Redes de Computadores. Medium Access Control

15-441: Computer Networking. Wireless Networking

Links Reading: Chapter 2. Goals of Todayʼs Lecture. Message, Segment, Packet, and Frame

Some portions courtesy Srini Seshan or David Wetherall

Lecture 9: Bridging & Switching"

Link Layer. (continued)

Chapter 6 Connecting Device

Chapter 5 Link Layer and LANs

High Level View. EE 122: Ethernet and Random Access protocols. Medium Access Protocols

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

Lecture 16: QoS and "

Lecture 6. Data Link Layer (cont d) Data Link Layer 1-1

Lecture 9 The Data Link Layer part II. Antonio Cianfrani DIET Department Networking Group netlab.uniroma1.it

WiFi Networks: IEEE b Wireless LANs. Carey Williamson Department of Computer Science University of Calgary Winter 2018

ECE 4450:427/527 - Computer Networks Spring 2017

CSE 123: Computer Networks Alex C. Snoeren. HW 2 due Thursday 10/21!

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

standard. Acknowledgement: Slides borrowed from Richard Y. Yale

EE 122: Ethernet and

Data Link Protocols. TCP/IP Suite and OSI Reference Model. The TCP/IP protocol stack does not define the lower layers of a complete protocol stack

Links. CS125 - mylinks 1 1/22/14

King Fahd University of Petroleum and Minerals College of Computer Sciences and Engineering Department of Computer Engineering

Chapter 3. Underlying Technology. TCP/IP Protocol Suite 1 Copyright The McGraw-Hill Companies, Inc. Permission required for reproduction or display.

6.9 Summary. 11/20/2013 Wireless and Mobile Networks (SSL) 6-1. Characteristics of selected wireless link standards a, g point-to-point

Link Layer and LANs. Our Goals. Link Layer

CSC 4900 Computer Networks: Link Layer (2)

LAN Overview (part 2) Interconnecting LANs - Hubs

Wireless LANs. ITS 413 Internet Technologies and Applications

04/11/2011. Wireless LANs. CSE 3213 Fall November Overview

Computer Networks. Today. Principles of datalink layer services Multiple access links Adresavimas, ARP LANs Wireless LANs VU MIF CS 1/48 2/48

CSE 123A Computer Networks

Chapter 4. The Medium Access Control Sublayer. Points and Questions to Consider. Multiple Access Protocols. The Channel Allocation Problem.

Chapter 4. The Medium Access Control Sublayer

Data and Computer Communications. Chapter 13 Wireless LANs

CS 43: Computer Networks Switches and LANs. Kevin Webb Swarthmore College December 5, 2017

Chapter 6 Wireless and Mobile Networks

Link Layer and Ethernet

CS 43: Computer Networks Media Access. Kevin Webb Swarthmore College November 30, 2017

LAN Interconnection and Other Link Layer Protocols

CSE 461: Wireless Networks

Multiple Access Links and Protocols

CMPE 257: Wireless and Mobile Networking

CSCD 433 Network Programming Fall Lecture 7 Ethernet and Wireless

Link Layer and Ethernet

CSC 401 Data and Computer Communications Networks

Wireless Local Area Networks (WLANs)) and Wireless Sensor Networks (WSNs) Computer Networks: Wireless Networks 1

Medium Access Control

Topics for Today. More on Ethernet. Wireless LANs Readings. Topology and Wiring Switched Ethernet Fast Ethernet Gigabit Ethernet. 4.3 to 4.

Interface The exit interface a packet will take when destined for a specific network.

Wireless Local Area Networks. Networks: Wireless LANs 1

CMPE 150/L : Introduction to Computer Networks. Chen Qian Computer Engineering UCSC Baskin Engineering Lecture 18

ECE 158A: Lecture 13. Fall 2015

Chapter 5: The Data Link Layer last revised 24/11/03

Wireless and Mobile Networks 7-2

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

Data-link. Examples of protocols. Generating polynomials. Example. Error detection in TCP/IP. Multiple Access Links and Protocols

Computer Networks Medium Access Control. Mostafa Salehi Fall 2008

Data Communication & Networks G Session 5 - Main Theme Wireless Networks. Dr. Jean-Claude Franchitti

CSE 461: Multiple Access Networks. This Lecture

CS118 Discussion 1A, Week 9. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

Medium Access Control Sublayer Chapter 4

CS 43: Computer Networks. 27: Media Access Contd. December 3, 2018

CHAPTER 8: LAN Standards

Local Area Networks NETW 901

Data Link Protocols. TCP/IP Suite and OSI Reference Model

Overview : Computer Networking. Spectrum Use Comments. Spectrum Allocation in US Link layer challenges and WiFi WiFi

CMPE 257: Wireless and Mobile Networking

Nomadic Communications WLAN MAC Fundamentals

MULTIPLE ACCESS PROTOCOLS 2. 1

CIS 551 / TCOM 401 Computer and Network Security. Spring 2007 Lecture 8

More on LANS. LAN Wiring, Interface

Multiple Access in Cellular and Systems

ECE 4450:427/527 - Computer Networks Spring 2017

Chapter 5: The Data Link Layer. Chapter 5 Data Link Layer. Chapter 5 outline. Link Layer: Introduction

Transcription:

Hubs, Bridges, and Switches (oh my) Used for extending LANs in terms of geographical coverage, number of nodes, administration capabilities, etc. Differ in regards to: collision domain isolation layer at which they operate Different than routers plug and play don t provide optimal routing of IP packets 1 Hubs Physical Layer devices: essentially repeaters operating at bit levels: repeat received bits on one interface to all other interfaces Hubs can be arranged in a hierarchy (or multi-tier design), with a backbone hub at its top 2

Hubs (more) Each connected LAN is referred to as a LAN segment Hubs do not isolate collision domains: a node may collide with any node residing at any segment in the LAN Hub Advantages: Simple, inexpensive device Multi-tier provides graceful degradation: portions of the LAN continue to operate if one of the hubs malfunction Extends maximum distance between node pairs (100m per Hub) 3 Hubs (more) Hub Limitations: Single collision domain results in no increase in max throughput; the multi-tier throughput same as the the single segment throughput Individual LAN restrictions pose limits on the number of nodes in the same collision domain (thus, per Hub); and on the total allowed geographical coverage May not connect different Ethernet types (e.g., 10BaseT and 100baseT) 4

Bridges Link Layer devices: they operate on Ethernet frames, examining the frame header and selectively forwarding a frame base on its destination Bridge isolates collision domains since it buffers frames When a frame is to be forwarded on a segment, the bridge uses CSMA/CD to access the segment and transmit 5 Bridges (more) Bridge advantages: Isolates collision domains resulting in higher total max throughput, and does not limit the number of nodes nor geographical coverage Can connect different type Ethernet since it is a store and forward device Transparent: no need for any change to hosts LAN adapters 6

Backbone Bridge 7 Interconnection Without Backbone Not recommended for two reasons: - Single point of failure at Computer Science hub - All traffic between EE and SE must path over CS segment 8

Bridge Filtering Bridges learn which hosts can be reached through which interfaces and maintain filtering tables A filtering table entry: (Node LAN Address, Bridge Interface, Time Stamp) Filtering procedure: if destination is on LAN on which frame was received then drop the frame else { lookup filtering table } if entry found for destination then forward the frame on interface indicated; else flood; /* forward on all but the interface on which the frame arrived*/ 9 Bridge Learning When a frame is received, the bridge learns from the source address and updates its filtering table (Node LAN Address, Bridge Interface, Time Stamp) Stale entries in the Filtering Table are dropped (TTL can be 60 minutes) 10

Bridges Spanning Tree For increased reliability, it is desirable to have redundant, alternate paths from a source to a destination With multiple simultaneous paths however, cycles result on which bridges may multiply and forward a frame forever Solution is organizing the set of bridges in a spanning tree by disabling a subset of the interfaces in the bridges: Disabled 11 WWF Bridges vs. Routers Smackdown Both are store-and-forward devices, but Routers are Network Layer devices (examine network layer headers) and Bridges are Link Layer devices Routers maintain routing tables and implement routing algorithms, bridges maintain filtering tables and implement filtering, learning and spanning tree algorithms 12

Routers vs. Bridges Bridges + and - + Bridge operation is simpler requiring less processing bandwidth - Topologies are restricted with bridges: a spanning tree must be built to avoid cycles - Bridges do not offer protection from broadcast storms (endless broadcasting by a host will be forwarded by a bridge) 13 Routers vs. Bridges Routers + and - + Arbitrary topologies can be supported, cycling is limited by TTL counters (and good routing prots) + Provide firewall protection against broadcast storms - Require IP address configuration (not plug and play) - Require higher processing bandwidth Bridges do well in small (few hundred hosts) while routers are required in large networks (thousands of hosts) 14

Ethernet Switches A switch is a device that incorporates bridge functions as well as point-to-point dedicated connections A host attached to a switch via a dedicated pointto-point connection; will always sense the medium as idle; no collisions ever! Ethernet Switches provide a combinations of shared/dedicated, 10/100/1000 Mbps connections 15 Ethernet Some E-net switches support cut-through switching: frame forwarded immediately to destination without awaiting for assembly of the entire frame in the switch buffer; slight reduction in latency Ethernet switches vary in size, with the largest ones incorporating a high bandwidth interconnection network 16

Ethernet Switches (more) Dedicated Shared 17 IEEE 802.11 Wireless LAN Wireless LANs are becoming popular for mobile Internet access Applications: nomadic Internet access, portable computing, ad hoc networking (multihopping) IEEE 802.11 standards defines MAC protocol; unlicensed frequency spectrum bands: 900Mhz, 2.4Ghz Basic Service Sets + Access Points => Distribution System Like a bridged LAN (flat MAC address) 18

Ad Hoc Networks IEEE 802.11 stations can dynamically form a group without AP Ad Hoc Network: no pre-existing infrastructure Applications: laptop meeting in conference room, car, airport; interconnection of personal devices (see bluetooth.com); battelfield; pervasive computing (smart spaces) IETF MANET (Mobile Ad hoc Networks) working group 19 IEEE 802.11 MAC Protocol CSMA Protocol: - sense channel idle for DISF sec (Distributed Inter Frame Space) - transmit frame (no Collision Detection) - receiver returns ACK after SIFS (Short Inter Frame Space) -if channel sensed busy then binary backoff NAV: Network Allocation Vector (min time of deferral) 20

Hidden Terminal effect CSMA inefficient in presence of hidden terminals Hidden terminals: A and B cannot hear eachother because of obstacles or signal attenuation; so, their packets collide at B Solution? CSMA/CA CA = Collision Avoidance 21 Collision Avoidance: RTS-CTS exchange CTS freezes stations within range of receiver (but possibly hidden from transmitter); this prevents collisions by hidden station during data RTS and CTS are very short: collisions during data phase are thus very unlikely (the end result is similar to Collision Detection) Note: IEEE 802.11 allows CSMA, CSMA/CA and polling from AP 22

Point to Point protocol (PPP) Point to point, wired data link easier to manage than broadcast link: no Media Access Control Several Data Link Protocols: PPP, HDLC, SDLC, Alternating Bit protocol, etc PPP (Point to Point Protocol) is very popular: used in dial up connection between residential Host and ISP; on SONET/SDH connections, etc PPP is extremely simple (the simplest in the Data Link protocol family) and very streamlined 23 PPP Requirements Pkt framing: encapsulation of packets bit transparency: must carry any bit pattern in the data field error detection (no correction) multiple network layer protocols connection liveness Network Layer Address negotiation: Hosts/nodes across the link must learn/configure each other s network address 24

Not Provided by PPP error correction/recovery flow control sequencing multipoint links (e.g., polling) 25 PPP Data Frame Flag: delimiter (framing) Address: does nothing (only one option) Control: does nothing; in the future possible multiple control fields Protocol: upper layer to which frame must be delivered (eg, PPP-LCP, IP, IPCP, etc) 26

Byte Stuffing For data transparency, the data field must be allowed to include the pattern <01111110> ; ie, this must not be interpreted as a flag to alert the receiver, the transmitter stuffs an extra < 01111110> byte after each < 01111110> data byte the receiver discards each 01111110 followed by another 01111110, and continues data reception 27 PPP Data Control Protocol PPP-LCP establishes/releases the PPP connection; negotiates options Starts in DEAD state Options: max frame length; authentication protocol Once PPP link established, IPCP (Control Protocol) moves in (on top of PPP) to configure IP network addresses etc. 28