KONFIGURASI 2 ROUTER
KONFIGURASI
2 ROUTER
A. ROUTER
1
Router>en
Router#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
g
Router(config)#int
gigabitEthernet0/0
Router(config-if)#ip
add
Router(config-if)#ip
address 10.10.10.11 255.255.255.240
Router(config-if)#no
shut
Router(config-if)#
%LINK-5-CHANGED:
Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#int
g
Router(config)#int
gigabitEthernet0/1
Router(config-if)#ip
add
Router(config-if)#ip
address 10.1.1.11 255.255.255.248
Router(config-if)#no
shut
Router(config-if)#
%LINK-5-CHANGED:
Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface GigabitEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#
Router
con0 is now available
Press
RETURN to get started.
%LINEPROTO-5-UPDOWN:
Line protocol on Interface GigabitEthernet0/1, changed state to down
Router>enable
Router#configure
terminal
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#interface
GigabitEthernet0/0
Router(config-if)#
%LINEPROTO-5-UPDOWN:
Line protocol on Interface GigabitEthernet0/1, changed state to up
Router
con0 is now available
Press
RETURN to get started.
Router>en
Router#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#ip
add
Router(config)#ip
add 192.168.10.5 255.255.255.252
^
% Invalid input
detected at '^' marker.
Router(config)#int
g
Router(config)#int
gigabitEthernet 0/1
Router(config-if)#ip
add
Router(config-if)#ip
address 192.168.10.5 255.255.255.252
Router(config-if)#no
shut
Router(config-if)#exit
Router(config)#ip
route 10.1.1.8 255.255.255.248 192.168.10.6
Router(config)#ex
Router#
%SYS-5-CONFIG_I:
Configured from console by console
Router#show ip
route
Codes: L -
local, C - connected, S - static, 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/8 is
variably subnetted, 3 subnets, 3 masks
S 10.1.1.8/29
[1/0] via 192.168.10.6
C 10.10.10.0/28
is directly connected, GigabitEthernet0/0
L 10.10.10.11/32
is directly connected, GigabitEthernet0/0
192.168.10.0/24
is variably subnetted, 2 subnets, 2 masks
C
192.168.10.4/30 is directly connected, GigabitEthernet0/1
L
192.168.10.5/32 is directly connected, GigabitEthernet0/1
Router#
Router
con0 is now available
Press
RETURN to get started.
B. ROUTER
2
Router>en
Router#conf t
Router#conf
terminal
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#
Router>en
Router#conf t
Router#conf
terminal
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
g
Router(config)#int
gigabitEtherne
Router(config)#int
gigabitEthernet 0/0
Router(config-if)#ip
add
Router(config-if)#ip
address 10.1.1.11 255.255.255.248
Router(config-if)#no
shut
Router(config-if)#
%LINK-5-CHANGED:
Interface GigabitEthernet0/0, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface GigabitEthernet0/0, changed state to up
Router(config-if)#exit
Router(config)#ip
route
Router
con0 is now available
Press
RETURN to get started.
Router>en
Router#conf t
Enter
configuration commands, one per line. End with CNTL/Z.
Router(config)#int
g
Router(config)#int
gigabitEthernet 0/1
Router(config-if)#ip
add
Router(config-if)#ip
address 192.168.10.6 255.255.255.252
Router(config-if)#no
shut
Router(config-if)#
%LINK-5-CHANGED:
Interface GigabitEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN:
Line protocol on Interface GigabitEthernet0/1, changed state to up
Router(config-if)#exit
Router(config)#ip
route 10.10.10.0 255.255.255.240 192.168.10.5
Router(config)#
Router
con0 is now available
Press
RETURN to get started.
Comments
Post a Comment