Konfigurasi IP Address pada PC
- Untuk PC0 :
IP address 192.168.1.2
Subnet Mask 255.255.255.0
Default Gateway 192.168.1.1 - Untuk PC1 :
IP address 192.168.3.2
Subnet Mask 255.255.255.0
Default Gateway 192.168.3.1 - Untuk PC2 :
IP address 192.168.5.2
Subnet Mask 255.255.255.0
Default Gateway 192.168.5.1
Router>en
Router#conf t
Router(config)#hostname Router0
Router0(config)#int fa0/0
Router0(config-if)#ip address 192.168.1.1 255.255.255.0
Router0(config-if)#no sh
Router0(config-if)#int se0/0/0
Router0(config-if)#clock rate 64000
Router0(config-if)#ip address 192.168.2.1 255.255.255.0
Router0(config-if)#no sh
Router0(config-if)#exi
Router>en
Router#conf t
Router(config)#hostname Router1
Router1(config)#int fa0/0
Router1(config-if)#ip address 192.168.3.1 255.255.255.0
Router1(config-if)#no sh
Router1(config-if)#int se0/0/0
Router1(config-if)#ip address 192.168.2.2 255.255.255.0
Router1(config-if)#no sh
Router1(config-if)#int se0/0/1
Router1(config-if)#clock rate 64000
Router1(config-if)#ip address 192.168.4.1 255.255.255.0
Router1(config-if)#no sh
Router1(config-if)#exi
Router>en
Router#conf t
Router(config)#hostname Router2
Router2(config)#int fa0/0
Router2(config-if)#ip address 192.168.5.1 255.255.255.0
Router2(config-if)#no sh
Router2(config-if)#int se0/0/0
Router2(config-if)#clock rate 64000
Router2(config-if)#ip address 192.168.4.2 255.255.255.0
Router2(config-if)#no sh
Router2(config-if)#exi
Router0(config)#router rip
Router0(config-router)#version 2
Router0(config-router)#network 192.168.1.0
Router0(config-router)#network 192.168.2.0
Router1(config)#router rip
Router1(config-router)#version 2
Router1(config-router)#network 192.168.2.0
Router1(config-router)#network 192.168.3.0
Router1(config-router)#network 192.168.4.0
Router2(config)#router rip
Router2(config-router)#version 2
Router2(config-router)#network 192.168.4.0
Router2(config-router)#network 192.168.5.0
Router(config)#router rip --> masuk ke mode protocol RIP
Router(config-router)#version 2 --> menentukan RIPv2 (version 2)Router(config-router)#network 192.168.4.0 --> isikan network yang directly connected
Router(config-router)#network 192.168.5.0 --> isikan network yang directly connected
Verifikasi Hasil Konfigurasi
- Melakukan tes koneksi dari PC0 ke PC1
Melihat routing pada Router0
0 comments:
Post a Comment