为什么我配置的Eigrp是单向分享路由信息?

whyforme 2019-01-25 04:42:00
下面是配置
[img=https://img-bbs.csdn.net/upload/201901/25/1548405026_96273.png][/img

分别在Router0和Router1划分好vlan之后,在两个路由器配置Eigrp

Router0:
Router(config)# router eigrp 10
Router(config-router)#network 192.168.10.0 255.255.255.0
Router(config-router)#network 192.168.20.0 255.255.255.0
Router(config-router)#network 10.3.1.0 255.255.255.0
Router(config-router)#no auto-summary
Router(config-router)#exit
Router(config)#exit

Router1:
Router(config)#router eigrp 10
Router(config-router)#network 192.168.30.0 255.255.255.0
Router(config-router)#network 10.3.1.0 255.255.255.0
Router(config-router)#no auto-summary
Router(config-router)#exit

配置完以后发现:
Router0:

Gateway of last resort is not set

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

Router#show ip route
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/24 is subnetted, 1 subnets
C 10.3.1.0 is directly connected, Vlan1
C 192.168.10.0/24 is directly connected, Vlan10
C 192.168.20.0/24 is directly connected, Vlan20

Router1:

Router#show IP ROUTE
Codes: C - connected, S - static, I - IGRP, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2, E - EGP
i - IS-IS, L1 - IS-IS level-1, L2 - IS-IS level-2, ia - IS-IS inter area
* - candidate default, U - per-user static route, o - ODR
P - periodic downloaded static route

Gateway of last resort is not set

10.0.0.0/24 is subnetted, 1 subnets
C 10.3.1.0 is directly connected, Vlan1
D 192.168.10.0/24 [90/51225600] via 10.3.1.1, 00:13:40, Vlan1
D 192.168.20.0/24 [90/51225600] via 10.3.1.1, 00:13:40, Vlan1


请各位帮忙看一下到底错在哪里.为什么Router1可以获取到192.168.10.0和192.168.20.0的路由信息而Router0获取不到192.168.30.0的信息?




...全文
28 回复 打赏 收藏 转发到动态 举报
写回复
用AI写文章
回复
切换为时间正序
请发表友善的回复…
发表回复

3,805

社区成员

发帖
与我相关
我的任务
社区描述
硬件使用 交换及路由技术相关问题讨论专区
社区管理员
  • 交换及路由技术社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