|
|
|
3 Routers Serial back to back cable setup
Required Hardware:
1.
3
Routers with Serial Interfaces
2.
2
Serial Back to Back Cables (One end of the cable is DTE & Opposite end
DCE)
CONFIGURATION FOR ROUTER 1
Router>enable Router#configure terminal
Router(config)#hostname
R1
R1(config)#enable
secret your_routers_enable_EXEC_password
R1(config)#line
vty 0 4
R1(config-line)#
password vty_line_password
R1(config-line)#login
R1(config-line)#exit
R1(config)#interface
serial 0
R1(config-if)#ip
address 172.16.30.1 255.255.0.0
R1(config-if)#clock
rate 64000
R1(config-if)#no
shutdown
R1(config-if)#
R1(config)#interface
serial 1
R1(config-if)#ip
address 192.168.100.1 255.255.255.0
R1(config-if)#clock
rate 64000
R1(config-if)#no
shutdown
R1(config-if)#
R1(config-if)#end
R1#write
[OK]
R1# CONFIGURATION FOR ROUTER 2
Router>Enable Router#configure
terminal
Router(config)#Host
R2
R2(config)#enable
secret your_routers_enable_EXEC_password
R2(config)#line
vty 0 4
R2(config-line)#password
vty_line_password
R2(config-line)#login
R2(config-line)#exit
R2(config)#interface
serial 0
R2(config-if)#ip
address 192.168.100.2 255.255.255.0
R2(config-if)#no
shutdown
R2(config-if)#exit
R2(config)#ip
route 192.168.100.0 255.255.255.0 192.168.100.1
R2(config)#end
R2#write
R2#
CONFIGURATION FOR ROUTER 3
Router>Enable
Router#configure
terminal
Router(config)#host
R3
R3(config)#enable
secret your_routers_enable_EXEC_password
R3(config)#line
vty 0 4
R3(config-line)# password
vty_line_password
R3(config-line)#login
R3(config-line)#exit
R3(config)#interface
serial 0
R3(config-if)#ip
address 172.16.30.2 255.255.0.0
R3(config-if)#no
shutdown
R3(config-if)#exit
R3(config)#ip
route 172.16.30.0 255.255.0.0 172.16.30.1
R3(config)#end
R3#write R3 |
|