Sei sulla pagina 1di 5

ROUTING STATIC

Routing Static
 Masukan atau daftarkan network address yang tidak terubung secara langsung (directly
connected). Administrative distance (tingkat kepercayaan network address dalam routing
tabel) adalah 1. Dalam routing static harus ditentukan arah paket (packet flow) agar
routing dapat konvergence (valid). Contoh ini arah paket routing searah jarum jam.
 Software yang saya gunakan cisco packet tracer v.5.3
 Berikut step – step konfigurasi setiap roter :

R1 :
R1>en
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip route 192.168.2.0 255.255.255.0 10.1.1.2
R1(config)#ip route 10.1.1.4 255.255.255.252 10.1.1.2
R1(config)#ip route 192.168.3.0 255.255.255.0 10.1.1.2

R2 :
R2>en
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip route 192.168.3.0 255.255.255.0 10.1.1.6
R2(config)#ip route 10.1.1.8 255.255.255.252 10.1.1.6
R2(config)#ip route 192.168.1.0 255.255.255.0 10.1.1.6

R3 :
R3>en
R3#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R3(config)#ip route 192.168.1.0 255.255.255.0 10.1.1.10
R3(config)#ip route 10.1.1.0 255.255.255.252 10.1.1.10
R3(config)#ip route 192.168.2.0 255.255.255.0 10.1.1.10

Routing table
R1 :
R1#sh 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/30 is subnetted, 3 subnets


C 10.1.1.0 is directly connected, Serial2/0
S 10.1.1.4 [1/0] via 10.1.1.2
C 10.1.1.8 is directly connected, Serial3/0
C 192.168.1.0/24 is directly connected, FastEthernet0/0
S 192.168.2.0/24 [1/0] via 10.1.1.2
S 192.168.3.0/24 [1/0] via 10.1.1.2
R2 :
R2#sh 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/30 is subnetted, 3 subnets


C 10.1.1.0 is directly connected, Serial2/0
C 10.1.1.4 is directly connected, Serial3/0
S 10.1.1.8 [1/0] via 10.1.1.6
S 192.168.1.0/24 [1/0] via 10.1.1.6
C 192.168.2.0/24 is directly connected, FastEthernet0/0
S 192.168.3.0/24 [1/0] via 10.1.1.6

R3 :
R3#sh 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/30 is subnetted, 3 subnets


S 10.1.1.0 [1/0] via 10.1.1.10
C 10.1.1.4 is directly connected, Serial3/0
C 10.1.1.8 is directly connected, Serial2/0
S 192.168.1.0/24 [1/0] via 10.1.1.10
S 192.168.2.0/24 [1/0] via 10.1.1.10
C 192.168.3.0/24 is directly connected, FastEthernet0/0

Testing koneksi (PING)


R1  PC 2 :
R1#ping 192.168.2.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 46/68/93 ms

R1  PC 3 :
R1#ping 192.168.3.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.3.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 78/103/125 ms

R3  PC1 :
R3#ping 192.168.1.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.1.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 62/84/110 ms

R3  PC2 :
R3#ping 192.168.2.2

Type escape sequence to abort.


Sending 5, 100-byte ICMP Echos to 192.168.2.2, timeout is 2 seconds:
!!!!!
Success rate is 100 percent (5/5), round-trip min/avg/max = 78/97/125 ms

Potrebbero piacerti anche