我目前正在研究一个场景,以更好地了解 RIPv2 路由协议,但目前卡住了。请查看下面的图片,以更好地了解我正在尝试做的事情。
我在最左侧的 VLAN 10 中有 PC0 连接到 S3,S3 通过中继连接到 R2(棒上的路由器 -VLANs10,20)。
在最右侧,我还在 VLAN 10 中设置了 PC5,连接到通过中继连接到 R3 的 S2(棒上的路由器 - Vlans 10、20、30)
R3 和 R2 通过串行链路相互连接。
尽管配置了 RIP,但 PC0 无法 ping 通网络另一端的 PC5。虽然 PC0 可以 ping 未连接到 R3 的设备。
我检查了 Packet Tracer 中的模拟,发现 R3 会丢弃 ARP 请求。
The ARP request's target IP address does not match the receiving port's IP address.
The ARP process checks the routing table whether the requested IP address is reachable.
The requested IP address is reachable on the receiving port.
The source IP address is in the ARP table. The ARP process updates the ARP table with received information.
The ARP process drops the frame.
看这个,我猜由于VLAN 10网络是直接连接的,ARP猜测请求的ip - 即PC5 172.16.1.10 - 应该可以通过连接的链路访问?虽然 PC5 在网络的另一端?
我已经在两台路由器上配置了 RIPv2 并添加了 VLAN 的网络语句......我的猜测是,它不起作用,因为当 R3 向 R2 通告 VLAN10 的路由时,R2 不会“接受”它因为在它的路由表中已经有一个用于该网络的路由具有较低的跳数?
还是我错过了什么?如果没有,哪种路由协议适合我的需求?
非常感谢您的阅读!如果您需要任何其他信息,请告诉我。
