1 / 39

Spring 2006 EE 5304/EETS 7304 Internet Protocols

Spring 2006 EE 5304/EETS 7304 Internet Protocols. Lecture 10. Multiprotocol Label Switching (MPLS). Tom Oh Dept of Electrical Engineering taehwan@engr.smu.edu. Administrative Issues. We will have test 2 on April 4. Test will consists of Lecture 6-10

abiba
Download Presentation

Spring 2006 EE 5304/EETS 7304 Internet Protocols

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Spring 2006 EE 5304/EETS 7304 Internet Protocols Lecture 10 Multiprotocol Label Switching (MPLS) Tom Oh Dept of Electrical Engineering taehwan@engr.smu.edu

  2. Administrative Issues • We will have test 2 on April 4. • Test will consists of Lecture 6-10 • Multiple choice, true/false, short answers • We will have review for test 2 today. • You can use one 3 ½ x 5 card.

  3. Outline (Comer, pg. 232) • Motivations (IP vs ATM) • Idea of label switching • MPLS standards • MPLS traffic engineering

  4. Early 1990s “IP vs ATM” IP ATM Developed by: Computer scientists Public carriers Standardized by: DoD, IETF ITU Prevalence: Since 1978 Since 1988 Packet lengths: Variable Fixed, short Designed for: Data All services Packet forwarding: Connectionless Connection-oriented Routing tables: Complex prefix match Simple VPI/VCI lookup QoS: Best effort Guaranteed QoS Traffic control: Simple Complex

  5. Strengths of ATM • High speed, high throughput switches • VPI/VCI lookup is an exact match algorithm (compared to longest prefix match for IP addresses) • More control over traffic (virtual circuits compared to hop-by-hop routing in IP) • Bandwidth can be reserved on virtual circuits • Traffic flows can be “pinned” to specific routes, allowing more uniform traffic distribution in network

  6. Why MPLS (1/4) • Internet is getting bigger in any dimension • Traffic volume • Number of user • Number of nodes • Bandwidth Required • ISPs need higher performance switching & routing equipment • Scalability • Many solutions being proposed to address those problems: • IP V6 • IP over ATM • Gigabit Ethernet • IP Switching

  7. Why MPLS (2/4) IP over ATM • Overlay model • IP over ATM described in RFC 1483 • “Classical IP over ATM” in RFC 1577 • Problem of mapping IP onto ATM was taken up by a number of standard bodies. • IP over ATM • IP over Large Public Data Networks • LAN emulation • Multiprotocol over ATM

  8. WHY MPLS (3/4) • Leverage existing ATM hardware • Ultra fast-forwarding • IP traffic engineering • Constraint-based routing • Virtual Private Networks • Controllable tunneling mechanism • Voice/Video on IP • Delay variation + QoS constraints • Diversity routing for load-balancing and reliability

  9. Idea of Label Switching • How to take advantage of ATM strengths without adopting ATM entirely or changing IP control plane (routing protocols)? • Generalize idea of VPI/VCI lookup to “label” • Label is an extra field attached to IP packet header that serves as an index pointing to an entry in routing table Routing table Entry contains next hop (or output port) and new outgoing label value Exact match Label Packet

  10. Label Switching (cont) • LSR (label switching router) is router capable of forwarding packets based on label • Where is the label attached? • Assume LSR are deployed gradually in “islands” in Internet • Edge LSR will attach label which is used throughout island Island of LSRs IP packets IP packets from other routers Detach label Attach label

  11. CIRCUITSWITCHING PACKETForwarding HYBRID IP MPLS+IP ATM BEST OF BOTH WORLDS • MPLS + IP forms a middle ground that combines the best of IP and the best of circuit switching technologies. • ATM and Frame Relay cannot easily come to the middle so IP has!!

  12. AT&T Next Generation Network Architecture: The Concept of One [Eslambolchi, 2002]

  13. Next Generation Network Architecture (Dec 2002, J. Jaffee: Lucent President) M. El-Sayed and J. Jaffee, “A View of Telecommunications Network Evolution”, IEEE Communication Magazine, Dec. 2002.

  14. Multiprotocol Label Switching (MPLS) • Various companies experimented with proprietary label switching • 1997 IETF MPLS working group began to standardize technology integrating ATM-like "label swapping" for packet forwarding with IP layer routing • Use existing IP routing protocols • MPLS-enabled routers = LSRs • Ingress edge LSR examines packets and classifies to a flow called forwarding equivalence class (FEC) • FEC = class of packets that should be handled same way along same routes

  15. MPLS (cont) • FEC granularity is arbitrary - one or more IP "flows" can be mapped to one FEC • Packets are assigned label to identify FEC • Label value is arbitrary, only serves to identify packets of same FEC • Label might be VPI/VCI field in ATM header, DLCI field in frame relay header, or added "shim" label inserted between data link layer header and network layer header → "multiprotocol” Layer 2 frame Layer 2 header Shim label IP packet

  16. MPLS Shim Header (Label) (1/2)

  17. MPLS (cont) • Core LSRs forward packets based only on MPLS labels, no need to inspect IP header • Incoming label is looked up in forwarding table called label forwarding information base (LFIB) • LFIB contains next hop, forwarding instructions, and new label value • Contiguous LSRs constitute an MPLS domain (maybe an island within IP network) • Concatenated labels constitute a label switched path (LSP) through MPLS domain

  18. MPLS (cont) MPLS domain Egress edge LSR3 Ingress edge LSR1 LSR2 LSP LSR3 table LSR1 table In-label Next hop Dest. address Next hop Out-label 4 R4 172.12.3 LSR2 6 LSR2 table In-label Next hop Out-label 6 LSR3 4

  19. MPLS (cont) • Egress LSR removes label • LSPs are established by a label distribution protocol (LDP) and a routing protocol • LSRs learn topology of network using existing routing protocols, eg, OSPF • A label distribution protocol coordinates assignment of labels among routers, can be standardized LDP [RFC 3031] or extension of RSVP (RSVP-TE)

  20. IP+ATM • ATM switches already use label switching for packet forwarding (label = VPI/VCI fields) → ATM switches do not need changes in forwarding hardware to support MPLS • IP+ATM refers to combination of ATM, MPLS, and IP technologies in ATM switches • ATM switches do need changes in control plane (software) • Need to operate IP routing protocols to exchange routing info with regular IP routers • Need to support LDP

  21. MPLS Traffic Engineering • Traffic engineering tries to ensure sufficient resources are available in network to meet traffic demands • Includes uniform distribution of traffic as much as possible • Hop-by-hop IP routing is not designed for traffic engineering • MPLS allows explicit routing - labels “pin” traffic flows to specific routes

  22. MPLS Traffic Engineering (cont) All traffic goes one way Hop-by-hop IP routing Dest. Router chooses least-cost route to dest. Label2 Label2 MPLS explicit routing Dest. Label1 Label1 Router forwards by label

  23. Spring 2006 EE 5304/EETS 7304 Internet Protocols Lecture 10 Quality of Service (QoS) in IP Tom Oh Dept of Electrical Engineering taehwan@engr.smu.edu

  24. Outline • Intserv (Integrated services) • Diffserv (Differentiated services)

  25. Support of QoS in IP • TCP/IP protocol architecture designed in late 1970s to enable a scalable, decentralized internet • IP allows different types of networks to interconnect but only best-effort service (although ToS field in IP header recognizes need for QoS) • TCP adds reliability above IP – the only QoS parameter provided • Success of Internet attests to correctness of TCP/IP design philosophy but mid-1990s Internet was opened to commercial traffic and ISPs

  26. QoS Support in IP (cont) • New applications are regularly being tried, not imagined in 1970s • Examples: streaming audio/video, voice over IP, desktop videoconferencing, distance learning,… • Many applications require QoS better than best-effort

  27. IETF Integrated Services (Intserv) • Early 1990s IETF Intserv working group began specifications of architecture based on: • Guaranteed service: hard QoS per packet flow • Bandwidth, packet delay, delay jitter • Flow can be identified by <source IP address, destination IP address, protocol field, source port, destination port> • Resource reservations • Applications request QoS through standardized Resource Reservation Protocol (RSVP) [RFC 2205] • Or controlled-load service: better than best-effort

  28. Intserv (cont) • Sender generates RSVP Path message with service specification RSpec and traffic description TSpec • TSpec = peak (max.) rate, average rate, min/max packet size, etc. • RSpec = required bandwidth, slack (tolerable node delay), etc. • Path message finds a route to receiver (remembered by every router) and assigns a unique identifier to session • Receiver returns RSVP Resv message in backward direction to request bandwidth • Resv message carries RSpec and TSpec

  29. Intserv (cont) • Admission control: every router has chance to admit/reject new sessions and reserve enough resources to ensure the requested QoS • Calculates necessary resources to meet requested QoS based on TSpec • Decides to accept or reject new session • Reserves resources (if accepted) • Forwards Resv message to next router

  30. Problems with Intserv • Not scalable to very large networks: routers process requests for each flow and store state info (bandwdith reservation), which increases with number of flows • Reservation overhead is costly for short-lived sessions • RSVP must be deployed to all routers • Not flexible: small number of predefined service classes

  31. IETF Differentiated Services (diffserv) • Late 1990s IETF Diffserv working group objectives: • Deployable in gradual stages • Scalable and flexible service architecture, eg, no per-flow state info. • Minimal overhead on backbone routers • Service differentiation with coarse granularity (different classes of service) instead of absolute guaranteed services with fine granularity (per flow)

  32. Stateless Core for Scalability Simple core routers Complex edge routers

  33. Diffserv (cont) • To keep core stateless, packets are classified to service class at network edge • Packets carry their service class designation in diffserv code point (DSCP) • DSCP = first 6 bits re-interpreted from ToS field in IP packet header • 26 = 64 possible codepoints • Network core uses DSCP in packet header • Core routers forward packets according to their DSCP

  34. Diffserv (cont) • Diffserv idea: define per-node functional components that can be put together to make different end-to-end services, instead of predefining end-to-end services • Example: intserv guarantees packet delay < D, but not clear what each router should do • DSCP identifies a specific predefined per-hop behavior (PHB) • PHB = instructions for treating packet described in terms of "external behavior" • Eg, queue packet at head of line or back of line • No state info. needed in each core router

  35. Diffserv (cont) • 2 PHBs defined: EF and AF • Expedited forwarding (EF) PHB • Forward packets with minimal delay and loss (ie, guaranteed minimum bandwidth) • Only way to guarantee is limiting rate of incoming traffic at network edges => bandwidth brokers keep network-wide view of used/available resources and make decisions for admitting traffic • Other mechanisms: traffic priorities, weighted fair queueing, traffic shaping,...?

  36. Diffserv (cont) • Assured forwarding (AF) PHB • Statistical service with lower assurance than guaranteed service • 4 relative classes can be defined (standard, bronze, silver, gold) • 3 packet discarding priorities in each class

  37. TEST 2 Review • ATM • Cell format, QoS, ATM Services, CAC • IPv4 and ICMP • Role of IP Interworking, IPv4 header, Fragmentation, • IP address, ICMP • More about IP Addresses • IP addresses, ARP • Dynamic Host Configuration Protocol • Subnetting • Classless inter-domain routing (CIDR)

  38. TEST 2 Review-cont • Network Address translation (NAT) • Virtual Private Networking (VPN) • Mobile IP • IPv6 • Motivation and highlights • IPv6 Header, flow label, Next Header • IPv6 extensions • IPv6 addresses • Transitioning from IPv4 to IPv6

  39. TEST 2 Review-Cont • Router, Type of Routers • Generic router and generation routers. • ATM Switching Origins, ATM switching • ATM Fabrics (Space Division Switch, Shared Medium Switch Shared Memory Switch, and Fully Interconnected Switch). • MPLS • Idea of Label Switching • MPLS Standards • MPLS traffic engineering

More Related