静态路由&默认路由试验笔记
分类:思科技术日期:2011-06-23 - 21:10:40评论:9条作者:老谢
R1:192.168.1.1 255.255.255.0 fa 0/0
R2:192.168.2.1 255.255.255.0 fa 0/0
R2:192.168.3.1 255.255.255.0 fa 1/0
R3:192.168.4.1 255.255.255.0 fa 0/0
R1(config)#ip route 192.168.2.0 255.255.255.0 fastEthernet 0/0 R1(config)#ip route 192.168.3.0 255.255.255.0 fastEthernet 0/0 R1(config)#ip route 192.168.4.0 255.255.255.0 fastEthernet 0/0 R2(config)#ip route 192.168.1.0 255.255.255.0 fastEthernet 0/0 R2(config)#ip route 192.168.4.0 255.255.255.0 fastEthernet 1/0 R3(config)#ip route 192.168.3.0 255.255.255.0 fastEthernet 0/0 R3(config)#ip route 192.168.1.0 255.255.255.0 fastEthernet 0/0 R3(config)#ip route 192.168.2.0 255.255.255.0 fastEthernet 0/0 |
此时R1 ping 192.168.2.1、192.168.3.1、192.168.4.1,均可正常通信
删除R1和R2上的静态路由,配置默认路由
R1(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0 R3(config)#ip route 0.0.0.0 0.0.0.0 fastEthernet 0/0 |
此时R1 ping 192.168.2.1、192.168.3.1、192.168.4.1,此时也均可正常通信
最新评论
zwwooooo:买特斯拉和买iPhone的人群其实相似...
平安家属子痕:一直坚持油车,看你写的心里有...
秦大叔:室内每年能开2万公里电车确实划算 ...
灰常记忆:尊贵的特斯拉车主啊,对了一直对单...
拳废神域界:我的车现在平常跑不了啥,就放假...
大峰:电车起步超级快,我油车反正是跟不上,...
Mr.Chou:电车高速上真120和油车120真的有区...
Mr.Chou:18 19年入手的房子现在死的心都有了...
老何:不至于跌得这么狠吧
Andy烧麦:这些大厂都能提供必要的售后