Multicast: Configuring tunnel:
·
Tunnel
configuring is required when we have to send multicast traffic through
non-multicast enabled routers.
·
Let
me take a small topology to configure this:
R3------R1--------R2-------R4
·
Multicast
routing is enabled on R3 and R4
·
Multicast
routing is not enabled on R1 and R2
·
R3
is the server and R4’s loopback is the client
·
Tunnel
has to be created between R3 and R4 and enable spase-mode under tunnel
interfaces.
R1#show run |
i multicast
R1#
R2# show run |
i multicast
R2#
R3#show run
int tun1
Building
configuration...
Current
configuration : 123 bytes
!
interface
Tunnel1
ip unnumbered Loopback0
ip pim sparse-mode
tunnel source Loopback0
tunnel destination 4.4.4.4
end
R3#show run
int loop0
Building
configuration...
Current
configuration : 83 bytes
!
interface
Loopback0
ip address 3.3.3.3 255.255.255.255
ip pim sparse-mode
end
R3#show run |
i rp
ip
pim rp-address 4.4.4.4
ip
pim autorp listener
R3#
R4#show run
int tun1
Building
configuration...
Current
configuration : 123 bytes
!
interface
Tunnel1
ip unnumbered Loopback0
ip pim sparse-mode
tunnel source Loopback0
tunnel destination 3.3.3.3
end
R4#show run
int loop0
Building
configuration...
Current
configuration : 116 bytes
!
interface
Loopback0
ip address 4.4.4.4 255.255.255.255
ip pim sparse-mode
ip igmp join-group 228.28.28.28
end
R4#show run |
i rp
ip
pim rp-address 4.4.4.4
ip
pim autorp listener
R4#show
run | i mroute
ip
mroute 0.0.0.0 0.0.0.0 Tunnel1
R4#
Observation:
·
R1
and R2 are not running multicast routing
·
Tunnel
has been created between R3 and R4
·
R4
has mroute pointing towards tunnel interface, because R3 is the course and RPF
will fail without this mroute.
·
Now, I’m initiating ping form the server, R3
R3#ping
228.28.28.28
Type
escape sequence to abort.
Sending
1, 100-byte ICMP Echos to 228.28.28.28, timeout is 2 seconds:
Reply
to request 0 from 4.4.4.4, 104 ms
R3#
Observation:
·
Multicast
functionality is fine; R4 is receiving multicast traffic from R3.
·
Now,
let me see multicast routing tables:
R3#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
(*,
228.28.28.28), 00:00:44/stopped, RP 4.4.4.4, flags: SPF
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list: Null
(3.3.3.3,
228.28.28.28), 00:00:44/00:02:45, flags: FT
Incoming interface: Loopback0, RPF nbr
0.0.0.0, Registering
Outgoing interface list:
Tunnel1, Forward/Sparse, 00:00:44/00:02:45
(*,
224.0.1.40), 00:11:47/00:02:59, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Tunnel1, Forward/Sparse, 00:11:47/00:00:00
Loopback0, Forward/Sparse,
00:11:47/00:00:00
R3#
R4#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
(*,
228.28.28.28), 09:14:25/stopped, RP 4.4.4.4, flags: SJCL
Incoming interface: Null, RPF nbr 0.0.0.0,
Mroute
Outgoing interface list:
Loopback0, Forward/Sparse,
09:14:25/00:02:16
(3.3.3.3, 228.28.28.28),
00:00:48/00:02:16, flags: LJT
Incoming interface: Tunnel1, RPF nbr 3.3.3.3, Mroute
Outgoing interface list:
Loopback0, Forward/Sparse,
00:00:48/00:02:16
(*,
224.0.1.40), 00:11:47/00:02:13, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Tunnel1, Forward/Sparse, 00:11:47/00:00:00
Loopback0, Forward/Sparse,
00:11:47/00:00:00
R4#
No comments:
Post a Comment