1、实验环境路由器两台,console电缆1根,pc机2台,网线2根,串口电缆1根。实验拓扑图:
2、 根据拓扑结构的要求,正确配置路由器R1的以太网接口和RIP路由;Router>Router>enableRouter#config terEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 10.10.10.1 255.255.255.0Router(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter#config terEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int s0/0/0Router(config-if)#ip address 172.16.0.1 255.255.255.0Router(config-if)#clock rate 64000This command applies only to DCE interfacesRouter(config-if)#no shutRouter(config-if)#exitRouter(config)#router ripRouter(config-router)#network 10.10.10.0Router(config-router)#network 172.16.0.0Router(config-router)#end
3、 配置路由器R2的以太网接口和RIP路由;Router>enableRouter#config terEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 10.10.20.1 255.255.255.0Router(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface FastEthernet0/0, changed state to up%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/0, changed state to upRouter(config-if)#int s0/0/0Router(config-if)#endRouter#%SYS-5-CONFIG_I: Configured from console by consoleRouter#config terEnter configuration commands, one per line. End with CNTL/Z.Router(config)#int f0/0Router(config-if)#ip address 20.20.20.1 255.255.255.0Router(config-if)#no shutRouter(config-if)#int s0/0/0Router(config-if)#ip address 172.16.0.2 255.255.255.0Router(config-if)#clock rate 64000Router(config-if)#no shutRouter(config-if)#%LINK-5-CHANGED: Interface Serial0/0/0, changed state to upRouter(config-if)#ro%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0/0/0, changed state to up ^% Invalid input detected at '^' marker.Router(config-if)#router ripRouter(config-router)#network 20.20.20.0Router(config-router)#network 172.16.0.0Router(config-router)#endRouter#%SYS-5-CONFIG_I: Configured from console by console