路由器在使用 RIP 时不学习路由

网络工程 路由 撕裂
2021-07-16 15:22:57

我正在尝试使用 Packet Tracer 实现简单的 RIP 场景,首先这里是场景。

在此处输入图片说明

我已经使用以下命令RIPv2在每个路由器中进行配置

R1:

router rip
version 2
network 172.30.10.0
network 10.1.1.0
no auto-summary

R2

router rip
version 2
network 10.1.1.0
network 10.2.2.0
no auto-summary

R3

router rip
version 2
network 172.30.30.0
network 10.2.2.0

现在,如果我看到show ip route命令的输出R1,它不会显示任何到172.30.0.0子网的路由R3

     10.0.0.0/30 is subnetted, 1 subnets
C       10.1.1.0 is directly connected, Serial0/1/0
     172.30.0.0/24 is subnetted, 1 subnets
C       172.30.10.0 is directly connected, FastEthernet0/0

同样,这里是的输出R2R3

R2,

     10.0.0.0/30 is subnetted, 2 subnets
C       10.1.1.0 is directly connected, Serial0/1/0
C       10.2.2.0 is directly connected, Serial0/1/1
     172.30.0.0/24 is subnetted, 1 subnets
R       172.30.10.0 [120/1] via 10.1.1.1, 00:00:19, Serial0/1/0

R2只学习到172.30.10.0网络R1的路径,而不是R3.

R3

     10.0.0.0/24 is subnetted, 1 subnets
C       10.2.2.0 is directly connected, Serial0/1/1
     172.30.0.0/24 is subnetted, 1 subnets
C       172.30.30.0 is directly connected, FastEthernet0/0

我不知道我错过了什么。我在另一篇文章中读到我应该auto-summary在我已经禁用的每个路由器中禁用,之后我也清除了路由表,但它也不起作用。

2个回答

在 R3 中没有缺少自动摘要如果这不能解决问题,您可能需要在每个路由器中发出“IP 路由”命令。

在所有三个路由器中都没有使用自动汇总解决了这个问题。