Internet组播简介.ppt
《Internet组播简介.ppt》由会员分享,可在线阅读,更多相关《Internet组播简介.ppt(134页珍藏版)》请在三一办公上搜索。
1、1,清华大学计算机系,Internet组播简介,2,主要内容,为什么需要组播?组播地址主机和路由器的交互:IGMP 组播分发树组播转发域内组播路由协议域间组播路由协议IPv6,3,主要内容,为什么需要组播?组播地址主机和路由器的交互:IGMP 组播分发树组播转发域内组播路由协议域间组播路由协议IPv6,4,Server,Router,Unicast,Server,Router,Multicast,单播和组播的比较,5,Example:Audio StreamingAll clients listening to the same 8 Kbps audio,0,0.2,0.4,0.6,0.8,T
2、raffic,Mbps,1,20,40,60,80,100,#Clients,Multicast,Unicast,组播的优势,Enhanced Efficiency:Controls network traffic and reduces server and CPU loadsOptimized Performance:Eliminates traffic redundancyDistributed Applications:Makes multipoint applications possible,6,组播带来的问题,Best Effort Delivery:Drops are to b
3、e expected.Multicast applications should not expect reliable delivery of data and should be designed accordingly.Reliable Multicast is still an area for much research No Congestion Avoidance:Lack of TCP windowing and“slow-start”mechanisms can result in network congestion.If possible,Multicast applic
4、ations should attempt to detect and avoid congestion conditions,组播是基于UDP的!,7,组播带来的问题,Duplicates:Some multicast protocol mechanisms(e.g.Asserts,Registers and SPT Transitions)result in the occasional generation of duplicate packetsOut of Order Delivery:Some protocol mechanisms may also result in out o
5、f order delivery of packets,8,组播的应用,MultimediaStreaming media,IPTVTraining,corporate communications Conferencingvideo/audioNet GameAny one-to-many data push applications,9,主要内容,为什么需要组播?组播地址主机和路由器的交互:IGMP 组播分发树组播转发域内组播路由协议域间组播路由协议IPv6,10,IPv4 Multicast Group Addresses 224.0.0.0239.255.255.255 Class“D
6、”Address Space High order bits of 1st Octet=“1110”Reserved Link-local Addresses 224.0.0.0224.0.0.255 Transmitted with TTL=1 Examples:224.0.0.1 All systems on this subnet224.0.0.2 All routers on this subnet224.0.0.4 DVMRP routers224.0.0.5 OSPF routers224.0.0.13 PIMv2 routers,组播地址,11,Administratively
7、Scoped Addresses239.0.0.0239.255.255.255Private address spaceSimilar to RFC1918 unicast addressesNot used for global Internet trafficUsed to limit“scope”of multicast trafficSame addresses may be in use at different locations for different multicast sessionsExamplesSite-local scope:239.253.0.0/16Orga
8、nization-local scope:239.192.0.0/14,组播地址,12,32 Bits,28 Bits,25 Bits,23 Bits,48 Bits,01-00-5e-7f-00-01,1110,5 BitsLost,组播地址,IP Multicast MAC Address Mapping(FDDI and Ethernet),239.255.0.1,13,224.1.1.1224.129.1.1225.1.1.1225.129.1.1.238.1.1.1238.129.1.1239.1.1.1239.129.1.1,0 x0100.5E01.0101,1-Multicas
9、t MAC Address(FDDI and Ethernet),32-IP Multicast Addresses,组播地址,Be Aware of the 32:1 Address Overlap,IP Multicast MAC Address Mapping(FDDI&Ethernet),14,组播地址,Dynamic Group Address AssignmentHistorically accomplished using SDR applicationSessions/groups announced over well-known multicast groupsAddres
10、s collisions detected and resolved at session creation timeHas problems scaling,15,组播地址,Future dynamic techniques under considerationMulticast Address Set-Claim(MASC)Hierarchical,dynamic address allocation schemeExtremely complex garbage-collection problem Long ways offMADCAPSimilar to DHCPNeed appl
11、ication and host stack support,16,组播地址,Static Group Address AssignmentTemporary method to meet immediate needsGroup range:233.0.0.0-233.255.255.255Your AS number is inserted in middle two octetsRemaining low-order octet used for group assignmentDefined in IETF RFC3180GLOP Addressing in 233/8,17,主要内容
12、,为什么需要组播?组播地址主机和路由器的交互:IGMP 组播分发树组播转发域内组播路由协议域间组播路由协议IPv6,18,Routers solicit group membership from directly connected hostsRFC 1112 specifies version 1 of IGMPRFC 2236 specifies version 2 of IGMPRFC 3376 specifies version 3 of IGMPSupported on latest service pack for Windows and most UNIX systems,Ho
13、w hosts tell routers about group membership,主机和路由器的交互:IGMP,19,H3,Host sends IGMP Report to join group,H1,H2,Joining a Group,主机和路由器的交互:IGMP,20,Router sends periodic Queries to 224.0.0.1,One member per group per subnet reports,Other members suppress reports,Maintaining a Group,主机和路由器的交互:IGMP,21,Host q
14、uietly leaves group,H1,H3,Router sends 3 General Queries(60 secs apart),No IGMP Report for the group is received,Group times out(Worst case delay=3 minutes),H2,Leaving a Group(IGMPv1),主机和路由器的交互:IGMP,22,Host sends Leave message to 224.0.0.2,H1,H3,Router sends Group specific query to 224.1.1.1,No IGMP
15、 Report is received within 3 seconds,Group 224.1.1.1 times out,H2,Leaving a Group(IGMPv2),主机和路由器的交互:IGMP,23,IGMPv3,RFC3376Enables hosts to listen only to a specified subset of the hosts sending to the group,24,Source=1.1.1.1Group=224.1.1.1,H1-Member of 224.1.1.1,R1,R3,R2,Source=2.2.2.2Group=224.1.1.
16、1,H1 wants to receive from S=1.1.1.1 but not from S=2.2.2.2With IGMP,specific sources can be pruned back-S=2.2.2.2 in this case,IGMPv3:Join 1.1.1.1,224.1.1.1Leave 2.2.2.2,224.1.1.1,IGMPv3,25,主要内容,为什么需要组播?组播地址主机和路由器的交互:IGMP 组播分发树组播转发域内组播路由协议域间组播路由协议IPv6,26,Shortest Path or Source Distribution Tree,Re
17、ceiver 1,B,E,A,D,F,Source 1,Notation:(S,G)S=Source G=Group,C,Receiver 2,Source 2,组播分发树,27,Receiver 1,B,E,A,D,F,Source 1,Notation:(S,G)S=Source G=Group,C,Receiver 2,Source 2,组播分发树,Shortest Path or Source Distribution Tree,28,组播分发树,Shared Distribution Tree,Receiver 1,B,E,A,D,F,Notation:(*,G)*=All Sour
18、ces G=Group,C,Receiver 2,(RP)PIM Rendezvous Point,(RP),29,组播分发树,Shared Distribution Tree,Receiver 1,B,E,A,F,Notation:(*,G)*=All Sources G=Group,C,Receiver 2,(RP)PIM Rendezvous Point,Shared Tree,D,(RP),30,组播分发树,Source or Shortest Path treesuses more memory O(S G)but you get optimal paths from source
19、to all receiversminimizes delay Shared treesuses less memory O(G)but you may get sub-optimal paths from source to all receiversmay introduce extra delay,Characteristics of Distribution Trees,31,主要内容,为什么需要组播?组播地址主机和路由器的交互:IGMP 组播分发树组播转发域内组播路由协议域间组播路由协议IPv6,32,组播转发,Multicast Forwarding is backwards fr
20、om Unicast ForwardingUnicast Forwarding is concerned about where the packet is goingMulticast Forwarding is concerned about where the packet came fromMulticast Forwarding uses“Reverse Path Forwarding”,33,组播转发,What is RPF?A router forwards a multicast datagram only if received on the up stream interf
21、ace to the source(i.e.it follows the distribution tree)The RPF Check The routing table used for multicasting is checked against the“source”IP address in the packet If the datagram arrived on the interface specified in the routing table for the source address;then the RPF check succeeds Otherwise,the
22、 RPF Check fails,Reverse Path Forwarding(RPF),34,组播转发,Source151.10.3.21,Example:RPF Checking,Mcast Packets,RPF Check Fails Packet arrived on wrong interface!,35,组播转发,RPF Check Fails!,Unicast Route TableNetwork Interface151.10.0.0/16S1198.14.32.0/24S0204.1.16.0/24E0,A closer look:RPF Check Fails,E0,S
23、1,S0,S2,S1,36,组播转发,A closer look:RPF Check Succeeds,RPF Check Succeeds!,Unicast Route TableNetwork Interface151.10.0.0/16S1198.14.32.0/24S0204.1.16.0/24E0,E0,S1,S0,S2,S1,Forward out all outgoing interfaces.(i.e.down the distribution tree),37,主要内容,为什么需要组播?组播地址主机和路由器的交互:IGMP 组播分发树组播转发域内组播路由协议域间组播路由协议I
24、Pv6,38,Multicast Routing is not unicast routing You have to think of it differently It is not like OSPF It is not like RIP It is not like anything you may be familiar with,组播路由和单播路由,39,组播路由协议的类型,Dense-modeUses“Push”ModelTraffic Flooded throughout networkPruned back where it is unwantedFlood&Prune be
25、havior(typically every 3 minutes)Sparse-modeUses“Pull”ModelTraffic sent only to where it is requestedExplicit Join behavior,40,域内组播路由协议概况,Currently,there are four multicast routing protocolsDVMRPv3(Internet-draft)DVMRPv1(RFC 1075)is obsolete and unused.A variant is currently implementedMOSPF(RFC 158
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- Internet 简介
链接地址:https://www.31ppt.com/p-2349634.html