多播静态路由引起的循环问题的解决


一、问题:
在r3和r1之间使用了GRE通道,所有的路由器接口配置为sparse-mode,R4 ip为(1.1.4.4)但R1无法ping通多播源 。
二、示意图如下:
multicast source -----R5------R3-------R223----R1--e0
............................................
............................................
............................................R4
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
三、原配置如下:
R1#mtrace 1.1.15.1 150.100.2.1 239.255.8.8
Type escape sequence to abort.
Mtrace from 1.1.15.1 to 150.100.2.1 via group 239.255.8.8
From source (?) to destination (?)
Querying full reverse path...
0 150.100.2.1
-1 1.1.12.5 PIM [default]
-2 1.1.12.3 PIM [default]
-3 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-4 1.1.16.3 PIM [default]
-5 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-6 1.1.16.3 PIM [default]
-7 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-8 1.1.16.3 PIM [default]
-9 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-10 1.1.16.3 PIM [default]
-11 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-12 1.1.16.3 PIM [default]
-13 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-14 1.1.16.3 PIM [default]
-15 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-16 1.1.16.3 PIM [default]
-17 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-18 1.1.16.3 PIM [default]
-19 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-20 1.1.16.3 PIM [default]
-21 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-22 1.1.16.3 PIM [default]
-23 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-24 1.1.16.3 PIM [default]
-25 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-26 1.1.16.3 PIM [default]
-27 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-28 1.1.16.3 PIM [default]
-29 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-30 1.1.16.3 PIM [default]
-31 1.1.16.4 PIM Reached RP/Core [1.1.15.0/24]
-32 1.1.16.3 PIM [default]
R1#
04:55:18: MRT: Update (*, 224.0.1.40), RPF Null, PC 0x354F1F4
R1#sh run
Building configuration...
Current configuration : 1546 bytes
!
version 12.1
no service single-slot-reload-enable
service timestamps debug uptime
service timestamps log uptime
no service passWord-encryption
!
hostname R1
!
logging rate-limit console 10 except errors
!
ip subnet-zero
no ip finger
no ip domain-lookup
!
ip multicast-routing
cns event-service server
!
!
!
interface Loopback0
ip address 1.1.1.1 255.255.255.0
ip ospf network point-to-point
!
interface Tunnel0
ip address 1.1.103.1 255.255.255.252
ip pim sparse-mode
tunnel source Loopback0
tunnel destination 1.1.3.3
!
interface Ethernet0
ip address 1.1.15.1 255.255.255.0
ip pim sparse-mode
!
interface Ethernet1
ip address 1.1.11.1 255.255.255.0
!
interface Serial0
no ip address
encapsulation frame-relay
no frame-relay inverse-arp
frame-relay lmi-type cisco
!
interface Serial0.1 point-to-point
ip address 1.1.8.1 255.255.255.252
frame-relay interface-dlci 106
!
interface Serial1
no ip address
shutdown
!
router ospf 64
router-id 1.1.1.1
log-adjacency-changes
area 0 authentication message-digest
area 11 virtual-link 1.1.3.3 message-digest-key 1 md5 cisco
passive-interface Tunnel0
network 1.1.1.1 0.0.0.0 area 11
network 1.1.8.1 0.0.0.0 area 11
network 1.1.11.1 0.0.0.0 area 11
network 1.1.15.1 0.0.0.0 area 10
!
ip kerberos source-interface any
ip classless
no ip http server
ip pim rp-address 1.1.4.4
ip mroute 150.100.2.0 255.255.255.0 Tunnel0

推荐阅读