R3和R4neighbor 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
哥们儿,我明白的你的意思,你是想利用BGP,但是问题确实有点儿。。。。。。,为什么在AS间用OSPF呢? 本帖最后由 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
! 本帖最后由 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
! 6150102596005
页:
1
[2]