Ok, I'm currently studying BGP, and I'm using the IPExpert CCNP Route on demand videos.
The instructor is explaining about the next-hop-self command, but I was wondering If I understood correct. So if you use the
#neighbor x.x.x.x nex-hop-self command under the BGP process, and the BGP update is send to router in the network, also the ones not running BGP, they will alter the packet when it passes the IGP routes, and they will point to themselves as the next hop to reach a eBGP route. This will be done up until the route reach the other iBGP peer. And when this iBGP peer send the route out to another AS again to an eBGP peer, it will also alter the next-hop to itself as this is the default behaviors for eBGP.
So does this command act like some sort of flag in the BGP packet?
Please find enclose an attachment of the diagram I'm talking about:
In this network diagram he only tells to configure the next-hop-self command on R1. I would think this also need to be done on R2 or R4, depending in which path you prefer, because they need to tell R3 to use them (R2 or R4) as the next hop. Or am I missing something here?