3、wn”命令启动各端口,可以用“showinterface”命令查看各端口的状态,保证端口正常工作。⑶设置主机A和主机B的IP地址、子网掩码、网关,完成之后,分别ping自己的网关,应该是通的。⑷为保证整个网络畅通,分别在路由器R1和R2上配置rip路由协议:在R1和R2上查看路由表分别如下:①R1#showiprouteGatewayoflastresortisnotset R 172.16.0.0/16[120/1]via192.168.100.2,00:00:08,Serial0/0C 192.168.100.0/24isdir
4、ectlyconnected,Serial0/0C 10.0.0.0/8isdirectlyconnected,FastEthernet0/0②R2#showiprouteGatewayoflastresortisnotset C 192.168.100.0/24isdirectlyconnected,Serial0/0R 10.0.0.0/8[120/1]via192.168.100.1,00:00:08,Serial0/0C 172.16.0.0/16isdirectlyconnected,FastEthernet0/