Static Route

 
Berikut adalah Konfigurasi di Router 1 nya (R1)

R1>ENABle
R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#interface fastEthernet 0/0
R1(config-if)#no shutdown

R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up


R1(config)#interface fastEthernet 0/1
R1(config-if)#no shutdown

R1(config-if)#
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

R1(config-if)#EX
R1(config)#int fa 0/0
R1(config-if)#ip address 10.10.10.1 255.255.255.240
R1(config-if)#ex
R1(config)#interface fastEthernet 0/1
R1(config-if)#ip address 20.20.20.1 255.255.255.240


R1>enable
R1#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#ip route 50.50.50.0 255.255.255.240 20.20.20.2
R1(config)#ip route 40.40.40.0 255.255.255.240 20.20.20.2
R1(config)#ip route 30.30.30.0 255.255.255.240 20.20.20.2
R1(config)#do 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/28 is subnetted, 1 subnets
C       10.10.10.0 is directly connected, FastEthernet0/0
     20.0.0.0/28 is subnetted, 1 subnets
C       20.20.20.0 is directly connected, FastEthernet0/1
     30.0.0.0/28 is subnetted, 1 subnets
S       30.30.30.0 [1/0] via 20.20.20.2
     40.0.0.0/28 is subnetted, 1 subnets
S       40.40.40.0 [1/0] via 20.20.20.2
     50.0.0.0/28 is subnetted, 1 subnets
S       50.50.50.0 [1/0] via 20.20.20.2
R1(config)#do wr
Building configuration...
[OK]
R1(config)#

Konfigurasi Pada Router 2 (R2)

R2>enable
R2#conf terminal
R2(config)#ip route 10.10.10.0 255.255.255.240 20.20.20.1
R2(config)#ip route 50.50.50.0 255.255.255.240 30.30.30.2
R2(config)#ip route 40.40.40.0 255.255.255.240 30.30.30.2
R2(config)#do 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/28 is subnetted, 1 subnets
S       10.10.10.0 [1/0] via 20.20.20.1
     20.0.0.0/28 is subnetted, 1 subnets
C       20.20.20.0 is directly connected, FastEthernet0/0
     30.0.0.0/28 is subnetted, 1 subnets
C       30.30.30.0 is directly connected, FastEthernet0/1
     40.0.0.0/28 is subnetted, 1 subnets
S       40.40.40.0 [1/0] via 30.30.30.2
     50.0.0.0/28 is subnetted, 1 subnets
S       50.50.50.0 [1/0] via 30.30.30.2
R2(config)#do wr
Building configuration...
[OK]
R2(config)# 

Konfigurasi pada router 3 :

R3>enable
R3#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R3(config)#interface fastEthernet 0/0
R3(config-if)#no  shutdown
R3(config-if)#ex
R3(config)#interface fastEthernet 0/1
R3(config-if)#no shutdown
R3(config-if)#ex
R3(config)#int fa 0/0
R3(config-if)#ip add
R3(config-if)#ip address 30.30.30.2 255.255.255.240
R3(config-if)#ex
R3(config)#int fa 0/1
R3(config-if)#ip add
R3(config-if)#ip address 40.40.40.1 255.255.255.240
R3(config-if)#ex
R3(config)#


R3>en
R3#conf terminal
R3(config)#ip route 50.50.50.0 255.255.255.240 40.40.40.2
R3(config)#ip route 10.10.10.0 255.255.255.240 30.30.30.1
R3(config)#ip route 20.20.20.0 255.255.255.240 30.30.30.1
R3(config)#do 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/28 is subnetted, 1 subnets
S       10.10.10.0 [1/0] via 30.30.30.1
     20.0.0.0/28 is subnetted, 1 subnets
S       20.20.20.0 [1/0] via 30.30.30.1
     30.0.0.0/28 is subnetted, 1 subnets
C       30.30.30.0 is directly connected, FastEthernet0/0
     40.0.0.0/28 is subnetted, 1 subnets
C       40.40.40.0 is directly connected, FastEthernet0/1
     50.0.0.0/28 is subnetted, 1 subnets
S       50.50.50.0 [1/0] via 40.40.40.2
R3(config)#do wr
Building configuration...
[OK]
R3(config)# 

Konfigurasi pada router 4 :

R4>enable
R4#configure terminal
R4(config)#interface fastEthernet 0/0
R4(config-if)#no shutdown
R4(config-if)#ex
R4(config)#interface fastEthernet 0/1
R4(config-if)#no shutdown
R4(config-if)#ex
R4(config)#int fa 0/0
R4(config-if)#ip address 40.40.40.2 255.255.255.240
R4(config-if)#ex
R4(config)#int fa 0/1
R4(config-if)#ip add
R4(config-if)#ip address 50.50.50.1 255.255.255.240
R4(config-if)#ex
R4(config)#

R4>ena
R4#conf ter
R4(config)#ip route 30.30.30.0 255.255.255.240 40.40.40.1
R4(config)#ip route 20.20.20.0 255.255.255.240 40.40.40.1
R4(config)#ip route 10.10.10.0 255.255.255.240 40.40.40.1
   
R4(config)#do 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/28 is subnetted, 1 subnets
S       10.10.10.0 [1/0] via 40.40.40.1
     20.0.0.0/28 is subnetted, 1 subnets
S       20.20.20.0 [1/0] via 40.40.40.1
     30.0.0.0/28 is subnetted, 1 subnets
S       30.30.30.0 [1/0] via 40.40.40.1
     40.0.0.0/28 is subnetted, 1 subnets
C       40.40.40.0 is directly connected, FastEthernet0/0
     50.0.0.0/28 is subnetted, 1 subnets
C       50.50.50.0 is directly connected, FastEthernet0/1

Related Posts:

0 Response to "Static Route"

Posting Komentar