15 - Switching, Tunnels, VPN

Slides:



Advertisements
Similar presentations
Internetworking II: MPLS, Security, and Traffic Engineering
Advertisements

Internet Routing (COS 598A) Today: Multi-Protocol Label Switching Jennifer Rexford Tuesdays/Thursdays.
CPSC Network Layer4-1 IP addresses: how to get one? Q: How does a host get IP address? r hard-coded by system admin in a file m Windows: control-panel->network->configuration-
Transitioning to IPv6 April 15,2005 Presented By: Richard Moore PBS Enterprise Technology.
20.1 Chapter 20 Network Layer: Internet Protocol Copyright © The McGraw-Hill Companies, Inc. Permission required for reproduction or display.
Packet Switching COM1337/3501 Textbook: Computer Networks: A Systems Approach, L. Peterson, B. Davie, Morgan Kaufmann Chapter 3.
ATM Asynchronous Transfer Mode. ATM Networks Use optical fibre similar to that used for FDDI networks ATM runs on network hardware called SONET ATM cells.
UNIT-IV Computer Network Network Layer. Network Layer Prepared by - ROHIT KOSHTA In the seven-layer OSI model of computer networking, the network layer.
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.
1 Lecture 13 Virtual Circuits, ATM Networking, Fall 2007 These slides swiped, with pride, from Dave Anderson, Spring 2006.
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.
Chapter 4 Network Layer slides are modified from J. Kurose & K. Ross CPE 400 / 600 Computer Communication Networks Lecture 14.
ATM Networks An Engineering Approach to Computer Networking.
10 - Network Layer. Network layer r transport segment from sending to receiving host r on sending side encapsulates segments into datagrams r on rcving.
1 EE 400 Asynchronous Transfer Mode (ATM) Abdullah AL-Harthi.
Computer Networking Lecture 13: Virtual Circuits, ATM, MPLS.
1 Lecture 8 Virtual Circuits, ATM, MPLS David Andersen School of Computer Science Carnegie Mellon University Networking, Spring 2005
1 Network Layer: Host-to-Host Communication. 2 Network Layer: Motivation Can we built a global network such as Internet by extending LAN segments using.
Asynchronous Transfer Mode (ATM). ATM By the mid 1980s, three types of communication networks had evolved. The telephone network carries voice calls,
EE 4272Spring, 2003 Chapter 11. ATM and Frame Relay Overview of ATM Protocol Architecture ATM Logical Connections ATM Cells ATM Service Categories ATM.
Chapter 9 Classification And Forwarding. Outline.
COS 420 Day 16. Agenda Assignment 3 Corrected Poor results 1 C and 2 Ds Spring Break?? Assignment 4 Posted Chap Due April 6 Individual Project Presentations.
IP-UDP-RTP Computer Networking (In Chap 3, 4, 7) 건국대학교 인터넷미디어공학부 임 창 훈.
1 Multi-Protocol Label Switching (MPLS) presented by: chitralekha tamrakar (B.S.E.) divya krit tamrakar (B.S.E.) Rashmi shrivastava(B.S.E.) prakriti.
Data Communications and Networks Chapter 2 - Network Technologies - Circuit and Packet Switching Data Communications and Network.
Fall 2006Computer Networks19-1 Chapter 19. Host-to-Host Delivery: Internetworking, Addressing, and Routing 19.1 Internetworks 19.2 Addressing 19.3 Routing.
11-01-K.Steenhaut & J.Tiberghien - VUB 1 Telecommunications Concepts Chapter 4.2 IPv4 and Other Networks.
1 Multi Protocol Label Switching Presented by: Petros Ioannou Dept. of Electrical and Computer Engineering, UCY.
Chapter 18. Virtual-Circuit Networks: Frame Relay and ATM
End-to-end resource management in DiffServ Networks –DiffServ focuses on singal domain –Users want end-to-end services –No consensus at this time –Two.
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.
Network Layer4-1 Chapter 4: Network Layer Chapter goals: r understand principles behind network layer services: m network layer service models m forwarding.
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.
Chapter 4 Network Layer Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 Network Layer introduction.
Chapter 4 Network 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.
Fall 2005Computer Networks20-1 Chapter 20. Network Layer Protocols: ARP, IPv4, ICMPv4, IPv6, and ICMPv ARP 20.2 IP 20.3 ICMP 20.4 IPv6.
Internet Protocol ECS 152B Ref: slides by J. Kurose and K. Ross.
Chapter 14 Connection-Oriented Networking and ATM
CS 453 Computer Networks Lecture 18 Introduction to Layer 3 Network Layer.
Internetworking Internet: A network among networks, or a network of networks Allows accommodation of multiple network technologies Universal Service Routers.
ATM Technologies. Asynchronous Transfer Mode (ATM) Designed by phone companies Single technology meant to handle –Voice –Video –Data Intended as LAN or.
MPLS and VPNs (David Andersen) (Nick Feamster) February 18, 2008.
BZUPAGES.COM Presentation On SWITCHING TECHNIQUE Presented To; Sir Taimoor Presented By; Beenish Jahangir 07_04 Uzma Noreen 07_08 Tayyaba Jahangir 07_33.
Forwarding.
Unit III Bandwidth Utilization: Multiplexing and Spectrum Spreading In practical life the bandwidth available of links is limited. The proper utilization.
Department of Computer and IT Engineering University of Kurdistan
WAN – Packet and Cell-switched Networks
1 IEX8175 RF Electronics Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Univ. of TehranComputer Network1 Advanced topics in Computer Networks University of Tehran Dept. of EE and Computer Engineering By: Dr. Nasser Yazdani.
Computer Networking ATM and Label Switching.
1 Switching and Forwarding Sections Connecting More Than Two Hosts Multi-access link: Ethernet, wireless –Single physical link, shared by multiple.
Virtual Circuit Networks Frame Relays. Background Frame Relay is a Virtual Circuit WAN that was designed in late 80s and early 90s. Prior to Frame Relays.
Multi-protocol Label Switching
Computer Networks 0110-IP Gergely Windisch
Multi-protocol Label Switching (MPLS) RFC 3031 MPLS provides new capabilities: QoS support Traffic engineering VPN Multiprotocol support.
The Network Layer Role Services Main Functions Standard Functions
Chapter 3 Part 3 Switching and Bridging
Advanced Computer Networks
Chapter 3: Packet Switching (overview)
EE 122: Lecture 19 (Asynchronous Transfer Mode - ATM)
3. Internetworking (part 1)
CS4470 Computer Networking Protocols
Lecture 8 Virtual Circuits, ATM, MPLS
Chapter 3 Part 3 Switching and Bridging
Chapter 4-1 Network layer
CS 457 – Lecture 10 Internetworking and IP
Chapter 3 Part 3 Switching and Bridging
DHCP: Dynamic Host Configuration Protocol
Presentation transcript:

