雏鹰部落

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
12
返回列表 发新帖
楼主: woainia004

[讨论/求助] BGP的next-hop-self问题

[复制链接]
发表于 2012-12-6 15:12:46 | 显示全部楼层
本帖最后由 sunny_wzp 于 2012-12-6 16:36 编辑

R3和R4  neighbor   R2和R5的时候,都分别需要next-hop-self

R2:
router bgp 100
no synchronization
bgp router-id 2.2.2.2
bgp log-neighbor-changes
network 2.2.2.0 mask 255.255.255.0
neighbor 1.1.1.1 remote-as 100
neighbor 1.1.1.1 **-source Loopback0
neighbor 3.3.3.3 remote-as 200
neighbor 3.3.3.3 ebgp-multihop 255
neighbor 3.3.3.3 **-source Loopback0
neighbor 4.4.4.4 remote-as 200
neighbor 4.4.4.4 ebgp-multihop 255
neighbor 4.4.4.4 **-source Loopback0
no auto-summary
!         
ip http server
no ip http secure-server
ip classless
ip route 3.3.3.3 255.255.255.255 199.99.2.2
ip route 4.4.4.4 255.255.255.255 199.99.3.2
发表于 2012-12-6 16:07:45 | 显示全部楼层
哥们儿,我明白的你的意思,你是想利用BGP,但是问题确实有点儿。。。。。。,为什么在AS间用OSPF呢?
发表于 2012-12-6 16:20:13 | 显示全部楼层
本帖最后由 sunny_wzp 于 2012-12-6 16:26 编辑

刚才R2露了:nei 1.1.1.1 next-hop-self

R3:
router bgp 200
no synchronization
bgp router-id 3.3.3.3
bgp log-neighbor-changes
network 3.3.3.0 mask 255.255.255.0
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 ebgp-multihop 255
neighbor 2.2.2.2 **-source Loopback0
neighbor 2.2.2.2 next-hop-self
neighbor 5.5.5.5 remote-as 300
neighbor 5.5.5.5 ebgp-multihop 255
neighbor 5.5.5.5 **-source Loopback0
neighbor 5.5.5.5 next-hop-self
no auto-summary
!         
ip http server
no ip http secure-server
ip classless
ip route 2.2.2.2 255.255.255.255 199.99.2.1
ip route 5.5.5.5 255.255.255.255 199.99.4.2
!         
发表于 2012-12-6 16:28:58 | 显示全部楼层
本帖最后由 sunny_wzp 于 2012-12-6 16:30 编辑

R4
router bgp 200
no synchronization
bgp router-id 4.4.4.4
bgp log-neighbor-changes
network 4.4.4.0 mask 255.255.255.0
network 5.5.5.0 mask 255.255.255.0
neighbor 2.2.2.2 remote-as 100
neighbor 2.2.2.2 ebgp-multihop 255
neighbor 2.2.2.2 **-source Loopback0
neighbor 2.2.2.2 next-hop-self
neighbor 5.5.5.5 remote-as 300
neighbor 5.5.5.5 ebgp-multihop 255
neighbor 5.5.5.5 **-source Loopback0
neighbor 5.5.5.5 next-hop-self
no auto-summary
!         
ip http server
no ip http secure-server
ip classless
ip route 2.2.2.2 255.255.255.255 199.99.3.1
ip route 5.5.5.5 255.255.255.255 199.99.5.2
!         
发表于 2013-1-30 12:04:37 | 显示全部楼层
6150102596005
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|熊猫同学技术论坛|小黑屋| 网络工程师论坛 ( 沪ICP备09076391 )

GMT+8, 2024-12-4 01:36 , Processed in 0.072005 second(s), 15 queries , Gzip On.

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