首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >环回接口没有通过RIPv2发布广告

环回接口没有通过RIPv2发布广告
EN

Network Engineering用户
提问于 2017-09-22 00:23:08
回答 1查看 1.2K关注 0票数 1

我的拓扑也是这样

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。

任何帮助都是非常感谢的。

代码语言:javascript
复制
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:我把它拿回来,接口在运行帧中继,所以不可能是它吗?

EN

回答 1

Network Engineering用户

回答已采纳

发布于 2017-09-22 13:13:59

编辑:是因为R1正在通过S2/0来学习这些回退,所以不会再做广告了吗?Edit2:我把它拿回来,接口在运行帧中继,所以不可能是它吗?

你关心的是帧中继IP分片视界

但是,当您在R1上使用多点物理接口帧中继时,您不应该遇到这个问题,默认情况下将禁用拆分视界,但这可能是数据包跟踪程序IOS或IOS版本本身的问题。

验证的最佳方法是在R1上运行以下命令

代码语言:javascript
复制
`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.0network 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检查帧中继地图。

最佳实践是使用点点子接口。

票数 2
EN
页面原文内容由Network Engineering提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://networkengineering.stackexchange.com/questions/44357

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档