静态路由实验

R1

R1#configure terminal 
Enter configuration commands, one per line.  End with CNTL/Z.
R1(config)#
R1(config)#interface f0/0         
R1(config-if)#
R1(config-if)#no shutdown 
R1(config-if)#
*Jun 30 08:47:46.799: %LINK-3-UPDOWN: Interface FastEthernet0/0, changed state to up
R1(config-if)#
R1(config-if)#
*Jun 30 08:47:47.799: %LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up
R1(config-if)#
R1(config-if)#ip address 192.168.1.1 255.255.255.0
R1(config-if)#
R1(config-if)#exit
R1(config)#exit
R1#

R2

Last updated