Here is my situation, I have a router R1 whose external IP address is 11.11.2.1. I have another router R2 whose external IP address is 5.5.2.1.
I am running eBGP on R1 and R2. However, I cannot ping R2 from R1 and R1 from R2. How can I make them to ping each other? I know that they are in a different subnet. But, this can be a practical case where I don't want to force the external IP address to match the subnet of the other router interface.
With out "disable connected check command" also this scenario worked for me.Added a static route to neighboring route and achieved neighbor ship.
! ! FastEthernet0/0 11.11.2.1
! !
! ip route 11.11.2.0 255.255.255.0 FastEthernet0/0 !
eBGP requires neighbours to be directly connected in the same subnet by default. If your two BGP neighbours are in different subnets then you will need to use an intermediate router in order to route BGP packets between the subnets.
Static routes and the multihop BGP command would be required. You should take a check over some BGP documentation.
R1:
R2:
Ensure you can ping R1 <--> R2
There after:
R1:
R2: