Hi everyone! I’d like to ask about route priorities in OVN logical routers.
Suppose that I have border gateway router and it has two routes to the prefix 10.0.0.0/24, but one of them is primary and other is backup. Can I configure such scheme? The difficulty is that when I add two or more routes to the logical router, the will be installed into routing information base as ECMP routes, so router will load balance traffic between several next-hops. The documentation says: [--may-exist] [--policy=POLICY] [--ecmp] [--ecmp-symmetric-reply] [--bfd[=UUID]] lr-route-add router prefix nexthop [port] It is an error if a route with prefix and POLICY already exists, unless --may-exist, --ecmp, or --ecmp-symmetric-reply is speci‐ fied. If --may-exist is specified but not --ecmp or --ecmp-sym�‐ metric-reply, the existed route will be updated with the new nexthop and port. If --ecmp or --ecmp-symmetric-reply is speci‐ fied, a new route will be added, regardless of the existed route., which is useful when adding ECMP routes, i.e. routes with same POLICY and prefix but different nexthop and port. So, probably, answer for my question is “no, you can’t”, but, maybe someone found workaround to handle it? I think I can manage bucket’s “weight” value in the Openflow group, which is created when OVN logical router has ECMP routes but it is not ideal in our case We use OVN 24.03 Regards, Ildar, network engineer _______________________________________________ discuss mailing list disc...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-discuss