IP Multicast.ppt
《IP Multicast.ppt》由会员分享,可在线阅读,更多相关《IP Multicast.ppt(50页珍藏版)》请在麦多课文档分享上搜索。
1、IP Multicast,Fang YanCSEE, UMBC10/14/04,topics,Basics of multicasting MBone IPv4 routing protocols 6bone,What is multicasting,Application level one to many communication. A single packet is addressed to all intended recipientshost group The network replicates packets only as neededwhen paths diverge
2、 at a router,Why Multicasting,It is efficient better bandwidth utilization less host/router processing quicker participation Many applications send data to multiple receivers. Streaming multimedia Content delivery (meeting, lecture, speech) Stock quotes, news Database replication Software distributi
3、on,A,B,C,D,E,X,Y,Z,Flow of data in multiple unicasting,A,B,C,D,E,X,Y,Z,Flow of data in multicasting,Basic components of IP multicasting,Definition of a multicast host group Protocols for establishing and controlling multicast groups Router infrastructure for distribution of multicast traffic Applica
4、tion protocols and APIs that enable desktop computers and workstations to put multicasting to good use,multicast address,IPV44 28 bitsclass DFrom 224.0.0.0 to 239.255.255.255 From 224.0.0.0 to 224.0.0.255 is reserved Totally 228-256=268 million addresses,1110 Multicast Group ID,Reserved address exam
5、ples,224.0.0.1 all hosts 224.0.0.1 all multicast routers 224.0.0.4 DVMRP routers 224.0.0.5 OSPF routers 224.0.0.6 OSPF designated routers 224.0.0.22 IGMP ,multicast address (cont.),IPV68 4 4 112 bitsSupport 4millionbillionbillionbillion addresses Flag Transit/permanent Scope 1: node-local 2: link-lo
6、cal 5: site-local (set by administrators of routers at the site) 8: organization local (set by administrators of routers of the organization) 14: global,11111111 flags scope Multicast Group ID,Ready to go? Unfortunately, there is a problem At the early 90s, the majority of the routers on the Interne
7、t dont know how to handle multicasting. Most routers are set up to move traditional IP unicast packets. Router manufacturers have been reluctant to create equipment that can do multicasting until there is a proven need for such equipment. But, as you might expect, its difficult for users to try out
8、a technology until they have a way to use it. Without the right routers, theres no multicasting. Without multicasting, there wont be the right routers. Solution? MBone !,MBonea little bit history,Stands for Multicast Backbone In 1992, some bright fellows on the Internet Engineering Task Force (IETF)
9、 decided that no one would do in hardware, they could do in software. Many scientific conferences, scientific events, concerts were broadcast over MBone since then. In 1997, the first ISPs started rolling out commercial services utilizing multicasting on the Internet.,MBonearchitecture,A virtual ove
10、rlay network on top of the Internet. Consists of multicast-capable islands connected by tunnels Each island (typically a LAN or group of interconnected LANs) supports hardware multicast to its hosts. Each island contains one or more special routers called mrouters (multicast routers) Mrouters are of
11、ten workstations running multicast routing daemon (mrouted),mrouter,LAN,Multicast island,A,B,C,D,tunneling,A tunnel is a connection between two mrouters using “IP over IP“. Tunnel parameters Threshold The minimum TTL required for a packet to be forwarded across this tunnelCost A metric used to compu
12、te routing “distances” encapsulate MBone packets within IP packet and send as regular unicast packets to the destination mrouters IP address,Original packet,Encapsulated packet,Tunnel configure,Tunnel is configured manually The administrator of the new island sends a message announcing its existence
13、 to the MBone mailing list. The administrators of nearby sites then contact him to arrange to set up tunnels. Existing tunnels may be reshuffled to take advantage of the new island to optimize the topology.,MBone (cont.),Initially used DVMRP routing algorithm Migrated toward PIM Uses UDP protocol Pr
14、oblems Scalability Flow control Congestion control Future Universe support of multicast?,IGMPv1,Stands for Internet Group Management Protocol Described in RFC 1112. Manages multicast group membership Runs between hosts and their immediate neighboring mrouter Only two kinds of packets: query and repo
15、rt Packet format4 4 4 16 bits,IGMPv1 How to join a host group,Mrouter initiated Periodically, mrouter sends out a Query packet to its island asking who is interested in which channel. Hosts wishing to (continue to) receive one or more channels send back Report packet. Each mrouter keeps a table of w
16、hich channels it must put out into its LAN Receiver initiated When a host first joins a group, it immediately transmits Report message rather than waiting from the next Query from the mrouter. The request may need to be forwarded up to a router thats already part of the host group Reduce join latenc
17、y,More IGMP,IGMPv2 Defined in RFC 2236 Adds an explicit Leave message Routers can more easily determine when a group has no interested listeners on a LAN IGMPv3 Defined in RFC 3376 Optimizes support for a single source of content for a multicast group (SSM) Backward compatible,IPv4 multicast routing
18、 protocols,DVMRP (Distance Vector Multicast Routing Protocol) MOSPF (Multicast Open Shortest Path First) PIM-DM (Protocol Independent Multicast, Dense Mode) PIM-SM (Protocol Independent Multicast, Sparse Mode) CBT (Core-Based Tree),distance vector routing,Dynamic routing algorithm Each router mainta
19、in a table giving the best known distance to each destination and which line to use to get there. These tables are updated by exchanging information with the neighbors periodically. Problem Count-to-infinity,link state shortest-path-first routing,Periodically, each router floods a link-state message
20、, containing the routers identity and its associated connectivity information to each of its immediate neighbors. Each router runs the shortest-path-first algorithm to determine the shortest path from itself to all the other routers. Problem: Computation intensive,RPF,Stands for reverse path forward
21、ing Simple algorithm developed to avoid duplicate packets on multi-access links RPF algorithm takes advantage of the IP routing table to compute a multicast tree for each source. RPF check When a multicast packet is received, note its source (S) and interface (I) If I belongs to the shortest path fr
22、om S, forward to all interfaces except I If test in step 2 is false, drop the packet Packet is never forwarded back out the RPF interface!,DVMRP exchange distance vectors,First multicast routing protocol ever deployed in the Internet Each router maintains a multicast routing table by exchanging dist
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- IPMULTICASTPPT
