LAN Interconnection and Other Link Layer Protocols

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

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

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

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

Principles behind data link layer services

Principles behind data link layer services:

Principles behind data link layer services:

Summary of MAC protocols

Medium Access Protocols

Wireless Network and Mobility

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

CSC 401 Data and Computer Communications Networks

Principles behind data link layer services:

CSC 4900 Computer Networks: Link Layer (2)

Lecture 7. Network Layer. Network Layer 1-1

Chapter 5 Link Layer and LANs

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

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

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

Addressing: when mobile is moving around. Mobile Registration. Principles of Mobile Routing. Mobility via Indirect Routing

Communication Networks ( ) / Spring 2011 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

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

Computer Networks. General Course Information. Addressing and Routing. Computer Networks 9/8/2009. Basic Building Blocks for Computer Networks

Switching & ARP Week 3

Transport Layer Overview

Internet Architecture. Network Layer Overview. Fundamental Network Layer Function. Protocol Layering and Data. Computer Networks 9/23/2009

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

CS 3516: Advanced Computer Networks

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

HW3 and Quiz. P14, P24, P26, P27, P28, P31, P37, P43, P46, P55, due at 3:00pm with both soft and hard copies, 11/11/2013 (Monday) TCP), 20 mins

Reminder: Datalink Functions Computer Networking. Datalink Architectures

The Link Layer and LANs: Ethernet and Swiches

EPL606. Internetworking. Part 2a. 1Network Layer

CS 455/555 Intro to Networks and Communications. Link Layer Addressing, Ethernet, and a Day in the Life of a Web Request

ECE 4450:427/527 - Computer Networks Spring 2017

Internetworking Part 1

of-service Support on the Internet

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

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

CSCI Computer Networks

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Chapter 5 Link Layer and LANs

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

Congestion Control. Principles of Congestion Control. Network-assisted Congestion Control: ATM. Congestion Control. Computer Networks 10/21/2009

Computer Networks. Wenzhong Li. Nanjing University

More on LANS. LAN Wiring, Interface

Link Layer and LANs. Our Goals. Link Layer

Communication Networks ( ) / Fall 2013 The Blavatnik School of Computer Science, Tel-Aviv University. Allon Wagner

Congestion Control. Principles of Congestion Control. Network assisted congestion. Asynchronous Transfer Mode. Computer Networks 10/23/2013

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

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

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

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

LAN Overview (part 2) Interconnecting LANs - Hubs

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

EECS Introduction to Computer Networking. Local Area Networks / Ethernet. Hub

Data Link Layer Overview

Data Link Layer Overview

Link Layer: CSMA/CD, MAC addresses, ARP

CSCD 330 Network Programming Spring 2017

Link layer: introduction

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

CompSci 356: Computer Network Architectures. Lecture 7: Switching technologies Chapter 3.1. Xiaowei Yang

CSCI-1680 Link Layer Wrap-Up Rodrigo Fonseca

Data Link Layer Overview

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

Underlying Technologies -Continued-

Data Link Layer Overview

Hubs, Bridges, and Switches (oh my) Hubs

TCOM 370 NOTES 99-1 NETWORKING AND COMMUNICATIONS

ECE 158A: Lecture 13. Fall 2015

ECPE / COMP 177 Fall Some slides from Kurose and Ross, Computer Networking, 5 th Edition

Announcements. CS 5565 Network Architecture and Protocols. Ethernet. Ethernet. Ethernet Model. Ideal Multiple Access Protocol

ECE 333: Introduction to Communication Networks Fall Lecture 19: Medium Access Control VII

Link Layer and Ethernet

Outline: Connecting Many Computers

Link Layer and Ethernet

Computer Networks. Instructor: Niklas Carlsson

Lecture 20: Link Layer

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

COMP 361 Computer Communications Networks. Fall Semester Final Examination: Solution key

Network Superhighway CSCD 330. Network Programming Winter Lecture 13 Network Layer. Reading: Chapter 4

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

Last time. Wireless link-layer. Introduction. Characteristics of wireless links wireless LANs networking. Cellular Internet access

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

Lecture 1 Overview - Data Communications, Data Networks, and the Internet

CSCI 466 Midterm Networks Fall 2011

CSCI 466 Midterm Networks Fall 2011

CSCD 330 Network Programming Winter 2016

Chapter 4 Network Layer

Computer Networking Lecture 5 Data link Layer Access Control. Based on slides by Peter Steenkiste Copyright, Carnegie Mellon

(Network Programming) Basic Networking Hardware

Chapter 4 NETWORK HARDWARE

7010INT Data Communications Lecture 7 The Network Layer

Some portions courtesy Srini Seshan or David Wetherall

Virtual Link Layer : Fundamentals of Computer Networks Bill Nace

Chapter 6 Connecting Device

Virtual University of Pakistan. Describe the Hidden Node and Exposed Node problems in Standard? VUSR. [Larry L. Peterson]

Computer Network Fundamentals Spring Week 3 MAC Layer Andreas Terzis

L1: Introduction. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Transcription:

