I've a question related to BGP configuration. If I'm using the
update-source loopback or
next-hop-self commands, will they modify the source IP address in the packet?
Assume R1 has an eBGP session with R2 and iBGP session with R3 and R4. R1 uses the command
update-source loopback and sends the packet to R3. Now, the source IP address of the packet has been changed. R3 forwards the packet to its destination through some other peer. Now, when the packet comes from destination, it wont be having the correct source address from where packet came because of the command
update-source loopback. So, does BGP handle this case?
Same for the
next-hop-self command. R2 can use this command while sending the packets to R3 or R4, and further they can send to their peers.
Can someone please clarify my doubts?