Teknik Komputer & Jaringan

Monday, September 26, 2016

Static Routing



RBJ
Tittle
:
Static Routing
Issue Date
:
27 September 2016
Prepare by
:
Siti Octavianah
Teacher
:
Suyatno, S.Kom
SMK AL-BAHRI KOTA BEKASI 



KONFIGURASI 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
%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-if)#exit
R1(config)#interface fastEthernet 0/1
R1(config-if)#no shutdown
%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)#exit
R1(config-if)#interface fastEthernet 0/0
R1(config-if)#ip address 10.10.10.1 255.255.255.240
R1(config-if)#exit
R1(config)#interface fastEthernet 0/1
R1(config-if)#ip address 20.20.20.1 255.255.255.240
R1 con0 is now available
Press RETURN to get started.

R1(config-if)#exit
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 rou
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]


KONFIGURASI R2
R2>enable
R2#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R2(config)#interface fastEthernet 0/0
R2(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R2(config)#interface fastEthernet 0/1
R2(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R2(config-if)#exit
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 20.20.20.2 255.255.255.240
R2(config-if)#exit
R2(config)#interface fastEthernet 0/1
R2(config-if)#ip address 30.30.30.1 255.255.255.240
R2 con0 is now available
Press RETURN to get started.
R2(config-if)#exit
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]

KONFIGURASI R3
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
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R3(config-if)#exit
R3(config)#interface fastEthernet 0/1
R3(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

R3(config-if)#exit
R3(config)#interface fastEthernet 0/0
R3(config-if)#ip address 30.30.30.2 255.255.255.240
R3(config-if)#exit
R3(config)#interface fastEthernet 0/1
R3(config-if)#ip address 40.40.40.1 255.255.255.240
R3 con0 is now available
Press RETURN to get started.
R3(config-if)#exit
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 rou
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)#

R4>enable
R4#configure terminal
Enter configuration commands, one per line.  End with CNTL/Z.
R4(config)#interface fastEthernet 0/0
R4(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R4(config-if)#exit
R4(config)#interface fastEthernet 0/1
R4(config-if)#no shutdown
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
R4(config-if)#exit
R4(config)#interface fastEthernet 0/0
R4(config-if)#ip address 40.40.40.2 255.255.255.240
R4(config-if)#exit
R4(config)#interface fastEthernet 0/1
R4(config-if)#ip address 50.50.50.1 255.255.255.240
R4 con0 is now available
Press RETURN to get started.
R4(config-if)#exit
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 wr
Building configuration...
[OK]
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

Share:

0 comments:

Post a Comment

Copyright © SITI OCTAVIANAH | Powered by Blogger
Design by Siti Octavianah | Blogger Theme by sisiti.tk

About | Contact Us | Privacy Policy