15 - Switching, Tunnels, VPN 15-441 Computer Networking 15 - Switching, Tunnels, VPN Based on slides from Peter Steenkiste and David Anderson

Overview Circuit switching refresher Virtual Circuits - general Why virtual circuits? How virtual circuits? -- tag switching! Two modern implementations ATM - telco-style virtual circuits MPLS - IP-style virtual circuits Tunneling VPN 2

Packet Switching Source sends information as self-contained packets that have an address. Source may have to break up single message in multiple Each packet travels independently to the destination host. Routers and switches use the address in the packet to determine how to forward the packets Destination recreates the message. Analogy: a letter in surface mail.

Circuit Switching Source first establishes a connection (circuit) to the destination. Each router or switch along the way may reserve some bandwidth for the data flow Source sends the data over the circuit. No need to include the destination address with the data since the routers know the path The connection is torn down. Example: telephone network.

Circuit Switching Discussion Consider traditional circuits: on each hop, the circuit has a dedicated wire or slice of bandwidth. Physical connection - clearly no need to include addresses with the data Advantages, relative to packet switching: Implies guaranteed bandwidth, predictable performance Simple switch design: only remembers connection information, no longest-prefix destination address look up Disadvantages: Inefficient for bursty traffic (wastes bandwidth) Delay associated with establishing a circuit Can we get the advantages without (all) the disadvantages?

Virtual Circuits Each wire carries many “virtual” circuits. Forwarding based on virtual circuit (VC) identifier IP header: src, dst, etc. Virtual circuit header: just a small index number A path through the network is determined for each VC when the VC is established Use statistical multiplexing for efficiency Can support wide range of quality of service. No guarantees: best effort service Weak guarantees: delay < 300 msec, … Strong guarantees: e.g. equivalent of physical circuit

