hostname "GEDUNG 1"
!
interface FastEthernet0/0
ip address 172.16.1.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.10.1 255.255.255.0
duplex auto
speed auto
!
router rip
version 2
network 172.16.0.0
network 192.168.10.0
no auto-summary
!
!
line con 0
exec-timeout 0 0
line vty 0 4
exec-timeout 0 0
password cisco
login
</code>
Konfigurasi di Router GEDUNG 2 :
<code>
hostname "GEDUNG 2"
!
interface FastEthernet0/0
ip address 172.16.1.2 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
ip address 192.168.20.1 255.255.255.0
duplex auto
speed auto
!
router rip
version 2
network 172.16.0.0
network 192.168.20.0
no auto-summary
!
!
line con 0
exec-timeout 0 0
line vty 0 4
exec-timeout 0 0
password cisco
login
</code>
cek routing RIP di Gedung 1 sudah mendapat segmen LAN Gedung 2
GEDUNG 1#sh ip route rip
172.16.0.0/30 is subnetted, 1 subnets
R 192.168.20.0/24 [120/1] via 172.16.1.2, 00:00:06, FastEthernet0/0
GEDUNG 1#
Begitu Juga segmen LAN Gedung 1 sudah teradvertise di Gedung 2
GEDUNG 2#sh ip route rip
172.16.0.0/30 is subnetted, 1 subnets
R 192.168.10.0/24 [120/1] via 172.16.1.1, 00:00:00, FastEthernet0/0
GEDUNG 2#
Test Ping :
GEDUNG 2#ping 172.16.1.1
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 31/31/32 ms
GEDUNG 2#ping 192.168.10.100
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.10.100, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 78/87/94 ms
GEDUNG 2#
It's Done