With OSPF connection between Node1(FRR) and Node X route learn automatically but we don't want to run OSPF between Node1 and NodeX and here following is requirement
Node 1(FRR)ß---------à Node X ß-------------à Node 3(FRR)
Node X consists of Node X-master and Node X1-worker1, Node X-worker2, Node X-worker3,...,Node X-workerN. Node X-master knows all details of the workers. Can we have BGP connection only between Node 1 and Node X-master and feed next hop details about workers to Node 1 over this BGP connection ? We want to avoid running OSPF/BGP between workers and Node1.
Node 1(FRR) ß---------à Node X-masterß-------------à Node 3(FRR)
ß---------à Node X-worker1 ß-------------à Node 3(FRR)
ß---------à Node X-worker2 ß-------------à Node 3(FRR)
ß---------à Node X-worker3 ß-------------à Node 3(FRR)
.
.
.
ß---------à Node X-workerN ß-------------à Node 3(FRR)
Thanks & Regards,
Sandeep KumarOn Thu, Feb 17, 2022 at 11:23 PM Xiaodong Xu <stid.smth@gmail.com> wrote:Hi Sandeep,I assume you are talking about the gateway IP like 192.168.12.2 which is configured on Node X. If you don't want to add these routes manually you may run OSPF between Node 1 and each Node X, so that Node 1 may learn from Node X automatically.Please be aware that each Node X will need to know how to route to Node 3 as well. The case could be similar, but since Node X is connected to Node 3 directly, you don't have to do anything, unless bgp on Node 3 is running on the loopback interface.Regards,XiaodongOn Thu, Feb 17, 2022 at 5:50 AM SANDEEP KUMAR <sandeepkumar2016000@gmail.com> wrote:_______________________________________________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 2Is 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
dev mailing list
dev@lists.frrouting.org
https://lists.frrouting.org/listinfo/dev