Packet Switching and Virtual Circuits: Similarities “Store and forward” communication based on an address. Address is either the destination address or a VC identifier Must have buffer space to temporarily store packets. E.g. multiple packets for some destination arrive simultaneously Multiplexing on a link is similar to time sharing. No reservations: multiplexing is statistical, i.e. packets are interleaved without a fixed pattern Reservations: some flows are guaranteed to get a certain number of “slots” D B C B A A

Virtual Circuits Versus Packet Switching Circuit switching: Uses short connection identifiers to forward packets Switches know about the connections so they can more easily implement features such as quality of service Virtual circuits form basis for traffic engineering: VC identifies long-lived stream of data that can be scheduled Packet switching: Use full destination addresses for forwarding packets Can send data right away: no need to establish a connection first Switches are stateless: easier to recover from failures Adding QoS is hard Traffic engineering is hard: too many packets!

Packet switched vs. VC Payload Payload R1 packet forwarding table: VCI Dst Payload Payload R1 packet forwarding table: Dst R2 1 3 A R2 2 1 3 4 1 3 R1 R4 Dst 2 4 2 4 1 3 B R3 2 4 Different paths to same destination! (useful for traffic engineering!) R1 VC table: VC 1 R2 VC 2 R3

Virtual Circuit Payload Payload A R2 R1 R4 Dst B R3 Challenges: VCI Payload Payload 1 3 A R2 2 1 3 4 1 3 R1 R4 Dst 2 4 2 4 1 3 B R3 2 4 Challenges: - How to set up path? - How to assign IDs?? R1 VC table: VC 5 R2 R2 VC table: VC 5 R4

Connections and Signaling Permanent vs. switched virtual connections (PVCs, SVCs) static vs. dynamic. PVCs last “a long time” E.g., connect two bank locations with a PVC SVCs are more like a phone call PVCs administratively configured (but not “manually”) SVCs dynamically set up on a “per-call” basis Topology point to point point to multipoint multipoint to multipoint Challenges: How to configure these things? What VCI to use? Setting up the path

Virtual Circuit Switching: Label (“tag”) Swapping Global VC ID allocation -- ICK! Solution: Per-link uniqueness. Change VCI each hop. Input Port Input VCI Output Port Output VCI R1: 1 5 3 9 R2: 2 9 4 2 R4: 1 2 3 5 1 3 A R2 2 1 3 4 1 3 R1 R4 Dst 2 4 2 4 1 3 B R3 2 4

Label (“tag”) Swapping Result: Signalling protocol must only find per-link unused VCIs. “Link-local scope” Connection setup can proceed hop-by-hop. Good news for our setup protocols!

PVC connection setup Manual? Dedicated signaling protocol Configure each switch by hand. Ugh. Dedicated signaling protocol E.g., what ATM uses Piggyback on routing protocols Used in MPLS. E.g., use BGP to set up

SVC Connection Setup calling party network called party SETUP SETUP ACK CONNECT ACK

Virtual Circuits In Practice ATM: Telco approach Kitchen sink. Based on voice, support file transfer, video, etc., etc. Intended as IP replacement. That didn’t happen. :) Today: Underlying network protocol in many telco networks. E.g., DSL speaks ATM. IP over ATM in some cases. MPLS: The “IP Heads” answer to ATM Stole good ideas from ATM Integrates well with IP Today: Used inside some networks to provide VPN support, traffic engineering, simplify core. Other nets just run IP. Older tech: Frame Relay Only provided PVCs. Used for quasi-dedicated 56k/T1 links between offices, etc. Slower, less flexible than ATM.

Asynchronous Transfer Mode: ATM Connection-oriented, packet-switched (e.g., virtual circuits). Telco-driven. Goals: Handle voice, data, multimedia Support both PVCs and SVCs Replace IP. (didn’t happen…) Important feature: Cell switching

Cell Switching Small, fixed-size cells [Fixed-length data][header] Why? Efficiency: All packets the same Easier hardware parallelism, implementation Switching efficiency: Lookups are easy -- table index. Result: Very high cell switching rates. Initial ATM was 155Mbit/s. Ethernet was 10Mbit/s at the same time. (!) How do you pick the cell size?

ATM Features Fixed size cells (53 bytes). Why 53? Virtual circuit technology using hierarchical virtual circuits. Support for multiple traffic classes by adaptation layer. E.g. voice channels, data traffic Elaborate signaling stack. Backwards compatible with respect to the telephone standards Standards defined by ATM Forum. Organization of manufacturers, providers, users

