我的拓扑也是这样
R0作为枢纽
R1和R2的发言

R2的回送为2.2.2.2,R3的回送为3.3.3.3。
R1可以平分这些地址,并在RIPv2中宣传2.0.0.0和3.0.0.0。
然而,当我运行“显示ip路由”时,R2和R3似乎并没有在他们的路由表中获得这些路由
自动摘要没有生效,RIP正在所有路由器上运行v2。
任何帮助都是非常感谢的。
Router 1 (HUB)
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 172.12.123.1 255.255.255.0
encapsulation frame-relay
frame-relay interface-dlci 102
frame-relay interface-dlci 103
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
version 2
network 2.0.0.0
network 3.0.0.0
network 172.12.0.0
no auto-summary
!
ip classless
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
-----------------------------------
R2 (SPOKE)
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback2
ip address 2.2.2.2 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 172.12.123.2 255.255.255.0
encapsulation frame-relay
frame-relay interface-dlci 201
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
version 2
network 2.0.0.0
network 172.12.0.0
no auto-summary
!
ip classless
ip route 172.12.123.3 255.255.255.255 172.12.123.1
ip route 2.2.2.2 255.255.255.255 172.12.123.1
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end
------------------------------
R3
!
version 12.2
no service timestamps log datetime msec
no service timestamps debug datetime msec
no service password-encryption
!
hostname Router
!
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
!
interface Loopback3
ip address 3.3.3.3 255.255.255.0
!
interface FastEthernet0/0
no ip address
duplex auto
speed auto
shutdown
!
interface FastEthernet1/0
no ip address
duplex auto
speed auto
shutdown
!
interface Serial2/0
ip address 172.12.123.3 255.255.255.0
encapsulation frame-relay
frame-relay interface-dlci 301
!
interface Serial3/0
no ip address
shutdown
!
interface FastEthernet4/0
no ip address
shutdown
!
interface FastEthernet5/0
no ip address
shutdown
!
router rip
version 2
network 3.0.0.0
network 172.12.0.0
no auto-summary
!
ip classless
ip route 172.12.123.2 255.255.255.255 172.12.123.1
ip route 3.3.3.3 255.255.255.255 172.12.123.1
!
ip flow-export version 9
!
!
!
!
!
!
!
line con 0
!
line aux 0
!
line vty 0 4
login
!
!
!
end编辑:是因为R1正在通过S2/0来学习这些回退,所以不会再做广告了吗?
Edit2:我把它拿回来,接口在运行帧中继,所以不可能是它吗?
发布于 2017-09-22 13:13:59
编辑:是因为R1正在通过S2/0来学习这些回退,所以不会再做广告了吗?Edit2:我把它拿回来,接口在运行帧中继,所以不可能是它吗?
你关心的是帧中继IP分片视界。
但是,当您在R1上使用多点物理接口帧中继时,您不应该遇到这个问题,默认情况下将禁用拆分视界,但这可能是数据包跟踪程序IOS或IOS版本本身的问题。
验证的最佳方法是在R1上运行以下命令
`show ip int s2/0 | i Split horizon`如果您看到Split horizon is enabled,那么这就是问题所在。您可以通过在R1's s2/0配置下发出no ip split-horizon关闭它,然后再次检查。
在R1上,命令network 2.0.0.0和network 3.0.0.0根本不起作用,因为网络命令是在设备上连接的接口上启用/运行RIP,而不是“做广告”。
另一点是关于R2和R3,您不需要两个静态路由,因为它们不是必要的和不正确的。为了使R2和R3相互访问对方的接口和回送IP,可以在R2上添加frame-relay map ip 172.12.123.3 201 broadcast,在R3上添加frame-relay map ip 172.12.123.2 301 broadcast。您可以使用show frame-relay map检查帧中继地图。
最佳实践是使用点点子接口。
https://networkengineering.stackexchange.com/questions/44357
复制相似问题