* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download presentation
Backpressure routing wikipedia , lookup
Distributed firewall wikipedia , lookup
TCP congestion control wikipedia , lookup
Point-to-Point Protocol over Ethernet wikipedia , lookup
Airborne Networking wikipedia , lookup
Computer network wikipedia , lookup
Internet protocol suite wikipedia , lookup
Spanning Tree Protocol wikipedia , lookup
Recursive InterNetwork Architecture (RINA) wikipedia , lookup
Cracking of wireless networks wikipedia , lookup
Deep packet inspection wikipedia , lookup
Wake-on-LAN wikipedia , lookup
Multiprotocol Label Switching wikipedia , lookup
Routing in delay-tolerant networking wikipedia , lookup
Multicast IP Wolfgang Effelsberg University of Mannheim September 2001 Wolfgang Effelsberg University of Mannheim 1 Outline 1. Why is multicast important? 2. Packet duplication 3. Group addressing 4. Multicast routing 5. Reliable multicast 6. Multicast filtering 7. Conclusions Wolfgang Effelsberg University of Mannheim 2 1. Why is Multicast Important? Multicast applications often require 1:n communication: Videoconferencing TeleCooperation (CSCW) with a shared workspace near-Video-on-Demand TeleTeaching, TeleSeminars Digital video streams have high data rates ( >1 MBit/s) n end-to-end connections would overload the network S n end-to-end connections Wolfgang Effelsberg S one multicast connection University of Mannheim 3 2. Packet Duplication Copy incoming packets and put them into several output queues. Can be done efficiently. Where and how to duplicate is controlled by entries in the routing table classical router Wolfgang Effelsberg multicast router University of Mannheim 4 3. Group Addressing Internet Group Addressing Group members are IP hosts. Group members be anywhere in the Internet. The group address controls routing and packet duplication. But: Group addresses must be assigned dynamically! We need an efficient, scaleable group address management protocol. 0 CLASS A 0 CLASS B 10 CLASS C 110 Wolfgang Effelsberg 123 8 16 netid 24 hostid netid netid University of Mannheim hostid hostid 5 4. Multicast Routing The simplest way to get a packet stream to every node in the network is flooding (broadcasting). Algorithm Flooding When a packet arrives it is fowarded on each outgoing link except the one on which it has arrived. = first round = second round = third round Wolfgang Effelsberg University of Mannheim 6 Reverse Path Broadcasting (RPB) Reverse Path Broadcasting (RPB) is more efficient than flooding. It takes advantage of the fact that each node knows a packet‘s shortest path from the sender from the classical routing table! This path is called the reverse path. The basic idea is now that a node forwards only those packets on all outgoing links that have arrived on the shortest path from the sender. This algorithms generates much fewer packets that pure flooding. But it is still possible that the same packet arrives twice at a node. Wolfgang Effelsberg University of Mannheim 7 Example for Reverse Path Broadcasting (still incomplete) bc B ab C ce cd E de A ad D As we can see there are still unnecessary packets: D and E receive the packet twice, C even three times. Wolfgang Effelsberg University of Mannheim 8 Example for Reverse Path Broadcasting (complete algorithm) When each node sends some extra information to its neighbors RPB can avoid the unnecessary packets. The extra information is the fact whether a link between two neighbors is on the shortest path to the sender. For our example the complete RPB algorithms then works as shown below. bc B ab C ce cd E de A Wolfgang Effelsberg ad D University of Mannheim 9 Truncated Reverse Path Broadcasting (TRPB) RPB still delivers all packets to all nodes in the network. TRPB allows subnetworks (typically LANs) to only participate in a multicast if they contain at least one interested host. A simple protocol called IGMP (Internet Group Management Protocol) was defined for this purpose. Via IGMP the hosts in a LAN tell their router whether they are interested in a particular multicast stream. If no local host is interested in a multicast group the router will stop forwarding packets onto the LAN. But this only solves the problem for local hosts in a LAN. The multicast tree still includes all routers in the network. Wolfgang Effelsberg University of Mannheim 10 Reverse Path Multicasting (RPM) The RPM algorithm adds prune messages to the protocol. A prune message travels from a leaf towards the root of the multicast tree. It tells a higher-level node that there are no interested receivers below. This reduces the broadcast tree to a true multicast tree. Wolfgang Effelsberg University of Mannheim 11 Example for Reverse Path Multicasting (1) bc B ab C ce cd E de ad A D (a) Tree in the initial RPM phase bc B ab C ce cd E de A ad D (b) E sends a “prune“ message Wolfgang Effelsberg University of Mannheim 12 Example for Reverse Path Multicasting (2) bc B ab C ce cd E de A ad D (c) D sends a “prune“ message Wolfgang Effelsberg University of Mannheim 13 Multicast in IP Version 6 (IPv6) In IPv6 the multicast capability is fully integrated into the IP protocol. All IPv6 routers understand group addresses, and are able to route multicast packets. The IGMP protocol is integrated into the classical ICMP protocol. Wolfgang Effelsberg University of Mannheim 14 5. Reliable Multicast Two basic schemes: ACK or retransmission: causes ACK implosion problem. Many „ACK saving protocols“ suggested in the literature. FEC: Not very good for burst errors, no 100% guarantee S AC K K AC A ACCK K CK A A ACCK K AC AC K K ACK implosion Wolfgang Effelsberg University of Mannheim 15 6. Multicast Filtering Goal: Optimize subtree traffic to match the bit rate of the links and the processing power of the receivers. Tree nodes contain adjustable packet filters. Multicast filtering requires hierarchical stream encoding. S n separate connections Wolfgang Effelsberg one multicast connection with substream filters University of Mannheim 16 7. Conclusions Multicast in in the Internet is very important for the efficient support of multimedia applications. Today, there is no single multicast protocol supporting all the requirements. Multicast IP and the MBone protocols are useable, but do not support QoS for continuous media. They are not very scalable. IP Version 6 supports group addressing and multicast routing,, but neither resource reservation nor QoS-based routing or reliability. Wolfgang Effelsberg University of Mannheim 17