ATM Discussion At one point, ATM was viewed as a replacement for IP. Could carry both traditional telephone traffic (CBR circuits) and other traffic (data, VBR) Better than IP, since it supports QoS Complex technology. Switching core is fairly simple, but Support for different traffic classes Signaling software is very complex Technology did not match people’s experience with IP deploying ATM in LAN is complex (e.g. broadcast) supporting connection-less service model on connection-based technology With IP over ATM, a lot of functionality is replicated Currently used as a datalink layer supporting IP.

IP Switching How to use ATM hardware without the software. ATM switches are very fast data switches software adds overhead, cost The idea is to identify flows at the IP level and to create specific VCs to support these flows. flows are identified on the fly by monitoring traffic flow classification can use addresses, protocol types, ... can distinguish based on destination, protocol, QoS Once established, data belonging to the flow bypasses level 3 routing. never leaves the ATM switch Interoperates fine with “regular” IP routers. detects and collaborates with neighboring IP switches

IP Switching Example IP IP IP ATM ATM ATM

IP Switching Example IP IP IP ATM ATM ATM

IP Switching Example IP IP IP ATM ATM ATM

Another View IP IP IP IP IP ATM IP ATM IP ATM IP ATM IP ATM IP ATM IP

IP Switching Discussion IP switching selectively optimizes the forwarding of specific flows. Offloads work from the IP router, so for a given size router, a less powerful forwarding engine can be used Can fall back on traditional IP forwarding if there are failures IP switching couples a router with an ATM switching using the GSMP protocol. General Switch Management Protocol IP switching can be used for flows with different granularity. Flows belonging to an application .. Organization Controlled by the classifier IP switching can be set up quickly, e.g. before a TCP connection starts sending data!

Tunneling IP1 IP2 Data IP1 IP2 Force a packet to go to a specific point in the network. Path taken is different from the regular routing Achieved by adding an extra IP header to the packet with a new destination address. Similar to putting a letter in another envelope preferable to using IP source routing option Used increasingly to deal with special routing requirements or new features. Mobile IP,.. Multicast, IPv6, research, .. IP1 IP2 Data IP1 IP2

Destination IP address IP-in-IP Tunneling Described in RFC 1993. IP source and destination address identify tunnel endpoints. Protocol id = 4. IP Several fields are copies of the inner-IP header. TOS, some flags, .. Inner header is not modified, except for decrementing TTL. V/HL TOS Length ID Flags/Offset TTL 4 H. Checksum Tunnel Entry IP Tunnel Exit IP V/HL TOS Length ID Flags/Offset TTL Prot. H. Checksum Source IP address Destination IP address Payload

Tunneling Example tunnel A B C D E F G F H I J K A->K A->K Payload A->K Payload C->F A->K Payload

Tunneling Considerations Performance. Tunneling adds (of course) processing overhead Tunneling increases the packet length, which may cause fragmentation BIG hit in performance in most systems Tunneling in effect reduces the MTU of the path, but end-points often do not know this Security issues. Should verify both inner and outer header E.g., one-time flaw: send an ip-in-ip packet to a host. Inner packet claimed to come from “trusted” host. Bypass firewalls.

Tunneling Applications Virtual private networks. Connect subnets of a corporation using IP tunnels Often combined with IP Sec (Amusing note: IPSec itself an IPv6 spinoff that was backported into IPv4) Support for new or unusual protocols. Routers that support the protocols use tunnels to “bypass” routers that do not support it E.g. multicast Force packets to follow non-standard routes. Routing is based on outer-header E.g. mobile IP

Supporting VPN by Tunneling F: Firewall R: Router H: Host F 10.5.5.5 10.6.6.6 H R R 243.4.4.4 198.3.3.3 Concept Appears as if two hosts connected directly Usage in VPN Create tunnel between road warrior & firewall Remote host appears to have direct connection to internal network

Implementing Tunneling F 10.5.5.5 10.6.6.6 H R R 243.4.4.4 198.3.3.3 Host creates packet for internal node 10.6.1.1.1 Entering Tunnel Add extra IP header directed to firewall (243.4.4.4) Original header becomes part of payload Possible to encrypt it Exiting Tunnel Firewall receives packet Strips off header Sends through internal network to destination Payload source: 198.3.3.3 dest: 243.4.4.4 dest: 10.1.1.1 source: 10.6.6.6

