R1
no ip domain lookup
ip multicast-routing
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip pim sparse-dense-mode
ip igmp join-group 239.0.0.1
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
router ospf 1
log-adjacency-changes
network 1.1.1.1 0.0.0.0 area 0
network 12.12.12.1 0.0.0.0 area 0
ip pim send-rp-announce Loopback0 scope 255 group-list 1
ip pim send-rp-discovery scope 255
!
access-list 1 permit 239.1.1.1
R2
no ip domain lookup
ip multicast-routing
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-dense-mode
ip igmp join-group 239.1.1.1
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
network 2.2.2.2 0.0.0.0 area 0
network 12.12.12.2 0.0.0.0 area 0
network 23.23.23.2 0.0.0.0 area 0
ip pim send-rp-announce Loopback0 scope 255 group-list 1
ip pim send-rp-discovery scope 255
!
access-list 1 permit 239.0.0.1
R3
ip multicast-routing
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip pim sparse-dense-mode
interface FastEthernet0/1
ip address 23.23.23.3 255.255.255.0
ip pim sparse-dense-mode
duplex auto
speed auto
!
router ospf 1
log-adjacency-changes
network 3.3.3.3 0.0.0.0 area 0
network 23.23.23.3 0.0.0.0 area 0
untuk memverifikasi multicast, bisa dengan ping ke 239.0.0.1
R3#sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s) 239.0.0.1/32
RP 2.2.2.2 (?), v2v1
Info source: 12.12.12.1 (?), elected via Auto-RP
Uptime: 00:01:32, expires: 00:02:37
Group(s) 239.1.1.1/32
RP 1.1.1.1 (?), v2v1
Info source: 12.12.12.1 (?), elected via Auto-RP
Uptime: 00:01:32, expires: 00:02:33
R3#ping 239.0.0.1
Type escape sequence to abort.
Sending 1, 100-byte ICMP Echos to 239.0.0.1, timeout is 2 seconds:
Reply to request 0 from 12.12.12.1, 224 ms
Reply to request 0 from 12.12.12.1, 280 ms
R1#sh ip pim rp mapping
PIM Group-to-RP Mappings
This system is an RP (Auto-RP)
This system is an RP-mapping agent
Group(s) 239.0.0.1/32
RP 2.2.2.2 (?), v2v1
Info source: 2.2.2.2 (?), elected via Auto-RP
Uptime: 00:02:21, expires: 00:02:38
Group(s) 239.1.1.1/32
RP 1.1.1.1 (?), v2v1
Info source: 1.1.1.1 (?), elected via Auto-RP
Uptime: 00:03:30, expires: 00:02:27
R1#sh ip mrou
R1#sh 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
(*, 239.1.1.1), 00:02:36/00:02:53, RP 1.1.1.1, flags: S
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
FastEthernet0/0, Forward/Sparse-Dense, 00:02:36/00:02:53
(*, 239.0.0.1), 00:03:40/stopped, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:03:40/00:02:17
(3.3.3.3, 239.0.0.1), 00:00:59/00:02:02, flags: LJT
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:01:00/00:02:16
(23.23.23.3, 239.0.0.1), 00:01:00/00:02:02, flags: LJT
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:01:00/00:02:16
(*, 224.0.1.39), 00:03:41/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
FastEthernet0/0, Forward/Sparse-Dense, 00:03:41/00:00:00
Loopback0, Forward/Sparse-Dense, 00:03:41/00:00:00
(2.2.2.2, 224.0.1.39), 00:03:29/00:02:38, flags: LT
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:03:29/00:00:00
(1.1.1.1, 224.0.1.39), 00:03:39/00:02:20, flags: LT
Incoming interface: Loopback0, RPF nbr 0.0.0.0
Outgoing interface list:
FastEthernet0/0, Forward/Sparse-Dense, 00:03:39/00:00:00
(*, 224.0.1.40), 00:03:42/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
FastEthernet0/0, Forward/Sparse-Dense, 00:03:32/00:00:00
Loopback0, Forward/Sparse-Dense, 00:03:42/00:00:00
(12.12.12.2, 224.0.1.40), 00:03:31/00:02:26, flags: LT
Incoming interface: FastEthernet0/0, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:03:31/00:00:00
Tidak ada komentar:
Posting Komentar