LAN Interconnection and Other Link Layer Protocols Ethernet dominant link layer technology for local-area networks Ethernet frame structure Kai Shen Dept. of Computer Science, University of Rochester Ethernet multiple access control CSMA/CD exponential back-off its efficiency Kept up with speed race: 10, 100, 1000 Mbps 9/20/2004 CSC 257/457 - Fall 2004 1 9/20/2004 CSC 257/457 - Fall 2004 2 Local Address Network How does ARP work? LAN (or MAC, link-layer) address: uniquely identifying each node (or adapter) connected to a shared link Address resolution protocol: translate IP addresses to MAC addresses plug-and-play A wants to send datagram to B with an IP address. Suppose B s MAC address is not in A s ARP table. A broadcasts ARP query packet, containing B's IP address. B receives ARP packet, replies to A with its (B's) MAC address. A caches (saves) IP-to-MAC address pair in its ARP table until it times out why? ARP is plug-and-play : nodes create their ARP tables without manual intervention Go to any Linx machine at the lab: /sbin/arp shows the current ARP table; ping any node not in the table, then see the ARP table again. 9/20/2004 CSC 257/457 - Fall 2004 3 9/20/2004 CSC 257/457 - Fall 2004 4 CSC 257/457 - Fall 2004 1

Interconnecting LAN nodes Interconnecting with Hubs Hubs: physical-layer signal repeaters. Bridges: understands link-layer protocol (Ethernet), smarter than hubs es: essentially bridges with large number of ports. Repeat signal on all outgoing links; no frame buffering Problems: Individual segment collision domains become one large collision domain Can t interconnect 10BaseT & 100BaseT Physical-layer device 9/20/2004 CSC 257/457 - Fall 2004 5 9/20/2004 CSC 257/457 - Fall 2004 6 Bridges Link layer device stores and forwards Ethernet frames examines frame header and selectively forwards frame based on dest. MAC address when frame is to be forwarded on segment, uses CSMA/CD to access segment Self Learning A bridge has a bridge table each entry: (Node LAN address, bridge interface, timetamp) stale entries in table dropped (Time-To-Live can be 60 min) bridges learn which host is connected through which interface when frame received, bridge learns location of sender: incoming records sender/location pair in bridge table How to determine to which LAN segment to forward frame? 9/20/2004 CSC 257/457 - Fall 2004 7 9/20/2004 CSC 257/457 - Fall 2004 8 CSC 257/457 - Fall 2004 2

Bridge Example Bridge receives frame from C destined to D bridge learns C is on interface 1 because D is not in table, bridge floods Another frame from C to D? Frame received by D, then a reply is sent back to C bridge learns D is on interface 2 in bridge table C is on interface 1, so bridge selectively forwards frame to interface 1 9/20/2004 CSC 257/457 - Fall 2004 9 Bridges: Traffic Isolation Bridge understands and participates in CSMA/CD Bridge installation breaks LAN into s bridges filter packets: same-lan-segment frames not usually forwarded onto other s segments become separate collision domains collision domain bridge LAN (IP network) collision domain = hub = host 9/20/2004 CSC 257/457 - Fall 2004 10 Interconnection with Bridges: which is better? Important Bridge Features Transparent ( plug-and-play ): no configuration necessary Isolates collision domains resulting in higher total max throughput 9/20/2004 CSC 257/457 - Fall 2004 11 buffering allow links of different speed on a single bridge: 10/100/1000 Mbps interfaces 9/20/2004 CSC 257/457 - Fall 2004 12 CSC 257/457 - Fall 2004 3

Ethernet es Ethernet es (cont.) essentially a bridge with a large number ports so many ports that each host can connect to one After self-learning A-to-A and B-to-B simultaneously, no collisions Ethernet, but a shared link with dedicated channel to every node, no collisions! 9/20/2004 CSC 257/457 - Fall 2004 13 switch allows simultaneous traffic at full link speed even if each link can operate at full speed, congestion can still occur forwarding technologies: stop and forward: frame is completely buffered before forwarded to the next hop cut-through switching: frame forwarded from input to output port without awaiting 9/20/2004 CSC 257/457 - Fall 2004 14 Interconnection Summary Comparison Hubs little more than a physical-layer signal repeater, no traffic isolation Bridges understands link-layer protocol (Ethernet), supports smarter forwarding, traffic isolation supports Ethernets of different types es essentially bridges with large number of ports cut-through features no collision, but congestion is possible at individual links widespread usage today! 9/20/2004 CSC 257/457 - Fall 2004 15 9/20/2004 CSC 257/457 - Fall 2004 16 CSC 257/457 - Fall 2004 4

PPP (point-to-point protocol) one sender, one receiver, one link: no Media Access Control no need for explicit MAC addressing simpler than broadcast link deployed in dialup link and ISDN over telephone lines long-haul fiber-optics SONET links Media Access Control in Wireless LAN -- IEEE 802.11 Collision if 2 or more nodes transmit at same time MAC efficiency goal: get all the bandwidth if you re the only one transmitting share the bandwidth fairly if multiple nodes transmit Can we use CSMA/CD? Carrier sense and collision detection don t work: hidden terminal problem 9/20/2004 CSC 257/457 - Fall 2004 17 9/20/2004 CSC 257/457 - Fall 2004 18 Other Link Layer Protocols Disclaimer ATM (asynchronous transfer mode) a multilayer network architecture at its own, based on circuit switching mainly designed for supporting real-time multimedia, with connection-oriented resource reservation deemed as link layer protocols in Internet architecture IP over ATM Frame relay Like ATM, a network architecture at its own connection-oriented resource reservation origins in telephony world can be used to carry IP datagrams IP over ATM Parts of the lecture slides contain original work of James Kurose, Larry Peterson, and Keith Ross. The slides are intended for the sole purpose of instruction of computer networks at the University of Rochester. All copyrighted materials belong to their original owner(s). 9/20/2004 CSC 257/457 - Fall 2004 19 9/20/2004 CSC 257/457 - Fall 2004 20 CSC 257/457 - Fall 2004 5