CMU CS VPN Example server connected to dhcp-7-7.dsl.telerama.com bryant.vlsi.cs.cmu.edu 128.2.198.135 CMU dhcp-7-7.dsl.telerama.com 205.201.7.7 B L Internet Operation Running echo server on CMU machine 128.2.198.135 Run echo client on laptop connected through DSL from non-CMU ISP Without VPN server connected to dhcp-7-7.dsl.telerama.com (205.201.7.7)

CMU CS VPN Example CS has server to provide VPN services Operation bryant.vlsi.cs.cmu.edu 128.2.198.135 CMU dhcp-7-7.dsl.telerama.com 205.201.7.7 B VPN-18.NET.CS.CMU.edu 128.2.216.18 L VPN Server liberty.fac.cs.cmu.edu 128.2.194.254 Internet CS has server to provide VPN services Operation Running echo server on CMU machine 128.2.198.135 Run echo client on laptop connected through DSL from non-CMU ISP With VPN server connected to VPN-18.NET.CS.CMU.EDU (128.2.216.18) Effect For other hosts in CMU, packets appear to originate from within CMU

Multi Protocol Label Switching - MPLS Selective combination of VCs + IP Today: MPLS useful for traffic engineering, reducing core complexity, and VPNs Core idea: Layer 2 carries VC label Could be ATM (which has its own tag) Could be a “shim” on top of Ethernet/etc.: Existing routers could act as MPLS switches just by examining that shim -- no radical re-design. Gets flexibility benefits, though not cell switching advantages Layer 3 (IP) header Layer 3 (IP) header MPLS label Layer 2 header Layer 2 header

MPLS + IP Map packet onto Forward Equivalence Class (FEC) Simple case: longest prefix match of destination address More complex if QoS of policy routing is used In MPLS, a label is associated with the packet when it enters the network and forwarding is based on the label in the network core. Label is swapped (as ATM VCIs) Potential advantages. Packet forwarding can be faster Routing can be based on ingress router and port Can use more complex routing decisions Can force packets to followed a pinned route

MPLS core, IP interface MPLS tag assigned MPLS tag stripped IP IP IP 1 3 A R2 2 1 3 4 1 3 R1 R4 2 4 2 4 1 3 B R3 D 2 4 MPLS forwarding in core

MPLS use case #1: VPNs 10.1.0.0/24 10.1.0.0/24 C A R2 R1 R4 B R3 D MPLS tags can differentiate green VPN from orange VPN.

MPLS use case #2: Reduced State Core EBGP EBGP C A R2 A-> C pkt Internal routers must know all C destinations R1 R4 IP Core R3 EBGP C 1 3 A R2 2 1 3 4 1 3 R1 MPLS Core R4 2 4 2 4 R1 uses MPLS tunnel to R4. R1 and R4 know routes, but R2 and R3 don’t. 1 3 R3 2 4 .

MPLS use case #3: Traffic Engineering As discussed earlier -- can pick routes based upon more than just destination Used in practice by many ISPs, though certainly not all.

MPLS Mechanisms MPLS packet forwarding: implementation of the label is technology specific. Could be ATM VCI or a short extra “MPLS” header Supports stacked labels. Operations can be “swap” (normal label swapping), “push” and “pop” labels. VERY flexible! Like creating tunnels, but much simpler -- only adds a small label. S is stack function: set to 1 for last label in the stack Label CoS S TTL 20 3 1 8

MPLS Discussion Original motivation. Fast packet forwarding: Use of ATM hardware Avoid complex “longest prefix” route lookup Limitations of routing table sizes Quality of service Currently mostly used for traffic engineering and network management. LSPs can be thought of as “programmable links” that can be set up under software control on top of a simple, static hardware infrastructure

Important Concepts Ideas in the Internet Base-level protocol (IP) provides minimal service level Allows highly decentralized implementation Each step involves determining next hop Most of the work at the endpoints Use ICMP for low-level control functions Changes to Addressing Model Have moved away from “everyone knows everybody” model of original Internet Firewalls + NAT hide internal networks VPN / tunneling build private networks on top of commodity network

Take Home Points Costs/benefits/goals of virtual circuits Cell switching (ATM) Early high-speed, general-purpose networking Fixed-size small pkts and virtual circuits: Fast hardware Packet size picked for low voice latency and jitter. Tag/label swapping Basis for most VCs. Makes label assignment link-local. Understand mechanism. MPLS - IP meets virtual circuits; MPLS tunnels used for VPNs, traffic engineering, reduced core routing table sizes

