Re: systemd-networkd multipath routing

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





On 07/05/19 6:23 pm, Arnaud Lemaire wrote:
Hi there,

I'm trying to set up network multipath routing with systemd, but I cannot find a way to do it cleanly.

The part that I cannot set up is :
```
$ ip route
default
        nexthop via 192.168.11.1 dev inet.11 weight 5
        nexthop via 192.168.22.2 dev inet.22 weight 10
...
```

I'm getting around it with this unit:
$ cat /etc/systemd/system/multipath-routing.service
...

And it's working, but as soon as I unplug the network cable and plug it back, the routes are gone
and the unit is not triggered


Latest systemd.network (v242) supports:
   IgnoreCarrierLoss=true.

This way routes should not vanish when cable is unplugged.

Regards,

Amish
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux