0% found this document useful (0 votes)
43 views

Review Configurasi Static Route, RIP V1 Dan RIP V2 Pada GNS3

1) The document discusses configuring static routes and RIP v1/v2 on routers in GNS3. 2) It provides configuration steps for routers R1, R2, R3 including IP addresses, static routes, and enabling RIP. 3) It also covers configuring IP addresses for PCs to test connectivity across the network configured with static routes.

Uploaded by

daniel sanubari
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
43 views

Review Configurasi Static Route, RIP V1 Dan RIP V2 Pada GNS3

1) The document discusses configuring static routes and RIP v1/v2 on routers in GNS3. 2) It provides configuration steps for routers R1, R2, R3 including IP addresses, static routes, and enabling RIP. 3) It also covers configuring IP addresses for PCs to test connectivity across the network configured with static routes.

Uploaded by

daniel sanubari
Copyright
© © All Rights Reserved
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 28

Review

Configurasi Static route, RIP V1 dan RIP


V2 pada GNS3
Tujuan

 Mahasiswa dapat melakukan Configurasi Static Route dan RIP


R1

 Router R1
 Reachability towards 172.16.1.0/24,192.168.1.0/24 and route 192.168.2.0 .
The next-hop router is R2. The same outbound interface is s2/0.
 R1>
 R1>enable
 R1#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R1(config)#ip route 172.16.1.0 255.255.255.0 serial 2/0
 R1(config)#ip route 192.168.1.0 255.255.255.0
 R1(config)#ip route 192.168.1.0 255.255.255.0 serial 2/0
 R1(config)#ip route 192.168.2.0 255.255.255.0 serial 2/0 
R2

 Router R2
 Reachability towards 172.16.3.0/24,192.168.2.0/24 . The next-hop router
R1 outbound interface is s2/0 and R3 outbound interface is s2/1.
 R2#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R2(config)#ip route 172.16.3.0 255.255.255.0 serial 2/0
 R2(config)#ip route 192.168.2.0 255.255.255.0 serial 2/1
R3

 R3#
 R3#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R3(config)#ip route 172.16.3.0 255.255.255.0 serial 2/0
 R3(config)#ip route 172.16.2.0 255.255.255.0 serial 2/0
 R3(config)#ip route 172.16.1.0 255.255.255.0 serial 2/0
Static Route
IP Table
Task 1: Execute basic command in each router: host
name, enable secret, password, login...

 Change router name from R1 to GNS3


 R1>enable
 R1#configure terminal
 R1(config)#hostname GNS3
 GNS3(config)#
 Enable password before enter to privilege mode (password: gns3)
 R1#configure terminal
 R1(config)#enable secret gns3

 Configure Banner
 R1>enable
 Password:
 R1#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R1(config)#banner motd #
 Warning! This is my banner :)#
 Configure password telnet, this configuration will help your router more
secure.
 R1>enable
 Password:
 R1#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R1(config)#line vty 0 4
 R1(config-line)#password gns3
 R1(config-line)#login
 Use Show running-configure to show result
service password-encryption

 R1#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R1(config)#service password-encryption
 R1(config)#exit
 Untuk menyimpan configuration gunakan perintah "copy running-config startup-
config"
 R1#copy running-config startup-config
 Destination filename [startup-config]?
 Building configuration...
 [OK]
 Untuk Menghapus configurasi "erase startup-config"
 R1#erase startup-config
 Erasing the nvram filesystem will remove all configuration files! Continue?
[confirm]
 [OK]
Task 2: Configure IP for each interface in each
router and PCs

 Router R1
 Configure ip address for port serial 2/0 and f0/0
 R1>enable
 Password:
 R1#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z
 R1(config)#interface serial 0/2
 R1(config-if)#ip address 172.16.2.1 255.255.255.0
 R1(config-if)#clock rate 64000
 R1(config-if)#no shutdown
 R1(config-if)#exit
 R1(config)#interface fastEthernet 0/0
 R1(config-if)#ip address 172.16.3.1 255.255.255.0
 R1(config-if)#no shutdown
Show result, use command "show ip
interface brief"
 Router R2
 Configure ip address for interface serial 2/0, serial 2/1 and f0/0
 R2>enable
 Password:
 R2#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R2(config)#interface serial 2/0
 R2(config-if)#ip address 172.16.2.2 255.255.255.0
 R2(config-if)#clock rate 64000
 R2(config-if)#no shutdown
 R2(config-if)#exit
 R2(config)#interface fastEthernet 0/0
 R2(config-if)#ip address 172.16.1.1 255.255.255.0
 R2(config-if)#no shut
 R2(config-if)#exit
 R2(config)#interface serial 2/1
 R2(config-if)#ip address 192.168.1.1 255.255.255.0
 R2(config-if)#clock rate 64000
 R2(config-if)#no shutdown
 R2(config-if)#
r3

 R3#configure terminal
 Enter configuration commands, one per line. End with CNTL/Z.
 R3(config)#interface serial 2/0
 R3(config-if)#ip address 192.168.1.2 255.255.255.0
 R3(config-if)#clock rate 64000
 R3(config-if)#no shut
 R3(config-if)#exit
 R3(config)#interface fastEthernet 0/0
 R3(config-if)#ip address 192.168.2.1 255.255.255.0
 R3(config-if)#no shut
Memasukan IP pada VPCS

 PC1
 PC1> ip 172.16.3.2 255.255.255.0 172.16.3.1
 Checking for duplicate address...
 PC1 : 172.16.3.2 255.255.255.0 gateway 172.16.3.1
 PC2
 PC2> ip 172.16.1.2 255.255.255.0 172.16.1.1
 Checking for duplicate address...
 PC1 : 172.16.1.2 255.255.255.0 gateway 172.16.1.1
 PC3
 PC3> ip 192.168.2.2 255.255.255.0 192.168.2.1
 Checking for duplicate address...
 PC1 : 192.168.2.2 255.255.255.0 gateway 192.168.2.1
Task 3: Configure static route

 R1#debug ip routing
 IP routing debugging is on
 Kalau kita salah dalam memasukan konfigurasi
 Tidak bisa langsung menindih konfigurasi yang ada
 Konfigurasi yang lama harus di hapus dulu dengan perintah
 no ip route
 Contoh R3(config)#no ip route 172.16.1.0 255.255.255.0 serial 2/0
 Untuk menampilkan Ip route kita menggunakan perintah
 show ip route
Test konektifitas pada tiap PC
Latihan

 Tambahlah dua buah router


 Configurasikan router untuk static route
 Tambah masing masing cluster PC
 Ip tidak boleh sama

You might also like