1 / 126

Multicast Routing

Multicast Routing. Multicast Routing. Unicast: one source to one destination Multicast: one source to many destinations Two main functions: Efficient data distribution Logical naming of a group. Unicast. Src. Unicast. Src. Unicast. Src. Unicast. Src. Unicast. Src. Unicast. Src.

kylar
Download Presentation

Multicast Routing

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. Multicast Routing

  2. Multicast Routing • Unicast: one source to one destination • Multicast: one source to many destinations • Two main functions: • Efficient data distribution • Logical naming of a group

  3. Unicast Src

  4. Unicast Src

  5. Unicast Src

  6. Unicast Src

  7. Unicast Src

  8. Unicast Src

  9. Multicast Src

  10. Multicast Src

  11. Multicast Src

  12. Multicast Src

  13. Multicast Src

  14. Multicast Src

  15. Multicast state • Router: • learn of the existence of multicast groups (advertisement) • identify links with group members • establish state to route packets • replicate packets on appropriate interfaces

  16. Logical naming • Application level multicast: mailing lists • Single address maps to logically related set of destinations • Convenience • Scaling: single name/address as group grows, changes

  17. Multicast groups • Members are the intended receivers • Senders may or may not be members • Destination address is class D IP address • globally known portion of address space • Hosts may belong to many groups • Hosts may send to many groups • Support dynamic creation of groups, dynamic membership, dynamic sources

  18. Scope • Groups can have different scope • LAN (local scope) • Campus/admin scoping • TTL scoping must be used with caution • Concept of scope important to multipoint protocols and applications (later…)

  19. Example applications • Broadcast audio/video • Push-based systems • Software distribution • Web-cache updates • Teleconferencing (audio, video, shared whiteboard, text editor) • Multi-player games

  20. ..more applications • Server/service location • Distributed applications • Sensor networks?

  21. Other parts of the architecture • Multicast address allocation (later) • Assume address is advertised • Avoid collisions as much as possible • Mcast address must be unique in space and time • Use randomization • Can’t have highly used address space • Multiple multicast groups per conference…different app streams, different layers…more later

  22. Some concepts • Application level multicast • Network level multicast • Aside: active networks

  23. Application-level multicast (another way) Src

  24. ..application-level multicast Src

  25. Components of theIP Multicast Architecture hosts service model host-to-router protocol(IGMP) routers multicast routing protocols(various)

  26. IP Multicast Service Model(RFC-1112) • each group identified by a single IP address • groups may be of any size • members of groups may be located anywhere in the Internet • members of groups can join and leave at will • senders need not be members

  27. Service model • Group membership not known explicitly • Analogy: • each multicast address is like a radio frequency, on which anyone can transmit, and to which anyone can tune-in.

  28. 1 1 1 0 group ID IP Multicast Addresses Class D IP addresses: in “dotted decimal” notation: 224.0.0.0 — 239.255.255.255 two administrative categories: • “well-known” multicast addresses, assigned by IANA • “transient” multicast addresses, assigned and reclaimed dynamically, e.g., by “sdr” program

  29. IP Multicast Service — Sending • uses normal IP-Send operation, with an IP multicast address specified as the destination • must provide sending application a way to: • specify outgoing network interface, if >1 available • specify IP time-to-live (TTL) on outgoing packet • enable/disable loopback if the sending host is a member of the destination group on the outgoing interface

  30. IP Multicast Service — Receiving • two new operations: Join-IP-Multicast-Group ( group-address, interface ) Leave-IP-Multicast-Group ( group-address, interface ) • receive multicast packets for joined groups via normal IP-Receive operation

  31. Multicast Scope Control:(1) TTL Expanding-ring Search to reach or find a nearby subset of a group s 1 2 3

  32. Multicast Scope Control:(2) Administrative TTL Boundaries to keep multicast traffic within an administrative domain, e.g., for privacy or resource reasons the rest of the Internet TTL threshold set oninterfaces to these links,greater than the diameterof the admin. domain an administrative domain

  33. Multicast Scope Control:(3) Administratively-scoped Addresses • RFC 1112 • uses address range 239.0.0.0 — 239.255.255.255 • supports overlapping (not just nested) domains the rest of the Internet address boundary set oninterfaces to these links an administrative domain

  34. The MBone • MBone = Multicast Backbone • an “interconnected” set of multicast-capable routers, providing the IP multicast service in the Internet • can be thought of as a virtual network, overlaid on the Internet

  35. R R R H R H Components of the MBone square/circle: host/router thick square/circle: MBone router solid line: physical link dashed line: tunnel thick line: part of MBone

  36. IP header, dest = unicast IP header, dest = multicast transport headerand data… MBone Tunnels • a method for sending multicast packets through multicast-ignorant routers • IP multicast packet is encapsulated in a unicast packet addressed to far end of tunnel: • a tunnel acts like a virtual point-to-point link • each end of tunnel is manually configured with unicast address of the other end

  37. IGMP • End system to router protocol is IGMP • Member or process starts an application with mcast address • IGMP process informed of joined mcast group • When local router sends IGMP query, host sends IGMP report • One router on LAN is IGMP querier • Hosts listen to responses and suppress duplicates

  38. Multicast Routing: IGMP

  39. Components of theIP Multicast Architecture hosts service model host-to-router protocol(IGMP) routers multicast routing protocols(various)

  40. Internet Group Management Protocol(IGMP) • the protocol by which hosts report their multicast group memberships to neighboring routers • version 1, the current Internet Standard, is specified in RFC-1112 • operates over broadcast LANs and point-to-point links • occupies similar position and role as ICMP in the TCP/IP protocol stack

  41. Relevant Protocol Layers Within a Host Upper-Layer Protocol Modules IP Service Interface ICMP IGMP IP Module Link-Layer Service Interface IP to link-layer address mapping (e.g., ARP) Link-Layer Modules (e.g., Ethernet)

  42. Link-layer Transmission/reception transmission: • an IP multicast packet is transmitted as a link-layer multicast, on those links that support multicast • the link-layer destination address is determined by an algorithm specific to the type of link (next slide) reception: • the necessary steps are taken to receive desired multicasts on a particular link, such as modifying address reception filters on LAN interfaces • multicast routers must be able to receive all IP multicasts on a link, without knowing in advance which groups will be sent to

  43. IP multicast address 1 1 1 0 28 bits group bit 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 1 1 1 1 0 0 23 bits Mapping to Link-layer Multicast Addresses • for Ethernet and other LANs using 802 addresses: • for point-to-point links: no mapping needed LAN multicast address

  44. Vers. Type Reserved Checksum Group Address IGMP Version 1 Message Format Version 1 Type 1 = Membership Query 2 = Membership Report Checksum standard IP-style checksum of the IGMP Message Group Address group being reported (zero in Queries)

  45. How IGMP Works routers: Q • on each link, one router is elected the “querier” • querier periodically sends a Membership Query messageto the all-systems group (224.0.0.1), with TTL = 1 • on receipt, hosts start random timers (between 0 and 10 seconds) for each multicast group to which they belong hosts:

  46. How IGMP Works (Cont.) Q • when a host’s timer for group G expires, it sends a Membership Report to group G, with TTL = 1 • other members of G hear the report and stop their timers • routers hear all reports, and time out non-responding groups G G G G

  47. How IGMP Works (Cont.) • note that, in normal case, only one report message per group present is sent in response to a query (routers need not know who all the members are,only that members exist) • query interval is typically 60—90 seconds • when a host first joins a group, it sends one or two immediate reports, instead of waiting for a query

  48. IGMP Version 2 • changes from version 1: • new message and procedures to reduce “leave latency” • standard querier election method specified • version and type fields merged into a single field • backward-compatible with version 1 • soon to appear as a Proposed Standard RFC • widely implemented already

  49. Multicast Routing

  50. Multicast Routing • Multicast service model makes it hard to locate receivers • anonymity • dynamic join/leave • Options so far (not very efficient) • flood data packets to entire network, or • tell routers about all possible groups and receivers so they can create routes (trees)

More Related