Kamis, 09 Mei 2013
Multicast Routing Sparse Dense Mode
Pada Multicast routing sparse dense mode, pemilihan RP dilakukan secara Auto dengan mengkonfigurasikan mapping agent.
Bagi yang belum baca, silakan kunjungi link ini
Topologi Lab :
Konfigurasi R1 :
ip multicast-routing
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 12.12.12.1 255.255.255.0
ip pim sparse-dense-mode
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
Konfigurasi R2 :
ip multicast-routing
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim sparse-dense-mode
!
interface Ethernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim sparse-dense-mode
!
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
ip pim send-rp-announce Loopback0 scope 255 ------>> menjadikan Lo0 R2 sbgai RP
ip pim send-rp-discovery scope 255 ------>> utk menjadikan Mapping Agent
Konfigurasi R3 :
ip multicast-routing
interface Loopback0
ip address 3.3.3.3 255.255.255.0
ip pim sparse-dense-mode
ip igmp join-group 239.0.0.1
!
interface Ethernet0/0
ip address 23.23.23.3 255.255.255.0
ip pim sparse-dense-mode
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
Verifikasi :
R2#sh ip pim rp mapp
PIM Group-to-RP Mappings
This system is an RP (Auto-RP) -------->> sbgai RP
This system is an RP-mapping agent ------>> sbgai Mapping Agent
Group(s) 224.0.0.0/4
RP 2.2.2.2 (?), v2v1
Info source: 2.2.2.2 (?), elected via Auto-RP
Uptime: 00:10:57, expires: 00:02:03
R3#sh ip pim rp mapp
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 2.2.2.2 (?), v2v1
Info source: 23.23.23.2 (?), elected via Auto-RP
Uptime: 00:14:59, expires: 00:02:56
R1#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 3.3.3.3, 19 ms
Reply to request 0 from 3.3.3.3, 43 ms
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, E - Extranet,
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,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.0.0.1), 00:01:10/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(1.1.1.1, 239.0.0.1), 00:00:55/00:02:04, flags: FT
Incoming interface: Loopback0, RPF nbr 0.0.0.0, Registering
Outgoing interface list:
Ethernet0/0, Forward/Sparse-Dense, 00:00:55/00:02:34
(12.12.12.2, 239.0.0.1), 00:01:10/00:01:49, flags: PT
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(*, 230.0.0.1), 00:02:02/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(1.1.1.1, 230.0.0.1), 00:02:02/00:00:57, flags: PFT
Incoming interface: Loopback0, RPF nbr 0.0.0.0
Outgoing interface list: Null
(*, 224.0.1.39), 00:18:04/stopped, RP 0.0.0.0, flags: DC
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Ethernet0/0, Forward/Sparse-Dense, 00:18:04/stopped
(2.2.2.2, 224.0.1.39), 00:18:04/00:02:45, flags: PT
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(*, 224.0.1.40), 00:18:04/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:18:04/stopped
Ethernet0/0, Forward/Sparse-Dense, 00:18:04/stopped
(12.12.12.2, 224.0.1.40), 00:18:04/00:02:50, flags: LT
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:18:04/stopped
Bagi yang belum baca, silakan kunjungi link ini
Topologi Lab :
Konfigurasi R1 :
ip multicast-routing
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 12.12.12.1 255.255.255.0
ip pim sparse-dense-mode
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
Konfigurasi R2 :
ip multicast-routing
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-dense-mode
!
interface Ethernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim sparse-dense-mode
!
interface Ethernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim sparse-dense-mode
!
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
ip pim send-rp-announce Loopback0 scope 255 ------>> menjadikan Lo0 R2 sbgai RP
ip pim send-rp-discovery scope 255 ------>> utk menjadikan Mapping Agent
Konfigurasi R3 :
ip multicast-routing
interface Loopback0
ip address 3.3.3.3 255.255.255.0
ip pim sparse-dense-mode
ip igmp join-group 239.0.0.1
!
interface Ethernet0/0
ip address 23.23.23.3 255.255.255.0
ip pim sparse-dense-mode
router ospf 1
network 0.0.0.0 255.255.255.255 area 0
Verifikasi :
R2#sh ip pim rp mapp
PIM Group-to-RP Mappings
This system is an RP (Auto-RP) -------->> sbgai RP
This system is an RP-mapping agent ------>> sbgai Mapping Agent
Group(s) 224.0.0.0/4
RP 2.2.2.2 (?), v2v1
Info source: 2.2.2.2 (?), elected via Auto-RP
Uptime: 00:10:57, expires: 00:02:03
R3#sh ip pim rp mapp
PIM Group-to-RP Mappings
Group(s) 224.0.0.0/4
RP 2.2.2.2 (?), v2v1
Info source: 23.23.23.2 (?), elected via Auto-RP
Uptime: 00:14:59, expires: 00:02:56
R1#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 3.3.3.3, 19 ms
Reply to request 0 from 3.3.3.3, 43 ms
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, E - Extranet,
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,
V - RD & Vector, v - Vector
Outgoing interface flags: H - Hardware switched, A - Assert winner
Timers: Uptime/Expires
Interface state: Interface, Next-Hop or VCD, State/Mode
(*, 239.0.0.1), 00:01:10/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(1.1.1.1, 239.0.0.1), 00:00:55/00:02:04, flags: FT
Incoming interface: Loopback0, RPF nbr 0.0.0.0, Registering
Outgoing interface list:
Ethernet0/0, Forward/Sparse-Dense, 00:00:55/00:02:34
(12.12.12.2, 239.0.0.1), 00:01:10/00:01:49, flags: PT
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(*, 230.0.0.1), 00:02:02/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(1.1.1.1, 230.0.0.1), 00:02:02/00:00:57, flags: PFT
Incoming interface: Loopback0, RPF nbr 0.0.0.0
Outgoing interface list: Null
(*, 224.0.1.39), 00:18:04/stopped, RP 0.0.0.0, flags: DC
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Ethernet0/0, Forward/Sparse-Dense, 00:18:04/stopped
(2.2.2.2, 224.0.1.39), 00:18:04/00:02:45, flags: PT
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list: Null
(*, 224.0.1.40), 00:18:04/stopped, RP 0.0.0.0, flags: DCL
Incoming interface: Null, RPF nbr 0.0.0.0
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:18:04/stopped
Ethernet0/0, Forward/Sparse-Dense, 00:18:04/stopped
(12.12.12.2, 224.0.1.40), 00:18:04/00:02:50, flags: LT
Incoming interface: Ethernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse-Dense, 00:18:04/stopped
Langganan:
Posting Komentar (Atom)
Tidak ada komentar:
Posting Komentar