设为首页收藏本站language 语言切换
查看: 2158|回复: 2
收起左侧

[已解决] 求助:路由表中没有相邻路由器的路由信息

[复制链接]
发表于 2010-7-1 11:19:39 | 显示全部楼层 |阅读模式
有两个路由 A通过s3/0 接口连接到B的s2/0接口
A上有三个F接口 分别连接不同局域网

[shy;]
A:
路由a配置了 arp
ip router
network 192.168.10.1
network 192.168.20.1
network 192.168.30.1

s3/0
10.1.1.1 255.255.255.0
clock rate 9600
no shut

[shy;]
B:路由器B
s2/0
10.1.1.2 255.255.255.0
clock tate 9600
no shut

[shy;]
问题:
为什么我在路由器B上运行 show ip route没有路由器A 的路由,通过show ip protocols查看A 的协议
如下:

Router#show ip protoclos
                     ^
% Invalid input detected at '^' marker.

Router#show ip protocols
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 9 seconds
Invalid after 180 seconds, hold down 180, flushed after 240
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Redistributing: rip
Default version control: send version 1, receive any version
  Interface             Send  Recv  Triggered RIP  Key-chain
  FastEthernet0/0       1     2 1   
  FastEthernet1/0       1     2 1   
  FastEthernet2/0       1     2 1   
Automatic network summarization is in effect
Maximum path: 4
Routing for Networks:
192.168.10.0
192.168.20.0
192.168.30.0
Passive Interface(s):
Routing Information Sources:
Gateway         Distance      Last Update
Distance: (default is 120)

中间并没有s0/0接口

[shy;]
我到B路由器上用show ip route

Gateway of last resort is not set
     10.0.0.0/24 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial2/0

[shy;]
中间没有A的路由信息

请问下高手们
我哪里配置错了,该如何解决?
?[shy;]

不用静态路由表的情况下该如何配置?
谢谢了……
发表于 2010-7-1 11:20:08 | 显示全部楼层
路由器直连的子网都需要用network申明!
如果你使用RIP路由协议,那么两边都得配上,否则数椐“有去无回”不会形成回路了,所以在要两台路由器上都加上一条子网申明的命令:network 10.0.0.0
沙发 2010-7-1 11:20:08 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2010-7-6 09:28:29 | 显示全部楼层

没有声明10.1.1.0网段呢!
最好用rip版本二的吧!
板凳 2010-7-6 09:28:29 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-2-6 21:43 , Processed in 0.066318 second(s), 12 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表