Girai Kaku

先延ばしと爆睡のバランスが得意です

github twitter keybase email
Static routing between two routers
Oct 20, 2016
One minute read

Cisco 3640 series router is used in this example.

Basic set up

set hostname
Router# configure terminal
Router(config)# hostname R1
Set telnet password
R1(config)# line vty 0 4
R1(config-line)# password $PASSWORD
R1(config-line)# login
R1(config-line)# exit
Set root password
R1(config)# line console 0
R1(config-line)# password $PASSWORD
R1(config-line)# login
R1(config-line)# exit
Delete root password
R1(config)# line console 0
R1(config-line)# no password
R1(config-line)# exit
Set config password
R1(config)# enable secret $PASSWORD

Basic typology

basic-typology

On router R1

R1#configure terminal
R1(config)#interface fastEthernet 0/0
R1(config-if)#ip address 192.168.12.1 255.255.255.0
R1(config-if)#no shutdown
R1(config-if)#exit
R1(config)#exit
R1#write

On router R2

R2#configure terminal
R2(config)#interface fastEthernet 0/0
R2(config-if)#ip address 192.168.12.2 255.255.255.0
R2(config-if)#no shutdown
R2(config-if)#exit
R2(config)#exit
R2#write
Ping test

On router R1

ping 192.168.12.2

On router R2

ping 192.168.12.1
Check startup-config
show startup-config
Check running-config
show running-config
Show routing table
show ip route
Show interface information
show ip interface brief

Back to posts


comments powered by Disqus