Professional Documents
Culture Documents
Review
Review
CONFIGURASI STATIC
ROUTE, RIP V1 DAN RIP
V2 PADA GNS3
TUJUAN
• 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
• PC2
• PC3
• R1#debug ip routing
• IP routing debugging is on
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#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 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
• 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
• RIPv1 configuration
• Syntax:
• Router#router rip
• Router(config-router)#network directly-connected-classful-network-address
•
• Example:
• R1(config-router)#network 192.168.1.0
• R1(config-router)#network 192.168.2.0
• R1(config-router)#network 192.168.3.0
TOPOLOGI
KONFIGURASI
• Router R1:
• R1>enable
• R1#configure terminal
• R1(config-if)#no shutdown
• R1(config-if)#exit
• R1(config-if)#ip ad
• R1(config-if)#no shutdown
• R1(config-if)#
• Router R2:
• R2>enable
• R2#configure terminal
• R2(config)#interface f0/0
• R2(config-if)#no shutdown
• R2(config-if)#exit
• R2(config-if)#no shutdown
• R2(config-if)#exit
• R2(config-if)#no shutdown
• R3>enable
• R3#configure terminal
• Enter configuration commands, one per line. End with CNTL/Z.
• R3(config)#interface s
• R3(config)#interface serial 1/0
• R3(config-if)#ip address 192.168.4.10 255.255.255.252
• R3(config-if)#clock rate 64000
• R3(config-if)#no shutdown
• R3(config-if)#exit
• R3(config)#interface fastEthernet 0/0
• R3(config-if)#ip address 192.168.5.1 255.255.255.0
• R3(config-if)#no shutdown
• R3(config-if)#
• PC1:
• PC2:
• PC3: