[dev] How to pass gateways ip dynamically in BGP connection with multihop

SANDEEP KUMAR sandeepkumar2016000 at gmail.com
Thu Feb 17 07:27:14 UTC 2022


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.frrouting.org/pipermail/dev/attachments/20220217/c2fc4509/attachment.htm>


More information about the dev mailing list