Dimana default nya adalah sbb :
1. RIPv1 : update secara broadcast (255.255.255.255)
2. RIPv2 : update secara multicast (224.0.0.9)
Lab 9 - RIP - Unicast Update
Topologi yang digunakan:
Konfigurasi R1 :
interface Loopback0
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
!
router rip
version 2
network 1.0.0.0
network 12.0.0.0
no auto-summary
ip address 1.1.1.1 255.255.255.255
!
interface FastEthernet0/0
ip address 12.12.12.1 255.255.255.0
!
router rip
version 2
network 1.0.0.0
network 12.0.0.0
no auto-summary
Konfigurasi R2 :
interface Loopback0
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
!
router rip
version 2
network 2.0.0.0
network 12.0.0.0
network 23.0.0.0
no auto-summary
ip address 2.2.2.2 255.255.255.255
!
interface FastEthernet0/0
ip address 12.12.12.2 255.255.255.0
!
interface FastEthernet0/1
ip address 23.23.23.2 255.255.255.0
!
router rip
version 2
network 2.0.0.0
network 12.0.0.0
network 23.0.0.0
no auto-summary
Konfigurasi R3 :
interface Loopback0
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
!
router rip
version 2
network 3.0.0.0
network 23.0.0.0
no auto-summary
ip address 3.3.3.3 255.255.255.255
!
interface FastEthernet0/0
ip address 23.23.23.3 255.255.255.0
!
router rip
version 2
network 3.0.0.0
network 23.0.0.0
no auto-summary
R1(config)#do debug ip packet detail
IP packet debugging is on (detailed)
R1(config)#
*Mar 1 00:34:20.755: IP: s=12.12.12.1 (local), d=224.0.0.9 (FastEthernet0/0), len 52, sending broad/multicast
*Mar 1 00:34:20.759: UDP src=520, dst=520
*Mar 1 00:34:21.015: IP: s=1.1.1.1 (local), d=224.0.0.9 (Loopback0), len 92, sending broad/multicast
*Mar 1 00:34:21.019: UDP src=520, dst=520
*Mar 1 00:34:21.023: IP: s=1.1.1.1 (Loopback0), d=224.0.0.9, len 92, rcvd 2
*Mar 1 00:34:21.027: UDP src=520, dst=520
Terlihat hasil debug tersebut bahwa untuk destination update dari RIPv2 adalah menggunakan IP multicast 224.0.0.9.
Kita coba untuk rubah update RIPv2 menjadi unicast, untuk link R1 to R2.
R1(config)#router rip
R1(config-router)#passive-interface fa0/0
R1(config-router)#neighbor 12.12.12.2
R2(config)#router ripR1(config-router)#passive-interface fa0/0
R1(config-router)#neighbor 12.12.12.2
R2(config-router)#passive-interface fa0/0
R2(config-router)#neighbor 12.12.12.1
Kemudian kita cek kembali di R1 menggunakan debug ip packet detail :
R1(config)#do debug ip packet detail
IP packet debugging is on (detailed)
R1(config)#
*Mar 1 00:37:32.791: IP: s=12.12.12.1 (local), d=12.12.12.2 (FastEthernet0/0), len 52, sending
*Mar 1 00:37:32.795: UDP src=520, dst=520
IP packet debugging is on (detailed)
R1(config)#
*Mar 1 00:37:32.791: IP: s=12.12.12.1 (local), d=12.12.12.2 (FastEthernet0/0), len 52, sending
*Mar 1 00:37:32.795: UDP src=520, dst=520
Terlihat bahwa untuk update nya menggunakan destination IP 12.12.12.2 (R2).
Jadi untuk konfigurasi unicast update pada RIP kita gunakan command passive-interface bersama command neighbor :)
Tidak ada komentar:
Posting Komentar