3rd bullet item
3rd bullet item
On R3:
On R1:
R1(config-if)#router bgp 100
R1(config-router)#nei 13.1.1.3 remote 200
R1(config-router)#nei 12.1.1.2 remote 200
On R2:
R2(config)#router bgp 200
R2(config-router)#nei 12.1.1.1 remote 100
On R1:
R1#sh ip bgp | b Net
On R2:
R2#sh ip bgp | b Net
R2#
Why is it that R2 doesn't have the route in its BGP table? Let's do a debug and find out:
R2#deb ip bgp updates
BGP updates debugging is on for address family: IPv4 Unicast
BGP(0): 12.1.1.1 rcv UPDATE about 3.3.3.3/32 -- DENIED due to: AS-PATH
contains our own AS;
OK, we can see the problem. This can be fixed using the "Neighbor 12.1.1.1 allowas-in" or on R1,
we can use the "neighbor 12.1.1.2 as-override". In this case we will use the second option:
On R1:
R1(config)#router bgp 100
R1(config-router)#neighbor 12.1.1.2 as-override
R1#clear ip bgp * so
On R2: