免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 2869 | 回复: 1
打印 上一主题 下一主题

[求助]路由器模拟器的问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2004-05-07 17:54 |只看该作者 |倒序浏览
请看一下我的路由设置,为什么不通\r\n\r\npc1的设置\r\nip:192.168.1.5\r\nmask:255.255.255.0\r\ngateway:192.168.1.1\r\n\r\npc2的设置\r\nip:192.168.2.5\r\nmask:255.255.255.0\r\ngateway:192.168.2.1\r\n\r\nswitch1的设置\r\nip:192.168.1.2 255.255.255.0\r\n\r\nswitch2的设置\r\nip:192.168.2.2 255.255.255.0\r\n\r\n--------------------------------------------------------------------------------------------------\r\n\r\nrouter1 的设置\r\n\r\nPress Enter to Start\r\n\r\nRouter>;\r\nRouter>;en\r\nRouter#conf\r\nRouter(config)#hostname router1\r\nrouter1(config)#int e0\r\nrouter1(config-if)#ip addr 192.168.1.1 255.255.255.0\r\nrouter1(config-if)#no shut\r\nrouter1(config-if)#^Z\r\n\r\nrouter1#conf\r\nrouter1(config)#int s0\r\nrouter1(config-if)#ip addr 192.168.3.1 255.255.255.0\r\nrouter1(config-if)#no shut\r\n%LINK-3-UPDOWN: Interface Serial0, changed state to up\r\n%LINK-3-UPDOWN: Interface Serial0, changed state to down\r\n%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down(为什么又变成down了?)\r\nrouter1(config-if)#^Z\r\n\r\nrouter1#conf\r\nrouter1(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.2\r\nrouter1(config)#^Z\r\n\r\n---------------------------------------------------------------------------------------------------------\r\n\r\nrouter2的设置\r\n\r\nPress Enter to Start\r\n\r\nRouter>;\r\nRouter>;en\r\nRouter#conf\r\nRouter(config)#hostname router2\r\nrouter2(config)#int e0\r\nrouter2(config-if)#ip addr 192.168.2.1 255.255.255.0\r\nrouter2(config-if)#no shut\r\nrouter2(config-if)#^Z\r\n\r\nrouter2#conf\r\nrouter2(config)#int s0\r\nrouter2(config-if)#ip addr 192.168.3.2 255.255.255.0\r\nrouter2(config-if)#no shut\r\n%LINK-3-UPDOWN: Interface Serial0, changed state to up\r\n%LINK-3-UPDOWN: Interface Serial0, changed state to down\r\n%LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down\r\nrouter2(config-if)#^Z\r\n\r\nrouter2#conf\r\nrouter2(config)#ip route 0.0.0.0 0.0.0.0 192.168.3.1\r\nrouter2(config)#^Z\r\n

论坛徽章:
0
2 [报告]
发表于 2004-05-07 17:55 |只看该作者

[求助]路由器模拟器的问题

为什么ping不通的?是不是我还漏掉了什么?\r\n\r\nBoson BOSS 5.0\r\nCopyright 1998-2003 Boson Software, Inc.\r\nUse the command help to get started\r\n\r\nPress Enter to begin\r\nC:>;\r\nC:>;winipcfg\r\nC:>;ping 192.168.1.2\r\nPinging 192.168.1.2 with 32 bytes of data:\r\n\r\nReply from 192.168.1.2: bytes=32 time=60ms TTL=241\r\nReply from 192.168.1.2: bytes=32 time=60ms TTL=241\r\nReply from 192.168.1.2: bytes=32 time=60ms TTL=241\r\nReply from 192.168.1.2: bytes=32 time=60ms TTL=241\r\nReply from 192.168.1.2: bytes=32 time=60ms TTL=241\r\n\r\nPing statistics for 192.168.1.2:     Packets: Sent = 5, Received = 5, Lost = 0 (0% loss),\r\nApproximate round trip times in milli-seconds:\r\n     Minimum = 50ms, Maximum =  60ms, Average =  55ms\r\n\r\nC:>;ping 192.168.3.1\r\nPinging 192.168.3.1 with 32 bytes of data:\r\n\r\nReply from 192.168.3.1: bytes=32 time=60ms TTL=241\r\nReply from 192.168.3.1: bytes=32 time=60ms TTL=241\r\nReply from 192.168.3.1: bytes=32 time=60ms TTL=241\r\nReply from 192.168.3.1: bytes=32 time=60ms TTL=241\r\nReply from 192.168.3.1: bytes=32 time=60ms TTL=241\r\n\r\nPing statistics for 192.168.3.1:     Packets: Sent = 5, Received = 5, Lost = 0 (0% loss),\r\nApproximate round trip times in milli-seconds:\r\n     Minimum = 50ms, Maximum =  60ms, Average =  55ms\r\n\r\nC:>;ping 192.168.3.2\r\nPinging 192.168.3.2 with 32 bytes of data:\r\n\r\nRequest timed out.\r\nRequest timed out.\r\nRequest timed out.\r\nRequest timed out.\r\nRequest timed out.\r\n\r\nPing statistics for 192.168.3.2:\r\n     Packets: Sent = 5, Received = 0, Lost = 5 (100% loss),\r\nApproximate round trip times in milli-seconds:\r\n     Minimum = 0ms, Maximum =  0ms, Average =  0ms
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP