设为首页收藏本站language 语言切换
查看: 2017|回复: 1
收起左侧

[RS] ping 不通R1的1.1.1.1 但是有R1的路由 BGP邻居也是全的

[复制链接]
发表于 2016-2-17 14:29:17 | 显示全部楼层 |阅读模式
R1#show run | sec bgp
router bgp 100
no synchronization
bgp router-id 1.1.1.1
bgp log-neighbor-changes
network 1.1.1.0 mask 255.255.255.0
neighbor 2.2.2.2 remote-as 200
neighbor 2.2.2.2 ebgp-multihop 255
neighbor 2.2.2.2 update-source Loopback0
no auto-summary
R1#show run int s0/0
Building configuration...

Current configuration : 86 bytes
!
interface Serial0/0
ip address 12.1.1.1 255.255.255.0
serial restart-delay 0
end

R1#show run | sec ip route
ip route 2.2.2.0 255.255.255.0 12.1.1.2



R2#show run | sec bgp
router bgp 200
no synchronization
bgp router-id 2.2.2.2
bgp log-neighbor-changes
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 ebgp-multihop 255
neighbor 1.1.1.1 update-source Loopback0
neighbor 3.3.3.3 remote-as 200
neighbor 3.3.3.3 update-source Loopback0
neighbor 3.3.3.3 next-hop-self
no auto-summary

R2#show run | sec ip route
ip route 1.1.1.0 255.255.255.0 12.1.1.1

R2#show run | sec rip
router rip
version 2
network 2.0.0.0
network 23.0.0.0
no auto-summary



R3#show run | sec rip
router rip
version 2
network 3.0.0.0
network 23.0.0.0
no auto-summary
R3#show run | sec bgp
router bgp 200
no synchronization
bgp router-id 3.3.3.3
bgp log-neighbor-changes
neighbor 2.2.2.2 remote-as 200
neighbor 2.2.2.2 update-source Loopback0
no auto-summary

1.png
发表于 2016-2-17 15:01:54 | 显示全部楼层
因为R1上没有R3的loopback接口和s0/0接口的路由,可以在R1上写一条默认路由
沙发 2016-2-17 15:01:54 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2025-5-15 02:42 , Processed in 0.126759 second(s), 25 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

快速回复 返回顶部 返回列表