--- Extra Slides --- Extra information if you’re curious.

LAN Emulation Motivation: making a non-broadcast technology work as a LAN. Focus on 802.x environments Approach: reuse the existing interfaces, but adapt implementation to ATM. MAC - ATM mapping multicast and broadcast bridging ARP Example: Address Resolution “Protocol” uses an ARP server instead of relying on broadcast.

Further reading - MPLS Juniper has a few good presentations at NANOG (the North American Network Operators Group; a big collection of ISPs): http://www.nanog.org/mtg-0310/minei.html http://www.nanog.org/mtg-0402/minei.html Practical and realistic view of what people are doing _today_ with MPLS.

An Alternative Tag Switching Instead of monitoring traffic to identify flows to optimize, use routing information to guide the creation of “switched” paths. Switched paths are set up as a side effect of filling in forwarding tables Generalize to other types of hardware. Also introduced stackable tags. Made it possible to temporarily merge flows and to demultiplex them without doing an IP route lookup Requires variable size field for tag A C A A B B B C

IP Switching versus Tag Switching Flows versus routes. tags explicitly cover groups of routes tag bindings set up as part of route establishment flows in IP switching are driven by traffic and detected by “filters” Supports both fine grain application flows and coarser grain flow groups Stackable tags. provides more flexibility Generality IP switching focuses on ATM not clear that this is a fundamental difference

Packets over SONET Same as statically configured ATM pipes, but pipes are SONET channels. Properties. Bandwidth management is much less flexible Much lower transmission overhead (no ATM headers) mux OC-48 mux mux

Why 53 Bytes? Small cells favored by voice applications delays of more than about 10 ms require echo cancellation each payload byte consumes 125 s (8000 samples/sec) Large cells favored by data applications Five bytes of each cell are overhead France favored 32 bytes 32 bytes = 4 ms packetization delay. France is 3 ms wide. Wouldn’t need echo cancellers! USA, Australia favored 64 bytes 64 bytes = 8 ms USA is 16 ms wide Needed echo cancellers anyway, wanted less overhead Compromise

ATM Adaptation Layers AAL 1: audio, uncompressed video synchronous asynchronous constant variable bit rate connection-oriented connectionless 1 2 3 4 5 AAL 1: audio, uncompressed video AAL 2: compressed video AAL 3: long term connections AAL 4/5: data traffic AAL5 is most relevant to us…

AAL5 Adaptation Layer data pad ctl len CRC . . . end-to-end argument on CRC, packet length efficiency of coding, bus transfers cost vs. flexibility of multiplexing in AAL3/4 ATM header payload (48 bytes) includes EOF flag Pertinent part: Packets are spread across multiple ATM cells. Each packet is delimited by EOF flag in cell.

ATM Packet Shredder Effect Cell loss results in packet loss. Cell from middle of packet: lost packet EOF cell: lost two packets Just like consequence of IP fragmentation, but VERY small fragments! Even low cell loss rate can result in high packet loss rate. E.g. 0.2% cell loss -> 2 % packet loss Disaster for TCP Solution: drop remainder of the packet, i.e. until EOF cell. Helps a lot: dropping useless cells reduces bandwidth and lowers the chance of later cell drops Slight violation of layers Discovered after early deployment experience with IP over ATM.

ATM Traffic Classes Constant Bit Rate (CBR) and Variable Bit Rate (VBR). Guaranteed traffic classes for different traffic types. Unspecified Bit Rate (UBR). Pure best effort with no help from the network Available Bit Rate (ABR). Best effort, but network provides support for congestion control and fairness Congestion control is based on explicit congestion notification Binary or multi-valued feedback Fairness is based on Max-Min Fair Sharing. (small demands are satisfied, unsatisfied demands share equally)

IP over ATM When sending IP packets over an ATM network, set up a VC to destination. ATM network can be end to end, or just a partial path ATM is just another link layer Virtual connections can be cached. After a packet has been sent, the VC is maintained so that later packets can be forwarded immediately VCs eventually time out Properties. Overhead of setting up VCs (delay for first packet) Complexity of managing a pool of VCs Flexible bandwidth management Can use ATM QoS support for individual connections (with appropriate signaling support)

IP over ATM Permanent VCs Establish a set of “ATM pipes” that defines connectivity between routers. Routers simply forward packets through the pipes. Each statically configured VC looks like a link Properties. Some ATM benefits are lost (per flow QoS) Flexible but static bandwidth management No set up overheads