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

BGP路由问题求助!

[复制链接]
发表于 2013-1-24 15:24:08 | 显示全部楼层 |阅读模式
QQ截图20130124150750.png R1配置
interface Loopback0
ip address 172.16.0.1 255.255.255.0
!
interface Loopback1
ip address 172.16.1.1 255.255.255.0
!
interface Loopback2
ip address 172.16.2.1 255.255.255.0
!
interface Loopback3
ip address 172.16.3.1 255.255.255.0
!
interface FastEthernet0/0
ip address 172.16.255.1 255.255.255.252
duplex auto
speed auto
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
router rip
version 2
network 172.16.0.0
!
router bgp 64512
no synchronization
bgp log-neighbor-changes
network 172.16.0.0 mask 255.255.255.0
network 172.16.1.0 mask 255.255.255.0
network 172.16.2.0 mask 255.255.255.0
network 172.16.3.0 mask 255.255.255.0
network 172.16.255.0 mask 255.255.255.252
neighbor 172.16.16.1 remote-as 64512
neighbor 172.16.16.1 update-source Loopback0
auto-summary

R2配置
interface Loopback0
ip address 172.16.16.1 255.255.255.0
!
interface FastEthernet0/0
ip address 172.16.255.2 255.255.255.252
duplex auto
speed auto
!
interface Serial0/0
ip address 10.1.255.1 255.255.255.252
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
router rip
version 2
network 172.16.0.0
no auto-summary
!
router bgp 64512
no synchronization
bgp log-neighbor-changes
network 10.1.255.0 mask 255.255.255.252
network 172.16.255.0 mask 255.255.255.252
neighbor 172.16.0.1 remote-as 64512
neighbor 172.16.0.1 update-source Loopback0
neighbor 192.168.0.1 remote-as 64513
neighbor 192.168.0.1 ebgp-multihop 10
neighbor 192.168.0.1 update-source Loopback0
auto-summary
!
ip forward-protocol nd
ip route 192.168.0.0 255.255.255.0 10.1.255.2
!


R3配置
interface Loopback0
ip address 192.168.0.1 255.255.255.0
!
interface Loopback1
ip address 192.168.1.1 255.255.255.0
!
interface Loopback2
ip address 192.168.2.1 255.255.255.0
!
interface Loopback3
ip address 192.168.3.1 255.255.255.0
!
interface FastEthernet0/0
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/0
ip address 10.1.255.2 255.255.255.252
clock rate 2000000
!
interface FastEthernet0/1
no ip address
shutdown
duplex auto
speed auto
!
interface Serial0/1
no ip address
shutdown
clock rate 2000000
!
router bgp 64513
no synchronization
bgp log-neighbor-changes
network 10.1.255.0 mask 255.255.255.252
network 192.168.0.0
network 192.168.1.0
network 192.168.2.0
network 192.168.3.0
redistribute connected
neighbor 172.16.16.1 remote-as 64512
neighbor 172.16.16.1 ebgp-multihop 10
neighbor 172.16.16.1 update-source Loopback0
no auto-summary
!
ip forward-protocol nd
ip route 172.16.16.0 255.255.255.0 10.1.255.1
!

现在问题是R3可以通过BGP学习到R1的路由,R2可以通过BGP学习到R3的路由,通过RIP学习到R1的路由,但是R1无法通过BGP学习到R3的路由。



发表于 2013-1-25 08:54:30 | 显示全部楼层
好贴,绝对要支持下!!~~
沙发 2013-1-25 08:54:30 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-1-27 02:16:09 | 显示全部楼层
看帖子的要发表下看法
板凳 2013-1-27 02:16:09 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-1-28 11:50:22 | 显示全部楼层
亲,下一跳不可达,BGP最优的原则~~
地板 2013-1-28 11:50:22 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-1-28 14:40:22 | 显示全部楼层
这个明显没有配置RIP到BGP路由的重发布啊
5# 2013-1-28 14:40:22 回复 收起回复
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2025-2-13 22:28 , Processed in 0.082853 second(s), 24 queries , Redis On.  

  Powered by Discuz!

  © 2001-2025 HH010.COM

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