mirror of
https://github.com/CumulusNetworks/ifupdown2.git
synced 2024-05-06 15:54:50 +00:00
Ticket: CM-4639 Reviewed By: Testing Done: Tested with interfaces file and steps from the bug This is a Hack to make sure the primary address is the first in the routing table. Its not a full proof solution. We use `ip route get` on the vrr network to see which device the kernel returns. if it is the mac vlan device, flap the macvlan device to adjust the routing table entry. flapping the macvlan device makes sure the macvlan connected route goes through delete + add, hence adjusting the order in the routing table.