Sekilas mengenai Multicast Sparse Mode :
- Pada sparse mode, host harus mengirimkan terlbih dahulu, baru kemudian akan dikirimi traffic.
- Pada sparse mode, ada router yang dipilih menjadi RP (Rendezvous Point) sebagai pusat menghubungkan antara multicast source dan router yang memiliki host multicast user atau client dibawahnya.
- Pemilihan RP ada 3 cara, yaitu Static RP, Auto-RP, dan BSR.
Dimana Auto-RP adalah Cisco Proprietary.
Nah lab kita tentang sparse mode, akan bahas gimana cara konfig untuk yang Static RP dulu ya...
Lab 2 - Sparse Mode - Static RP
Tapologinya masih sama dengan lab multicast sebelumnya :
Konfigurasi yang penting adalah pada interface harus diset mode nya menjadi sparse mode.
Konfigurasi R1 :
interface Loopback0
ip address 1.1.1.1 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
ip address 1.1.1.1 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
Konfigurasi R2 :
interface Loopback0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
ip address 2.2.2.2 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
Konfigurasi R3 :
interface Loopback0
ip address 3.3.3.3 255.255.255.255
ip pim sparse-mode
ip ospf 1 area 0
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
ip pim sparse-mode
ip ospf 1 area 0
Nah... tinggal perlu nambahin untuk konfigurasi RP nya neh di R1, R2 dan R3 :
R1(config)#ip pim rp-address 2.2.2.2
R2(config)#ip pim rp-address 2.2.2.2
R3(config)#ip pim rp-address 2.2.2.2
Jangan lupa untuk testnya pake igmp join-group di R1 pada interface Loopback0 :
R1(config-if)#ip igmp join-group 239.0.0.1
Kita cek dulu yuk verifikasi RP nya :
R1(config)#do sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 2.2.2.2 (?)
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 2.2.2.2 (?)
IP Multicast Routing Table
(*, 239.0.0.1), 00:00:08/00:02:52, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:00:08/00:02:52
(*, 224.0.1.40), 00:04:01/00:02:26, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 12.12.12.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:04:01/00:02:26
Kita coba test ping ... dari R3 ke IP 239.0.0.1 :
R3(config)#do 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, 100 ms
Reply to request 0 from 12.12.12.1, 120 ms
Ternyata sudah reply... yang reply si R1 dong...kan R1 tadi yang join group multicast.
R3(config)#do sh ip pim rp mapping
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 2.2.2.2 (?)
PIM Group-to-RP Mappings
Group(s): 224.0.0.0/4, Static
RP: 2.2.2.2 (?)
R3(config)#do sh ip mroute
IP Multicast Routing Table
(*, 239.0.0.1), 00:00:08/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list: Null
(3.3.3.3, 239.0.0.1), 00:00:08/00:02:51, flags: FT
Incoming interface: Loopback0, RPF nbr 0.0.0.0, Registering
Outgoing interface list:
FastEthernet0/0, Forward/Sparse, 00:00:08/00:03:21
(23.23.23.3, 239.0.0.1), 00:00:09/00:02:58, flags: PFT
Incoming interface: FastEthernet0/0, RPF nbr 0.0.0.0
Outgoing interface list: Null
(*, 224.0.1.40), 00:03:10/00:02:22, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:03:10/00:02:22
IP Multicast Routing Table
(*, 239.0.0.1), 00:00:08/stopped, RP 2.2.2.2, flags: SPF
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list: Null
(3.3.3.3, 239.0.0.1), 00:00:08/00:02:51, flags: FT
Incoming interface: Loopback0, RPF nbr 0.0.0.0, Registering
Outgoing interface list:
FastEthernet0/0, Forward/Sparse, 00:00:08/00:03:21
(23.23.23.3, 239.0.0.1), 00:00:09/00:02:58, flags: PFT
Incoming interface: FastEthernet0/0, RPF nbr 0.0.0.0
Outgoing interface list: Null
(*, 224.0.1.40), 00:03:10/00:02:22, RP 2.2.2.2, flags: SJCL
Incoming interface: FastEthernet0/0, RPF nbr 23.23.23.2
Outgoing interface list:
Loopback0, Forward/Sparse, 00:03:10/00:02:22
Uhuy, nah berarti konfig multicast sparse mode pake static RP udah bener neh.
Video lab di GNS ane kasih juga gan... biar bisa buat belajar rame - rame :
Tidak ada komentar:
Posting Komentar