Saturday, October 16, 2010

LAB: Connecting 2 PIM Domains seperated by IP Unicast only routing domain by using a Tunnel



Basically the concept is the same as my previous Post about the Multicast Load Sharing via Tunnel.

DIAGRAM

The diagram shows that 2 PIM domains are separated via a cloud of IP Unicast Domain. a tunnel is created between the 2 edge PIM routers.

config @ Godzilla

!
hostname Godzilla
!
ip multicast-routing
!
!
interface Tunnel0
ip unnumbered Ethernet0/0
ip pim sparse-dense-mode
tunnel source Ethernet0/0
tunnel destination 10.244.1.10
!
interface Ethernet0/0
ip address 10.244.1.1 255.255.255.0
full-duplex
!
interface Ethernet0/1
ip address 192.168.50.1 255.255.255.0
ip pim sparse-dense-mode
full-duplex
!
!
router ospf 1
log-adjacency-changes
passive-interface Tunnel0
network 10.0.0.0 0.255.255.255 area 0
network 192.168.0.0 0.0.255.255 area 0
!
ip http server
ip forward-protocol nd
!
!
ip pim send-rp-announce Ethernet0/1 scope 5
ip pim send-rp-discovery Ethernet0/1 scope 5
ip mroute 172.16.0.0 255.255.0.0 Tunnel0


config @ Mothra

!
hostname Mothra
!
!
ip multicast-routing
!
!
!
!
interface Tunnel0
ip unnumbered Ethernet0/0
ip pim sparse-dense-mode
tunnel source Ethernet0/0
tunnel destination 10.244.1.1
!
interface Ethernet0/0
ip address 10.244.1.10 255.255.255.0
full-duplex
!
interface Ethernet0/1
ip address 172.16.35.1 255.255.255.0
ip pim sparse-dense-mode
full-duplex
!
!
router ospf 1
log-adjacency-changes
passive-interface Tunnel0
network 0.0.0.0 255.255.255.255 area 0
!
ip mroute 192.168.0.0 255.255.0.0 Tunnel0
!

-----------------------------------
show commands
-----------------------------------

Godzilla#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 224.0.1.40), 00:06:44/00:00:26, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Tunnel0, Forward/Sparse-Dense, 00:06:44/00:00:00

(192.168.50.1, 224.0.1.40), 00:01:27/00:02:32, flags: LT
Incoming interface: Ethernet0/1, RPF nbr 0.0.0.0
Outgoing interface list:
Tunnel0, Forward/Sparse-Dense, 00:01:32/00:00:00


Godzilla#show ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
S - State Refresh Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
10.244.1.10 Tunnel0 00:03:14/00:01:27 v2 1 / S



Mothra#show ip mroute
IP Multicast Routing Table
Flags: D - Dense, S - Sparse, B - Bidir Group, s - SSM Group, C - Connected,
L - Local, P - Pruned, R - RP-bit set, F - Register flag,
T - SPT-bit set, J - Join SPT, M - MSDP created entry,
X - Proxy Join Timer Running, A - Candidate for MSDP Advertisement,
U - URD, I - Received Source Specific Host Report,
Z - Multicast Tunnel, z - MDT-data group sender,
Y - Joined MDT-data group, y - Sending to MDT-data group
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode

(*, 224.0.1.40), 00:03:33/00:02:12, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Ethernet0/1, Forward/Sparse-Dense, 00:03:33/00:00:00

(192.168.50.1, 224.0.1.39), 00:00:59/00:02:00, flags: PT
Incoming interface: Tunnel0, RPF nbr 10.244.1.1, Mroute
Outgoing interface list: Null


Mothra#show ip pim neighbor
PIM Neighbor Table
Mode: B - Bidir Capable, DR - Designated Router, N - Default DR Priority,
S - State Refresh Capable
Neighbor Interface Uptime/Expires Ver DR
Address Prio/Mode
10.244.1.1 Tunnel0 00:03:32/00:01:41 v2 1 / S

Mothra#mrinfo 192.168.50.1
192.168.50.1 [version 12.4] [flags: PMA]:
10.244.1.1 -> 10.244.1.10 [1/0/tunnel/pim]
192.168.50.1 -> 0.0.0.0 [1/0/pim/querier/leaf]

Mothra#mstat 192.168.50.1
Type escape sequence to abort.
Mtrace from 192.168.50.1 to 10.244.1.10 via RPF
From source (?) to destination (?)
Waiting to accumulate statistics......
Results after 10 seconds:

Source Response Dest Packet Statistics For Only For Traffic
192.168.50.1 10.244.1.10 All Multicast Traffic From 192.168.50.1
| __/ rtt 55 ms Lost/Sent = Pct Rate To 0.0.0.0
v / hop 55 ms --------------------- --------------------
192.168.50.1
10.244.1.1 ?
| ^ ttl 0
v | hop 0 ms -1/0 = --% 0 pps 0/0 = --% 0 pps
10.244.1.10 ?
| \__ ttl 1
v \ hop 0 ms 0 0 pps 0 0 pps
10.244.1.10 10.244.1.10
Receiver Query Source

Mothra#mtrace 192.168.50.1
Type escape sequence to abort.
Mtrace from 192.168.50.1 to 10.244.1.10 via RPF
From source (?) to destination (?)
Querying full reverse path...
0 10.244.1.10
-1 10.244.1.10 PIM/Static [192.168.0.0/16]
-2 10.244.1.1 PIM [192.168.50.0/24]
-3 192.168.50.1







No comments:

Post a Comment