首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么R1不能与R3联系?

为什么R1不能与R3联系?
EN

Network Engineering用户
提问于 2016-01-13 02:44:03
回答 1查看 711关注 0票数 3

我没有为任何路由器配置任何路由协议,并试图应用静态路由以退出网络,我配置静态路由的方式是,如果R1向R3发送ping,则ping应该通过R2,但是R3的答复应该来自R4,但它不起作用。为什么?

以下是ip地址和静态ip地址:

代码语言:javascript
复制
R1#show ip int br | i up
Serial0/0                  192.168.1.1     YES NVRAM  up                    up
Serial0/1                  192.168.4.1     YES NVRAM  up                    up
R1#show running-config |  sec ip route
ip route 192.168.2.2 255.255.255.255 192.168.1.2

R2#show ip int br | i up
Serial0/0                  192.168.1.2     YES NVRAM  up                    up
Serial0/1                  192.168.2.2     YES NVRAM  up                    up
R2#show running-config | sec ip route
ip route 192.168.3.1 255.255.255.255 192.168.2.1

R3#show running-config | sec ip route
ip route 192.168.4.2 255.255.255.255 192.168.3.2
R3#show ip int br | i up
Serial0/0                  192.168.3.1     YES NVRAM  up                    up
Serial0/1                  192.168.2.1     YES NVRAM  up                    up
R3#show running-config | sec ip route
ip route 192.168.4.2 255.255.255.255 192.168.3.2

R4#show ip int br | i up
Serial0/0                  192.168.3.2     YES NVRAM  up                    up
Serial0/1                  192.168.4.2     YES NVRAM  up                    up
R4#show running-config | sec ip route
ip route 192.168.1.1 255.255.255.255 192.168.4.1

设想情况:

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2016-01-14 16:00:53

在“原则”中,罗恩正确地指出了你的实验室不工作的原因,但恐怕它也不会适用于提议的两个修正。这个没问题:

R3#ip路线192.168.1.1 255.255.255 192.168.3.2

我要指出的是,如果你不打算点击192.168.4.2,你就不需要这个了:

R3#ip路线192.168.4.2 255.255.255 192.168.3.2

现在是R4:你已经在这里了

R4#ip路线192.168.1.1 255.255.255 192.168.4.1

所以这里没什么好纠正的。

现在还缺少什么来让事情顺利进行,

R1#ip路线192.168.2.1 255.255.255 192.168.1.2

再说一次,你不需要

R1#ip路线192.168.2.2 255.255.255 192.168.1.2

但如果你愿意的话,你可以拿着

因此,在R1和R3上添加两条路由,您将看到一些!)

票数 1
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/25903

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档