Best Current Practices for IPv4 Multicast Deployment.ppt
《Best Current Practices for IPv4 Multicast Deployment.ppt》由会员分享,可在线阅读,更多相关《Best Current Practices for IPv4 Multicast Deployment.ppt(50页珍藏版)》请在麦多课文档分享上搜索。
1、Best Current Practices for IPv4 Multicast Deployment,Bill Nickless nicklessmcs.anl.gov http:/www.mcs.anl.gov/home/nickless,What is Multicast?,A multicast sender simply sends its data, and intervening routers “conspire“ to get the data to all interested listeners. (S. Deering) Destination of IP multi
2、cast packets is a “Group” address, within 224.0.0.0/4.,Notation,Specific source address(es): S Specific group address(es): G Specific source traffic for a group: (S,G) All sources traffic for a group: (*,G) Rendezvous Point RP,Any Source Multicast,Senders send multicast group-addressed packets. Rece
3、ivers register their interest in groups by way of IGMPv2 (*,G) Joins Network keeps track of all senders for each group, and delivers packets from all senders to each interested Receiver.,Source Specific Multicast,Senders send multicast group-addressed packets. Receivers register their interest in sp
4、ecific sources sending to specific groups by way of IGMPv3 (S,G) Joins (well, group membership reports.) Receivers are responsible for specifying which Senders traffic they want to receive.,Reachability,NOT DEFINED BY INTERNET STANDARDS,Reachability (Where To?),NOT DEFINED BY INTERNET STANDARDS Unic
5、ast reachability is interpreted by implementation and practice as: Send me IP packets with destination addresses that match this advertisement. Think show ip route,Reachability (Whence?),NOT DEFINED BY INTERNET STANDARDS Multicast reachability is interpreted by implementation and practice as: Heres
6、where to get IP packets from sources that match this advertisement. Think show ip rpf,Reachability Examples,terra% netstat rn Kernel IP routing table Destination Gateway Genmask Flags Iface 140.221.11.103 0.0.0.0 255.255.255.255 UH eth0 140.221.8.0 0.0.0.0 255.255.252.0 U eth0 127.0.0.0 0.0.0.0 255.
7、0.0.0 U lo 224.0.0.0 0.0.0.0 240.0.0.0 U eth0 0.0.0.0 140.221.11.253 0.0.0.0 UG eth0,Reachability Examples,Kiwi#show ip route 140.221.11.103 Routing entry for 140.221.8.0/22Known via “ospf 683“, distance 110, metric 1117, type intra areaLast update from 140.221.20.124 on GigabitEthernet5/0, 03:35:56
8、 agoRouting Descriptor Blocks:* 140.221.20.124, from 140.221.47.6, 03:35:56 ago, via GigabitEthernet5/0Route metric is 1117, traffic share count is 1,Reachability Examples,Kiwi#show ip rpf 140.221.11.103 RPF information for terra.mcs.anl.gov (140.221.11.103)RPF interface: GigabitEthernet5/0RPF neigh
9、bor: stardust-msfc-20.mcs.anl.gov (140.221.20.124)RPF route/mask: 140.221.8.0/22RPF type: unicast (ospf 683)RPF recursion count: 0Doing distance-preferred lookups across tables,The Old MBONE,Excellent first approximation. Used tunnels to encapsulate multicast traffic over unicast paths. Routing done
10、 by user-space daemons running on general purpose Unix boxes. Internet Group Management Protocol (IGMP) (Think Multicast ARP) Pre-dates the World Wide Web (hence SDR),Lessons Learned from MBONE,Distance Vector Metric Routing Protocol (DVMRP) does not scale Easy to create IP Multicast “amplifiers”. S
11、eparate tunneled routing infrastructure not aligned with modern BGP Internetworking. Flood & Prune does not scale Examples: PIM-Dense Mode, DVMRP. Not sensitive to available bandwidth. Requires downstream routers that are smart and powerful enough to send prune messages.,Applying Those Lessons,Multi
12、cast Border Gateway Protocol. Provides reachability and policy control for multicast routing, just as BGP does for unicast. Protocol Independent Multicast (Sparse Mode) Listeners receive traffic only when requested. Forms multicast distribution trees. Multicast Source Discovery Protocol Finding acti
13、ve sources in other PIM Sparse Mode domains (usually other ASes).,Setting Reachability Policy: Multicast Border Gateway Protocol,RFC 2283 adds the MP_REACH_NLRI attribute to BGP-4. Identifies a BGP route as unicast, multicast, or both When implemented in a router, all the standard BGP machinery is a
14、vailable for prefix filtering, preference setting, MEDs, AS length comparisons, etc. M-BGP routes can be independent of BGP, allowing for different inter-AS unicast/multicast reachability.,Cisco M-BGP Configuration,router bgp 683 network 130.202.0.0 nlri unicast multicast network 140.221.0.0 nlri un
15、icast multicast neighbor 192.5.170.130 remote-as 145 nlri unicast multicast neighbor 192.5.170.130 description vBNS neighbor 192.5.170.130 soft-reconfiguration inbound neighbor 192.5.170.130 route-map from-vbns-lp-400 in neighbor 192.5.170.130 route-map to-vbns-med-10 out,Cisco M-BGP Configuration,r
16、oute-map from-vbns-lp-400 permit 10 match nlri unicast set local-preference 400 ! route-map from-vbns-lp-400 permit 15 match as-path 145 match nlri multicast set local-preference 400 ! route-map to-vbns-med-10 permit 10 match ip address 50 set metric 10,Cisco M-BGP Configuration,access-list 50 permi
17、t 140.221.0.0 access-list 50 permit 130.202.0.0 ! ip as-path access-list 145 deny _24_ ip as-path access-list 145 deny _293_ ip as-path access-list 145 deny _11537_ ip as-path access-list 145 permit .*,Juniper M-BGP Configuration,routing-options rib inet.2 static route 141.142.0.0/16 reject;route 14
18、1.142.109.0/25 next-hop 141.142.11.74;route 141.142.109.128/25 next-hop 141.142.11.74;route 141.142.104.0/24 next-hop 141.142.11.74;route 141.142.105.0/24 next-hop 141.142.11.74;route 141.142.108.0/24 next-hop 141.142.11.74; ,Juniper M-BGP Configuration,routing-options rib-groups ifrg import-rib ine
19、t.0 inet.2 ; mcrg export-rib inet.2; import-rib inet.2; igp-rg export-rib inet.0; import-rib inet.0 inet.2 ; ,Juniper M-BGP Configuration,protocols bgp group anl import bgp-anl-accept reject-all ;family inet any; export bgp-announce-ncsa reject-all ;peer-as 683;neighbor 206.220.243.21; ,Monitoring M
20、-BGP (Cisco),Kiwi#show ip mbgp sum BGP router identifier 192.5.170.2, local AS number 683 MBGP table version is 324285 4121 network entries and 12621 paths using 862335 bytes of memory Neighbor V AS MsgRcvd MsgSent TblVer InQ OutQ 192.5.170.130 4 145 53420 20497 324285 0 0 Up/Down State/PfxRcd 5d14h
21、 346,Kiwi#show ip mbgp 128.163.3.214 MBGP routing table entry for 128.163.0.0/16, version 323761 Paths: (3 available, best #2)24 145 10490 10437, (aggregated by 10437 128.163.55.253), (received-only)192.12.123.10 from 192.12.123.10 (198.10.80.66)Origin IGP, localpref 100, valid, external, atomic-agg
22、regate145 10490 10437, (aggregated by 10437 128.163.55.253)192.5.170.130 from 192.5.170.130 (204.147.135.241)Origin IGP, localpref 400, valid, external, atomic-aggregate, best145 10490 10437, (aggregated by 10437 128.163.55.253), (received-only)192.5.170.130 from 192.5.170.130 (204.147.135.241)Origi
23、n IGP, localpref 100, valid, external, atomic-aggregate,Monitoring M-BGP (Juniper),nicklesscharlie show bgp neighbor 206.220.243.21 Peer: 206.220.243.21+179 AS 683 Local: 206.220.243.160+1969 AS 1224 . . .NLRI advertised by peer: inet-unicast inet-multicastNLRI for this session: inet-unicast inet-mu
24、lticastPeer supports Refresh capability (2)Table inet.0 Bit: 10006Active Prefixes: 13Received Prefixes: 13Suppressed due to damping: 0Table inet.2 Bit: 20006Active Prefixes: 9Received Prefixes: 9Suppressed due to damping: 0,nicklesscharlie show route table inet.2 140.221.34.1 inet.2: 5046 destinatio
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- BESTCURRENTPRACTICESFORIPV4MULTICASTDEPLOYMENTPPT

链接地址:http://www.mydoc123.com/p-378911.html