学CCIE认证考试你需要掌握的技术文档-IPv6组播BSR和RP
下面是乾颐堂网络实验室助教提供的CCIE认证考试-IPv6组播BSR和RP,不清楚的可以咨询网站客服。
可以使用静态RP,BSR或嵌入式RP配置IPv6组播。在此示例中,我想向您展示如何使用BSR配置IPv6多播。这是我将使用的拓扑:
上面我们有3个路由器。R1将是组播流的接收者,R2将是BSR,R3将是RP。首先,我们必须完成我们的功课并在接口上配置所有IPv6地址:
R1(config)#ipv6 unicast-routing
R1(config)#interface fastEthernet 0/0
R1(config-if)#ipv6 address 2001:12::1/64
R2(config)#ipv6 unicast-routing
R2(config)#interface fastEthernet 0/0
R2(config-if)#ipv6 enable
R2(config-if)#exit
R2(config)#interface fastEthernet 1/1
R2(config-if)#ipv6 enable
R2(config-if)#exit R2(config)#interface loopback 0 R2(config-if)#ipv6 address 2001::2/128
R3(config)#ipv6 unicast-routing
R3(config)#interface fastEthernet 0/0
R3(config-if)#ipv6 enable
R3(config-if)#exit
R3(config)#interface loopback 0
R3(config-if)#ipv6 address 2001::3/128
启动并运行IPv6地址后,我们可以配置EIGRP来通告R2 / R3的环回接口和R1 / R2之间的2001:12 :: / 64网络:
R1(config)#ipv6 router eigrp 1
R1(config-rtr)#router-id 1.1.1.1
R1(config-rtr)#no shutdown
R1(config)#interface fastEthernet 0/0
R1(config-if)#ipv6 eigrp 1
R2(config)#ipv6 router eigrp 1
R2(config-rtr)#router-id 2.2.2.2
R2(config-rtr)#no shutdown
R2(config)#interface loopback 0
R2(config-if)#ipv6 eigrp 1
R2(config-if)#exit
R2(config)#interface fastEthernet 0/0
R2(config-if)#ipv6 eigrp 1
R2(config-if)#exit
R2(config)#interface fastEthernet 1/1
R2(config-if)#ipv6 eigrp 1
R3(config)#ipv6 unicast-routing
R3(config)#ipv6 router eigrp 1
R3(config-rtr)#router-id 3.3.3.3
R3(config-rtr)#no shutdown
R3(config)#interface loopback 0
R3(config-if)#ipv6 eigrp 1
R3(config-if)#exit
R3(config)#interface fastEthernet 0/0
R3(config-if)#ipv6 eigrp 1
因为我没有任何IPv4地址,所以我必须自己配置EIGRP路由器ID。使用上面的配置2001:12 :: / 64,2001 :: 2/128和2001 :: 3/128网络应该可以从任何路由器访问。现在我们可以继续我们的多播设置:
R1,R2 & R3:
(config)#ipv6 multicast-routing
首先为IPv6启用组播路由,否则我们无处可去。下一步是配置RP和BSR:
R3(config)#ipv6 pim bsr candidate rp 2001::3
使用ipv6 pim bsr candidate rp命令将R3作为Rendezvous Point广告...
R2(config)#ipv6 pim bsr candidate bsr 2001::2
并且R2作为BSR ...现在我们将配置R1加入多播组,我将在这个例子中使用FF07 :: 7:
R1(config)#interface fastEthernet 0/0
R1(config-if)#ipv6 mld join-group FF07::7
让我们看看R2是否找到了RP:
R2#show ipv6 pim bsr rp-cache
PIMv2 BSR C-RP Cache
BSR Candidate RP Cache
Group(s) FF00::/8, RP count 1
RP 2001::3 SM
Priority 192, Holdtime 150
Uptime: 00:00:06, expires: 00:02:23
R2将R3视为整个组播组范围的RP。我们还可以看一下组播路由表:
R2#show ipv6 mroute
Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group,
C - Connected, L - Local, I - Received Source Specific Host Report,
P - Pruned, R - RP-bit set, F - Register flag, T - SPT-bit set,
J - Join SPT
Timers: Uptime/Expires
Interface state: Interface, State
(*, FF07::7), 00:03:53/never, RP 2001::3, flags: SCJ
Incoming interface: FastEthernet0/1
RPF nbr: FE80::C006:23FF:FE22:0
Immediate Outgoing interface list:
FastEthernet0/0, Forward, 00:03:53/never
上面我们看到R2为RP建立了FF07 :: 7的(*,G)条目。让我们生成一些多播流量,看它是否到达R1:
R3#ping ff07::7
Output Interface: FastEthernet0/0
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to FF07::7, timeout is 2 seconds:
Packet sent with a source address of 2001::3
Reply to request 0 received from 2001:12::1, 8 ms
Reply to request 1 received from 2001:12::1, 8 ms
Reply to request 2 received from 2001:12::1, 8 ms
Reply to request 3 received from 2001:12::1, 4 ms
Reply to request 4 received from 2001:12::1, 8 ms
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/7/8 ms
5 multicast replies and 0 errors.
我们去...... R3收到R1的回复
详情可咨询官网客服
乾颐堂客服热线:400-618-8070
乾颐堂官网:www.qytang.com
乾颐堂网络实验室 我们为您想的更多
姓名:
Q Q:
电话:
|