CS 5565 Network Architecture and Protocols Godmar Back Lecture 25.

Slides:



Advertisements
Similar presentations
5: DataLink Layer5-1 Chapter 5 Link Layer and LANs A note on the use of these ppt slides: Were making these slides freely available to all (faculty, students,
Advertisements

11-1 Last time □ Distance vector link cost changes ♦ Count-to-infinity, poisoned reverse □ Hierarchical routing ♦ Autonomous Systems ♦ Inter-AS, Intra-AS.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
5: DataLink Layer5-1 Asynchronous Transfer Mode: ATM r 1990’s/00 standard for high-speed (155Mbps to 622 Mbps and higher) Broadband Integrated Service.
Chapter 5 Link Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 23.
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.
Ethernet Switches r layer 2 (frame) forwarding, filtering using LAN addresses r Switching: A-to-B and A’- to-B’ simultaneously, no collisions r large number.
5: DataLink Layer5-1 Cerf & Kahn’s Internetwork Architecture What is virtualized? r two layers of addressing: internetwork and local network r new layer.
5: DataLink Layer ATM. Trouble compiling the project code on Ubuntu: r If you get the error: h_addr not a member of struct hostent In the file.
Link Layer & Physical Layer CPE 400 / 600 Computer Communication Networks Lecture 24.
1 ATM and MPLS ECS 152A. 2 Virtualization of networks Virtualization of resources: a powerful abstraction in systems engineering: r computing examples:
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
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.
5: DataLink Layer5-1 Chapter 5b Link Layer and LANs (for reference only) Computer Networking: A Top Down Approach 5 th edition. Jim Kurose, Keith Ross.
VLANs Port-based VLAN: switch ports grouped (by switch management software) so that single physical switch …… Switch(es) supporting VLAN capabilities can.
1 Interconnection ECS 152A. 2 Interconnecting with hubs r Backbone hub interconnects LAN segments r Extends max distance between nodes r But individual.
Computer Networks ATM and MPLS Professor Hui Zhang
PPP, ATM, MPLS EECS 489 Computer Networks Z. Morley Mao Monday March 12, 2007 Acknowledgement: Some slides.
HDLC and PPP. The Data Link Layer in the Internet A home personal computer acting as an internet host. Technology like Ethernet cannot provide “high-level”
Lecture 8 Modeling & Simulation of Communication Networks.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Link Layer data center.
Part 5: Link Layer Technologies CSE 3461: Introduction to Computer Networking Reading: Chapter 5, Kurose and Ross 1.
3-1 Last time □ Finished introduction and overview: ♦ Network access and physical media ♦ Internet structure and ISPs ♦ Delay & loss in packet-switched.
Chapter 5 Link Layer and LANs
Chapter 5 outline 5.1 Introduction and services
Introduction 1 Lecture 26 Link Layer (PPP, Virtualization) slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science &
Data Link Layer5-1 Review of MAC protocols channel partitioning, by time, frequency or code – Time Division, Frequency Division random access (dynamic),
Link Layer 5.1 Introduction and services
Asynchronous Transfer Mode: ATM r 1980s/1990’s standard for high-speed (155Mbps to 622 Mbps and higher) Broadband Integrated Service Digital Network architecture.
5: DataLink Layer5-1 VLANs. 5: DataLink Layer5-2 Introduction r Need to have different broadcast domains on the same physical network r E.g. Consider.
Chapter 5: The Data Link Layer
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
A day in the life: scenario
Link Layer 5-1 Link layer, LAN s: outline 5.1 introduction, services 5.2 error detection, correction 5.3 multiple access protocols 5.4 LANs  addressing,
1 John Magee 11 July 2013 CS 101 Lecture 11: How do you “visit” a web page, revisted Slides adapted from Kurose and Ross, Computer Networking 5/e Source.
7-1 Last time □ Wireless link-layer ♦ Introduction Wireless hosts, base stations, wireless links ♦ Characteristics of wireless links Signal strength, interference,
1 CSE3213 Computer Network I Network Layer (7.1, 7.3, ) Course page: Slides modified from Alberto Leon-Garcia.
ATM r ATM (Asynchronous Transfer Mode) is the switching and transport technology of the B-ISDN (Broadband ISDN) architecture (1980) r Goals: high speed.
5: Link Layer Part 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.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
Link Layer5-1 Synthesis: a day in the life of a web request  journey down protocol stack complete!  application, transport, network, link  putting-it-all-together:
CSCI 3335: C OMPUTER N ETWORKS A DAY IN THE LIFE OF A WEB REQUEST Vamsi Paruchuri University of Central Arkansas
Ethernet Switches r layer 2 (frame) forwarding, filtering using LAN addresses r Switching: A-to-B and A’- to-B’ simultaneously, no collisions r large number.
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.
5: DataLink Layer5-1 Point to Point Data Link Control r one sender, one receiver, one link: easier than broadcast link: m no Media Access Control m no.
Ethernet Switches r layer 2 (frame) forwarding, filtering using LAN addresses r Switching: A-to-B and A’- to-B’ simultaneously, no collisions r large number.
Link Layer5-1 Synthesis: a “day” in the life of a web request  journey down protocol stack!  application, transport, network, link  putting-it-all-together:
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.
Chapter 5 Link Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of these.
Chapter 5 Link Layer and LAN Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 A note on the use of.
Virtual-Circuit Switching: ATM (Asynchronous Transmission Mode) and MPLS (Multiprotocol Label Switching)
5: DataLink Layer5-1 Virtualization of networks Virtualization of resources: powerful abstraction in systems engineering: r computing examples: virtual.
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.
Chapter 7 Application Layer 1 Some of the slides in this chapter are courtesy of Profs. Kurose/Ross and others.
CS 457 – Lecture 3 Link Layer Protocols Fall 2011.
Virtualization of networks
Chapter 5 Link Layer and LANs
CS 5565 Network Architecture and Protocols
A Typical Connection Scenario
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
CS 280: Summary: A day in the life of a web request
Course Review 2015 Computer networks 赵振刚
Part 5: Link Layer Technologies
Hubs Hubs are essentially physical-layer repeaters:
Point to Point Data Link Control
Hubs Hubs are essentially physical-layer repeaters:
Chapter 6 The Data Link layer
Chapters 1~5 Overview Computer Networking: A Top Down Approach 6th edition Jim Kurose, Keith Ross Addison-Wesley Prof. Hong Liu for ECE369 Adapted from.
Instructor Mazhar Hussain
Synthesis A day in the life of a web request
Presentation transcript:

CS 5565 Network Architecture and Protocols Godmar Back Lecture 25

Announcements Project 4 due in 2 parts: –Apr 25 and May 2 –Please observe posted timeouts! CS 5565 Spring 2012

PPP CS 5565 Spring 2012

Point to Point Data Link Control one sender, one receiver, one link: easier than broadcast link: –no Media Access Control –no need for explicit MAC addressing –e.g., dialup link, ISDN line popular point-to-point DLC protocols: –PPP (point-to-point protocol) –HDLC: High level data link control (Data link used to be considered “high layer” in protocol stack!)

CS 5565 Spring 2012 PPP Design Requirements [RFC 1547]RFC 1547 simplicity: reflected in non-requirements packet framing: encapsulation of network-layer datagram in data link frame –carry network layer data of any network layer protocol (not just IP) at same time –ability to demultiplex upwards bit transparency: must carry any bit pattern in the data field error detection (no correction) connection liveness: detect, signal link failure to network layer network layer address negotiation: endpoint can learn/configure each other’s network address

CS 5565 Spring 2012 PPP non-requirements no error correction/recovery no flow control out of order delivery OK no need to support multipoint links (e.g., polling) Error recovery, flow control, data re-ordering all relegated to higher layers!

CS 5565 Spring 2012 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 protocol to which frame delivered (eg, PPP-LCP, IP, IPCP, etc) Info: upper layer data being carried Check: cyclic redundancy check for error detection

CS 5565 Spring 2012 Byte Stuffing flag byte pattern in data to send flag byte pattern plus stuffed byte in transmitted data

CS 5565 Spring 2012 PPP Data Control Protocol Before exchanging network-layer data, data link peers must –configure PPP link (max. frame length, authentication) (see next slide) –learn/configure network layer information –for IP: carry IP Control Protocol (IPCP) msgs (protocol field: 8021) to configure/learn IP address

CS 5565 Spring 2012 PPP Link Control Protocol States

ATM & MPLS CS 5565 Spring 2012

ATM and MPLS ATM, MPLS separate networks in their own right –different service models, addressing, routing from Internet –of technical interest in their own right Viewed by Internet as logical link connecting IP routers –just like dialup link is really part of separate network (telephone network)

CS 5565 Spring 2012 Asynchronous Transfer Mode: ATM 1990’s/00 standard for high-speed (155Mbps to 622 Mbps and higher) Broadband Integrated Service Digital Network architecture Goal: integrated, end-end transport of carry voice, video, data –meeting timing/QoS requirements of voice, video (versus Internet best-effort model) –“next generation” telephony: technical roots in telephone world –packet-switching (fixed length packets, called “cells”) using virtual circuits

CS 5565 Spring 2012 ATM Architecture adaptation layer: only at edge of ATM network –data segmentation/reassembly –roughly analogous to Internet transport layer ATM layer: “network” layer –cell switching, routing physical layer

CS 5565 Spring 2012 ATM Reference Model: 3D View

CS 5565 Spring 2012 ATM Adaptation Layer (AAL) ATM Adaptation Layer (AAL): “adapts” upper layers (IP or native ATM applications) to ATM layer below AAL present only in end systems, not in switches AAL layer segment (header/trailer fields, data) fragmented across multiple ATM cells –analogy: TCP segment in many IP packets

CS 5565 Spring 2012 ATM Adaptation Layer (AAL) [more] Different versions of AAL layers, depending on ATM service class: AAL1: for CBR (Constant Bit Rate) services, e.g. circuit emulation AAL2: for VBR (Variable Bit Rate) services, e.g., MPEG video AAL5: for data (e.g., IP datagrams) AAL PDU ATM cell User data

CS 5565 Spring 2012 ATM Layer: Virtual Circuits VC transport: cells carried on VC from source to dest –call setup, teardown for each call before data can flow –each packet carries VC identifier (not destination ID) –every switch on source-dest path maintain “state” for each passing connection –link,switch resources (bandwidth, buffers) may be allocated to VC: to get circuit-like performance Permanent VCs (PVCs) –long lasting connections –typically: “permanent” route between to IP routers Switched VCs (SVCs): –dynamically set up on per-call basis

CS 5565 Spring 2012 ATM VCs Advantages of ATM VC approach: –QoS performance guarantee for connection mapped to VC (bandwidth, delay, delay jitter) Drawbacks of ATM VC approach: –Inefficient support of datagram traffic “cell-tax” –one PVC between each source/dest pair does not scale (N^2 connections needed) –SVC introduces call setup latency, processing overhead for short lived connections

CS 5565 Spring 2012 ATM Layer: ATM cell 5-byte ATM cell header 48-byte payload –small payload -> short cell-creation delay for digitized voice –halfway between 32 and 64 (compromise!) Cell header Cell format

CS 5565 Spring 2012 ATM Cell Header VCI: virtual channel ID –will change from link to link thru net PT: Payload type (e.g. RM cell versus data cell) CLP: Cell Loss Priority bit –CLP = 1 implies low priority cell, can be discarded if congestion HEC: Header Error Checksum –cyclic redundancy check

CS 5565 Spring 2012 ATM Physical Layer (more) Two pieces (sublayers) of physical layer: Transmission Convergence Sublayer (TCS): –adapts ATM layer above to PMD sublayer below –TCS Functions: Header Checksum generation: 8 bits CRC Cell delineation Physical Medium Dependent (PMD)

CS 5565 Spring 2012 ATM Physical Layer Physical Medium Dependent (PMD) Sublayer Examples: SONET/SDH: transmission frame structure (like a container carrying bits) –bit synchronization –bandwidth partitions (TDM) –several speeds T1/T3: transmission frame structure (old telephone hierarchy): 1.5 Mbps/45 Mbps

CS 5565 Spring 2012 SONET/SDH Speeds

CS 5565 Spring 2012 ATM: where does it fit in? Vision: end-to-end transport: “ATM from desktop to desktop” –ATM is a network technology Reality: used to connect IP backbone routers –“IP over ATM” –ATM as switched link layer, connecting IP routers –NB: ATM can also connect other networks ATM network IP network

CS 5565 Spring 2012 IP-Over-ATM Classic IP only 3 “networks” (e.g., LAN segments) MAC (802.3) and IP addresses IP over ATM replace “network” (e.g., LAN segment) with ATM network ATM addresses, IP addresses –ARP for ATM Ethernet LANs ATM network Ethernet LANs

CS 5565 Spring 2012 IP-Over-ATM (2) AAL ATM phy Eth IP ATM phy ATM phy app transport IP AAL ATM phy app transport IP Eth phy

CS 5565 Spring 2012 Multi-Protocol Label Switching (MPLS) initial goal: speed up IP forwarding by using fixed length label (instead of IP address) to do forwarding –borrowing ideas from Virtual Circuit (VC) approach –but IP datagram still keeps IP address! today’s use: –traffic engineering –VPNs (Virtual Private Networks) PPP or Ethernet header IP header remainder of link-layer frame MPLS header label Exp S TTL

CS 5565 Spring 2012 MPLS Capable Routers a.k.a. label-switched router groups packets in FEC (forwarding equivalence classes), assign labels to FECs forwards packets to outgoing interface based only on label value (don’t inspect IP address) –MPLS forwarding table distinct from IP forwarding tables signaling protocol needed to set up forwarding –RSVP-TE –forwarding possible along paths that IP alone would not allow (e.g., source-specific routing) can be stacked, multiple MPLS labels must co-exist with IP-only routers (at edges)

CS 5565 Spring 2012 R1 R2 D R3 R4 R A R6 in out out label label dest interface 6 - A 0 in out out label label dest interface 10 6 A D 0 in out out label label dest interface 10 A 0 12 D 0 1 in out out label label dest interface 8 6 A A 1 MPLS forwarding tables

A brief look back to history CS 5565 Spring 2012

The Internet: Virtualizing Networks 1974: multiple unconnected nets –ARPAnet –data-over-cable networks –packet satellite network (Aloha) –packet radio network … differing in: –addressing conventions –packet formats –error recovery –routing ARPAnet satellite net "A Protocol for Packet Network Intercommunication", V. Cerf, R. Kahn, IEEE Transactions on Communications, May, 1974, pp

CS 5565 Spring 2012 Cerf & Kahn’s Vision: An Internetwork Architecture What is virtualized? two layers of addressing: internetwork and local network new layer (IP) makes everything homogeneous at internetwork layer underlying local network technology –cable –satellite –56K telephone modem –today: ATM, MPLS … “invisible” at internetwork layer. Looks like a link layer technology to IP!

CS 5565 Spring 2012 The Internet: Virtualizing Networks ARPAnet satellite net gateway Internetwork layer (IP): addressing: internetwork appears as a single, uniform entity, despite underlying local network heterogeneity network of networks Gateway: “embed internetwork packets in local packet format or extract them” route (at internetwork level) to next gateway

CS 5565 Spring 2012 Summary principles behind data link layer services: –error detection, correction –sharing a broadcast channel: multiple access –link layer addressing instantiation and implementation of various link layer technologies –Ethernet, switched LANS, Interconnecting LANs –Point-to-Point Protocols: HDLC, PPP –virtualized networks as a link layer: ATM, MPLS

Synthesis: a day in the life of a web request journey down protocol stack complete! –application, transport, network, link putting-it-all-together: synthesis! –goal: identify, review, understand protocols (at all layers) involved in seemingly simple scenario: requesting www page –scenario: student attaches laptop to campus network, requests/receives CS 5565 Spring 2012

A day in the life: scenario CS 5565 Spring 2012 Comcast network /13 Google’s network / web server DNS server school network /24 browser web page

CS 5565 Spring 2012 A day in the life… connecting to the Internet connecting laptop needs to get its own IP address, addr of first-hop router, addr of DNS server: use DHCP router (runs DHCP) DHCP UDP IP Eth Phy DHCP UDP IP Eth Phy DHCP  DHCP request encapsulated in UDP, encapsulated in IP, encapsulated in Ethernet  Ethernet frame broadcast (dest: FFFFFFFFFFFF ) on LAN, received at router running DHCP server  Ethernet demuxed to IP demuxed, UDP demuxed to DHCP

CS 5565 Spring 2012 A day in the life… connecting to the Internet DHCP server formulates DHCP ACK containing client’s IP address, IP address of first-hop router for client, name & IP address of DNS server router (runs DHCP) DHCP UDP IP Eth Phy DHCP UDP IP Eth Phy DHCP  encapsulation at DHCP server, frame forwarded (switch learning) through LAN, demultiplexing at client Client now has IP address, knows name & addr of DNS server, IP address of its first-hop router  DHCP client receives DHCP ACK reply

CS 5565 Spring 2012 A day in the life… ARP (before DNS, before HTTP) before sending HTTP request, need IP address of DNS DNS UDP IP Eth Phy DNS  DNS query created, encapsulated in UDP, encapsulated in IP, encapsulated in Eth. In order to send frame to router, need MAC address of router interface: ARP  ARP query broadcast, received by router, which replies with ARP reply giving MAC address of router interface  client now knows MAC address of first hop router, so can now send frame containing DNS query ARP query Eth Phy ARP ARP reply

CS 5565 Spring 2012 A day in the life… using DNS DNS UDP IP Eth Phy DNS  IP datagram containing DNS query forwarded via LAN switch from client to 1 st hop router  IP datagram forwarded from campus network into comcast network, routed (tables created by RIP, OSPF, IS-IS and/or BGP routing protocols) to DNS server  demuxed to DNS server  DNS server replies to client with IP address of Comcast network /13 DNS server DNS UDP IP Eth Phy DNS

CS 5565 Spring 2012 A day in the life… TCP connection carrying HTTP HTTP TCP IP Eth Phy HTTP  to send HTTP request, client first opens TCP socket to web server  TCP SYN segment (step 1 in 3-way handshake) inter- domain routed to web server  TCP connection established! web server SYN TCP IP Eth Phy SYN SYNACK  web server responds with TCP SYNACK (step 2 in 3- way handshake)

CS 5565 Spring 2012 A day in the life… HTTP request/reply HTTP TCP IP Eth Phy HTTP  HTTP request sent into TCP socket  IP datagram containing HTTP request routed to  IP datagram containing HTTP reply routed back to client web server HTTP TCP IP Eth Phy  web server responds with HTTP reply (containing web page) HTTP  web page finally (!!!) displayed