配置了主机IP 路由器IP 静态路由 为什么还是ping不通

配置了主机IP 路由器IP 静态路由 为什么还是ping不通,第1张

ping不通的原因是路由器之间没有设置好,简单的说:你把设置静态ip其实是内部网通了,也就是路由到交换机到电脑,但外部没有设置,也就是路由器到路由器之间,这是不会通的。你要是真不懂,说明路由器好配置你没学好!

粗心导致的。你R2路由的172.16.34.0/24网段的路由应该走S0/1,R3的路由走的不是S0/1,是S0/0。改完以后再试试。

是不是在模拟器上的?如果是在模拟器上的需要设置时钟

其实,这个不要静态路由都可以通的,应为是直连的。直连路由默认情况下优先于静态路由。

看语法应该是CISCO设备,用CDP看看能看到对方设备吗?Interface:

R1:S0/0-R2:S0/0

R1:F1/0-R3:F1/0

R2:F1/0-R4:F1/0

R1(config)#interface serial 0/0

R1(config-if)#ip address 10.1.1.1 255.255.255.252

R1(config-if)#clock rate 128000

R1(config-if)#no shutdown

R1(config)#interface fastethernet 1/0

R1(config-if)#ip address 10.1.1.9 255.255.255.248

R1(config-if)#no shutdown

R2(config)#interface serial 0/0

R2(config-if)#ip address 10.1.1.2 255.255.255.252

R2(config-if)#clock rate 128000

R2(config-if)#no shutdown

R2(config)#interface fastethernet 1/0

R2(config-if)#ip address 10.1.1.17 255.255.255.248

R2(config-if)#no shutdown

C3(config)#no ip routing

C3(config)#ip default-gateway 10.1.1.9

C3(config)#interface fastethernet 1/0

C3(config-if)#ip address 10.1.1.10 255.255.255.248

C3(config-if)#no shutdown

C4(config)#no ip routing

C4(config)#ip default-gateway 10.1.1.17

C4(config)#interface fa


欢迎分享,转载请注明来源:内存溢出

原文地址: http://outofmemory.cn/bake/11890359.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-19
下一篇 2023-05-19

发表评论

登录后才能评论

评论列表(0条)

保存