怒焰魔狼:用过boson的能回答一下吗?
来源:百度文库 编辑:高考问答 时间:2024/05/13 18:42:21
尝试用模拟器做最简单的2台主机2台路由做静态路由试验
通过扩展ping可以看出2个路由器的eth0口可以互相ping通,在host上ping自己的网关地址也就是他连接的eth0的地址也可以ping通,怎么就是2台pc ping不通
我感觉是个小问题但就是找不出来
我用的是boson6.0final ,顺便问一下里面怎么没有debug ip packet 这个命令吗?
附相关配置R1
IP-Address OK? Method Status Protocol
Serial0 10.0.0.1 YES unset up up
Ethernet0 192.168.1.1 YES unset up up
C 192.168.1.0 is directly connected, Ethernet0
C 10.0.0.0 is directly connected, Serial0
S 192.168.2.0 [1/0] via 10.0.0.2
R2
Interface IP-Address OK? Method Status Protocol
Serial0 10.0.0.2 YES unset up up
Ethernet0 192.168.2.1 YES unset up up
C 10.0.0.0 is directly connected, Serial0
C 192.168.2.0 is directly connected, Ethernet0
S 192.168.1.0 [1/0] via 10.0.0.1
静态路由写进去了啊,最下面是路由表
通过扩展ping可以看出2个路由器的eth0口可以互相ping通,在host上ping自己的网关地址也就是他连接的eth0的地址也可以ping通,怎么就是2台pc ping不通
我感觉是个小问题但就是找不出来
我用的是boson6.0final ,顺便问一下里面怎么没有debug ip packet 这个命令吗?
附相关配置R1
IP-Address OK? Method Status Protocol
Serial0 10.0.0.1 YES unset up up
Ethernet0 192.168.1.1 YES unset up up
C 192.168.1.0 is directly connected, Ethernet0
C 10.0.0.0 is directly connected, Serial0
S 192.168.2.0 [1/0] via 10.0.0.2
R2
Interface IP-Address OK? Method Status Protocol
Serial0 10.0.0.2 YES unset up up
Ethernet0 192.168.2.1 YES unset up up
C 10.0.0.0 is directly connected, Serial0
C 192.168.2.0 is directly connected, Ethernet0
S 192.168.1.0 [1/0] via 10.0.0.1
静态路由写进去了啊,最下面是路由表
你看两台路由间做连路由了吗
看配置是没错,要不你使用都是Ethernet接口的路由器试试。