Monday, May 13, 2013

Static Routing

Mata kuliah Jaringan Komputer [JTE Univ.Mataram]


File latihan PKa

R3 S 0/0/1 192.168.3.2/24
R2 S 0/0/1 192.168.3.1/24
R1 Fa 0/0  192.168.1.1 /24 ; Fa 0/1 192.168.2.1/24


Console Pass : cisco
enable Pass :class

R3>enable
Password:
R3#conf
Configuring from terminal, memory, or network [terminal]?
Enter configuration commands, one per line.  End with CNTL/Z.

R3 ke R1

R3(config)#ip route 192.168.1.0 255.255.255.0 192.168.3.1

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

S    192.168.1.0/24 [1/0] via 192.168.3.1
C    192.168.3.0/24 is directly connected, Serial0/0/1

R1 ke R3


R1(config)#ip route 192.168.3.0 255.255.255.0 FastEthernet 0/1

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

C    192.168.1.0/24 is directly connected, FastEthernet0/0
C    192.168.2.0/24 is directly connected, FastEthernet0/1
S    192.168.3.0/24 is directly connected, FastEthernet0/1

R2 to R1

R2(config)#ip route 192.168.1.0 255.255.255.0 F
R2(config)#ip route 192.168.1.0 255.255.255.0 FastEthernet 0/0
R2(config)#end

tes ping R3 ke PC1(R1) 192.168.1.10
R3#ping 192.168.1.10

Type escape sequence to abort.
Sending 5, 100-byte ICMP Echos to 192.168.1.10, timeout is 2 seconds:
...!!
Success rate is 40 percent (2/5), round-trip min/avg/max = 7/13/20 ms

No comments :

Post a Comment