10-29-2014 09:58 PM - edited 03-05-2019 12:04 AM
Hi All,
I am having this issue with one of our customer. The router one is not showing the correct next-hop address as compare to router two.
CE1--eBGP-->PE1
|iBGP
CE2--eBGP-->PE2
The existing config is as follows
PE1
=====
interface Loopback1
description NAT address for web traffic
ip address 192.168.1.20 255.255.255.255
!
interface GigabitEthernet0/1
description B2B interface
ip address 35.5.111.69 255.255.255.252
duplex full
speed 100
!
interface Serial1/0.3 point-to-point
description PVC to CustomerA
bandwidth 500
ip address 36.6.66.118 255.255.255.252
ip nat inside
!
router bgp 65120
no synchronization
bgp log-neighbor-changes
neighbor 35.5.111.70 remote-as 65120
neighbor 35.5.111.70 description IBGP to backup router
neighbor 35.5.111.70 next-hop-self
neighbor 35.5.111.70 soft-reconfiguration inbound
neighbor 36.6.66.117 remote-as 13009
neighbor 36.6.66.117 description customerA
neighbor 36.6.66.117 soft-reconfiguration inbound
neighbor 36.6.66.117 route-map HOST out
neighbor 36.6.66.117 filter-list 1 in
!
ip as-path access-list 1 deny _64500_
ip as-path access-list 1 permit .*
!
ip nat inside source list 11 interface Loopback1 overload
!
ip access-list standard HOST
permit 210.11.66.244
!
access-list 11 permit ip 10.0.0.0 0.255.255.255 host 210.11.66.244
!
route-map HOST-HOST permit 10
match ip address HOST
set as-path prepend 64500 64500
!
route-map HOST-HOST deny 20
!
PE2
======
interface Loopback1
description NAT address for web traffic
ip address 192.168.1.21 255.255.255.255
!
interface GigabitEthernet0/1
description B2B interface
ip address 35.5.111.70 255.255.255.252
duplex full
speed 100
!
interface Serial1/0.3 point-to-point
description PVC to CustomerA
bandwidth 500
ip address 36.6.66.122 255.255.255.252
ip nat inside
!
router bgp 65120
no synchronization
bgp log-neighbor-changes
neighbor 35.5.111.69 remote-as 65120
neighbor 35.5.111.69 description IBGP to backup router
neighbor 35.5.111.69 next-hop-self
neighbor 35.5.111.69 soft-reconfiguration inbound
neighbor 36.6.66.121 remote-as 13009
neighbor 36.6.66.121 description customerA
neighbor 36.6.66.121 soft-reconfiguration inbound
neighbor 36.6.66.121 route-map HOST out
neighbor 36.6.66.121 filter-list 1 in
!
ip as-path access-list 1 deny _64500_
ip as-path access-list 1 permit .*
!
ip nat inside source list 11 interface Loopback1 overload
!
ip access-list standard HOST
permit 210.11.66.244
!
access-list 11 permit ip 10.0.0.0 0.255.255.255 host 210.11.66.244
!
route-map HOST-HOST permit 10
match ip address HOST
set as-path prepend 64500 64500
!
route-map HOST-HOST deny 20
!
The intended result is as follows as showing from router two
PE1# show ip bgp | in 10.16
*i10.16.0.0/16 35.5.111.70 0 100 0 13009 65000 i
Router PE1 is showing the next-hop as the iBGP neighbor.
PE2# show ip bgp | in 10.16
*>10.16.0.0/16 36.6.66.121 0 100 0 13009 65000 i
This is a correct path for te customer.
I think the customer connection issue will resolve if we can correct the routing in PE1 like as below
PE1# show ip bgp | in 10.16
*>10.16.0.0/16 36.6.66.117 0 100 0 13009 65000 i
What is required to correct it on PE1/PE2? Please advice.
10-30-2014 10:32 AM
Apparently, your PE1 is not learning the 10.16/16 from eBGP peer.
Thanks.
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide