R2 ------------------------------------CORE-----------------------------------R6
f0/0 f0/0
155.1.23.2 155.1.146.6
====================================================
R2 is advertising 222.22.2.0/30 in BGP and R6 is advt 118.0.0.0/30 in BGP.
No BGP in the core and no redistributaion is allowed from BGP to IGP in core.
Requriment :- R2 should ping to 118.0.0.0/30 with source as LOOPBACK IP
and R6 should ping to 222.22.2.0/30 with source as LOOPBACK IP
On R2
Int tu 0
Ip address 10.10.10.1/24
tunnel src 155.1.23.2
tunnel dest 155.1.146.6
ruter BGP 200
nei 155.1.146.6 remote-as 100
nei 155.1.146.6 route-map fromR4 in
net 150.1.2.2 mask 255.255.255.255 <----Advt loopback in BGP
route-map fromR4
set ip next hop 10.10.10.2
On R6
Int tu 0
Ip address 10.10.10.2/24
tunnel src 155.1.146.6
tunnel dest 155.1.23.2
ruter BGP 200
nei 155.1.23.2 remote-as 100
nei 155.1.23.2 route-map fromR4 in
net 150.1.6.6 mask 255.255.255.255 <----Advt loopback in BGP
route-map fromR4
set ip next hop 10.10.10.1
I have done the above mentioned configuration and everthing is working fine(Tunnel are UP)
However if i change the nexthop on R2 to 10.10.10.1 and on R6 to 10.10.10.2 its not working.
As per my understanding its should work.
Please help to find the resaon behind this.