Lab : Basic Static Route Configuration
Routing static adalah jenis teknik routing jaringan. Routing static bukan protokol routing; alih-alih, ini adalah konfigurasi manual dan pemilihan rute jaringan, biasanya dikelola oleh administrator jaringan. Ini digunakan dalam skenario di mana parameter jaringan dan lingkungan diharapkan tetap konstan.
Routing static hanya optimal dalam beberapa situasi. Network degradation, latensi, dan congestion adalah konsekuensi tak terhindarkan dari sifat routing static yang tidak fleksibel karena tidak ada penyesuaian ketika rute utama tidak tersedia.
Gambar 1 Topology static route
perhatikan topology diatas R1 harus di konfigurasi entry static route destionation nya ke 10.10.10.0/24 dan R3 juga harus di konfigurasi entry static route destinationnya ke 172.16.10.0/24 . Perhatikan konfigurasi dibawah ini :
Step.1 : R1
R1(config)#int f0/0
R1(config-if)#no shut
R1(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R1(config-if)#ip add 172.16.10.2 255.255.255.0
R1(config-if)#exit
R1(config)#ip route 10.10.10.0 255.255.255.0 172.16.10.1
Step.2 : R2
R2(config)#int f0/0
R2(config-if)#no shut
R2(config-if)# %LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
R2(config-if)#ip add 10.10.10.2 255.255.255.0
R1(config-if)#exit
R1(config)#ip route 172.16.10.0 255.255.255.0 10.10.10.1
Step.3 : Verifikasi
R1#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
S 10.10.10.0 [1/0] via 172.16.10.1
172.16.0.0/24 is subnetted, 1 subnets
C 172.16.10.0 is directly connected, FastEthernet0/0
R3#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.10.10.0 is directly connected, FastEthernet0/0
172.16.0.0/24 is subnetted, 1 subnets
S 172.16.10.0 [1/0] via 10.10.10.1
untuk pengujian dapat dilakukan pada kedua perangkat router
R1#ping 10.10.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 10.10.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/3 ms
R3#ping 172.16.10.2
Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 172.16.10.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 0/0/1 ms
Comments
Post a Comment