I have (in GNS3) three Cisco 3640s running 12.4(23) connected in series (R1 -> R2 -> R3). R1 and R2 are eBGP peers, R2 and R3 are iBGP peers. R1 advertises network 192.168.1.0/24. R2 receives this route, but does not advertise it to R3.
Shouldn't routes learned from eBGP be advertised to iBGP?
Here's the full configuration as entered:
loop0(R1)s0/0 <--> s0/0(R2)s0/1 <--> s0/1(R3)
R1:
configure terminal
interface s0/0
ip address 172.16.1.1 255.255.255.252
no shutdown
interface loopback0
ip address 192.168.1.1 255.255.255.0
router bgp 1
neighbor 172.16.1.2 remote-as 2
network 192.168.1.0 mask 255.255.255.0
R2:
configure terminal
interface s0/0
ip address 172.16.1.2 255.255.255.252
no shutdown
interface s0/1
ip address 172.16.1.5 255.255.255.252
no shutdown
router bgp 2
neighbor 172.16.1.1 remote-as 1
neighbor 172.16.1.6 remote-as 2
R3:
configure terminal
interface s0/1
ip address 172.16.1.6 255.255.255.252
no shutdown
router bgp 2
neighbor 172.16.1.5 remote-as 2
next-hop-self(other than due to already having an IGP advertising the eBGP peer's next-hop address)? I was initially going to make another question for this, but figured it would be an easy add to your answer. Recently having been labbing out BGP, and I keep running into this, it makes me curious as to whynext-hop-selfwasn't the default behavior. – Eddie Dec 29 '14 at 16:40