2018-12-08 简单动态路由

2018-12-08 简单动态路由_第1张图片
2018-12-08 简单动态路由_第2张图片
2018-12-08 简单动态路由_第3张图片
2018-12-08 简单动态路由_第4张图片
2018-12-08 简单动态路由_第5张图片


2018-12-08 简单动态路由_第6张图片
di

第一个路由:

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#int f 0/0

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ip add 172.16.1.1 255.255.255.0

Router(config-if)#exit

Router(config)#int f 0/1

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Router(config-if)#ip add 172.16.2.1 255.255.255.0

Router(config-if)#exit

Router(config)#int e 1/0

Router(config-if)#no shut

Router(config-if)#

%LINK-5-CHANGED: Interface Ethernet1/0, changed state to up

Router(config-if)#ip add 192.168.1.1 255.255.255.0

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#v 2

Router(config-router)#ne 172.16.0.0

Router(config-router)ne192.168.1.0

Router(config-router)#no au

第二个路由:

Router>en

Router#conf t

Enter configuration commands, one per line.  End with CNTL/Z.

Router(config)#int f 0/0

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to up

Router(config-if)#ip add 10.1.1.1 255.255.255.0

Router(config-if)#exit

Router(config)#int f 0/1

Router(config-if)#no shut

%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

Router(config-if)#ip add 10.2.2.1 255.255.255.0

Router(config-if)#exit

Router(config)#int e 1/0

Router(config-if)#no shut

%LINK-5-CHANGED: Interface Ethernet1/0, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Ethernet1/0, changed state to up

Router(config-if)#ip add 192.168.1.2 255.255.255.0

Router(config-if)#exit

Router(config)#router rip

Router(config-router)#v 2

Router(config-router)#ne 10.0.0.0

Router(config-router)#ne 192.168.1.0

Router(config-router)#no au

你可能感兴趣的:(2018-12-08 简单动态路由)