Cara Routing 4 Router
Konfigurasi
:
R1>ENAB
R1>ENABle
R1#inter
R1#conf
R1#configure
terminal
R1#configure
terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
R1(config)#inter
R1(config)#interface
fas
R1(config)#interface
fastEthernet 0/0
R1(config-if)#no
shu
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-if)#ex
R1(config)#inter
R1(config)#interface
fas
R1(config)#interface
fastEthernet 0/1
R1(config-if)#no
shu
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)#
R1(config)#inf
R1(config)#int
fa 0/0
R1(config-if)#ip
add
R1(config-if)#ip
address 10.10.10.1 255.255.255.240
R1(config-if)#ex
R1(config)#inter
R1(config)#interface
fa
R1(config)#interface
fastEthernet 0/1
R1(config-if)#ip
add
R1(config-if)#ip
address 20.20.20.1 255.255.255.240
R1(config-if)#
R1
con0 is now available
Press
RETURN to get started.
R1>ex
R1
con0 is now available
Press
RETURN to get started.
R1>ena
R1>enable
R1#conf
R1#configure
ter
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 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]
R1(config)#
R2>ena
R2>enable
R2#confter
R2#con
R2#conf
R2#configure
ter
R2#configure
terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
R2(config)#inter
R2(config)#interface
fas
R2(config)#interface
fastEthernet 0/0
R2(config-if)#no
shu
R2(config-if)#no
shutdown
R2(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
n
%
Ambiguous command: "n"
R2(config)#inter
R2(config)#interface
fas
R2(config)#interface
fastEthernet 0/1
R2(config-if)#no
shu
R2(config-if)#no
shutdown
R2(config-if)#
%LINK-5-CHANGED:
Interface FastEthernet0/1, changed state to up
R2(config-if)#
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet0/1, changed state to up
R2(config-if)#ex
R2(config)#inter
R2(config)#interface
fas
R2(config)#interface
fastEthernet 0/0
R2(config-if)#ip
add
R2(config-if)#ip
address 20.20.20.2 255.255.255.240
R2(config-if)#ex
R2(config)#inter
R2(config)#interface
fas
R2(config)#interface
fastEthernet 0/1
R2(config-if)#
R2(config-if)#ip
add
R2(config-if)#ip
address 30.30.30.1 255.255.255.240
R2(config-if)#ex
R2(config)#
R2
con0 is now available
Press
RETURN to get started.
R2>enable
R2>enable
conf
^
%
Invalid input detected at '^' marker.
R2>enable
R2#conf
ter
Enter
configuration commands, one per line.
End with CNTL/Z.
R2(config)#inter
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)#
R3>enab
R3>enable
R3#conf
R3#configure
ter
R3#configure
terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
R3(config)#inter
R3(config)#interface
fas
R3(config)#interface
fastEthernet 0/0
R3(config-if)#no
R3(config-if)#no shu
R3(config-if)#no shutdown
R3(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
R3(config-if)#ex
R3(config)#inter
R3(config)#interface
fas
R3(config)#interface
fastEthernet 0/1
R3(config-if)#no
shu
R3(config-if)#no
shutdown
R3(config-if)#
%LINK-5-CHANGED:
Interface FastEthernet0/1, changed state to up
R3(config-if)#
%LINEPROTO-5-UPDOWN:
Line protocol on Interface FastEthernet0/1, changed state to up
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
con0 is now available
Press
RETURN to get started.
R3>ena
R3#conf
ter
Enter
configuration commands, one per line.
End with CNTL/Z.
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>ena
R4>enable
R4#conf
R4#configure
ter
R4#configure
terminal
Enter
configuration commands, one per line.
End with CNTL/Z.
R4(config)#inter
R4(config)#interface
fa
R4(config)#interface
fastEthernet 0/0
R4(config-if)#no
shu
R4(config-if)#no
shutdown
R4(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
R4(config-if)#ex
R4(config)#inter
R4(config)#interface
fas
R4(config)#interface
fastEthernet 0/1
R4(config-if)#no
shu
R4(config-if)#no
shutdown
R4(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
R4(config-if)#ex
R4(config)#inter
R4(config)#interface
fas
R4(config)#interface
fastEthernet
%
Incomplete command.
R4(config)#
R4(config)#int
fa 0/0
R4(config-if)#ip
ad
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
con0 is now available
Press
RETURN to get started.
R4>ena
R4#onf
R4#conf
ter
Enter
configuration commands, one per line.
End with CNTL/Z.
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)#no
sh ip route
^
%
Invalid input detected at '^' marker.
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
R4(config)# Test Ping dari User 2 ke User 1
Tidak ada komentar:
Posting Komentar