Hi All,

We have a 3 node setup where

   Node 1(FRR)ß---------à Node X ß-------------à Node 3(FRR)

So as per the setup FRR is running on Node 1 and Node 3 , and there is an intermediated node NodeX (say Node 2) between them, If we want to establish a BGP connection between Node 1 and Node 3 , we have to add a static route in FRR config like below –

ip route 192.168.23.3 255.255.255.255 192.168.12.2
neighbor 192.168.23.3 ebgp-multihop 2

Is there a way we could pass the gateway ip dynamically to Node 1 , instead of hard-coding it in config , because for our use case this ip could be 1 or many (many gateways for load balancing)


Thanks & Regards,

Sandeep Kumar