While it might seem odd, 0.0.0.0/0 or ::/0 gateways are valid and commonly used on point-to-point links (e.g. a wireguard tunnel) to indicate that all traffic needs to be sent to a given interface. systemd-networkd actually documents this as a valid configuration in its man pages [1]. Tested to do the right thing in one of my NixOS containers using a Wireguard tunnel as its default route. [1] https://www.freedesktop.org/software/systemd/man/systemd.network.html#DefaultRouteOnDevice= |
||
---|---|---|
.. | ||
filesystems | ||
auto-upgrade.nix | ||
bcache.nix | ||
cpu-freq.nix | ||
encrypted-devices.nix | ||
filesystems.nix | ||
lvm.nix | ||
network-interfaces-scripted.nix | ||
network-interfaces-systemd.nix | ||
network-interfaces.nix | ||
powertop.nix | ||
scsi-link-power-management.nix | ||
snapraid.nix | ||
swraid.nix | ||
trackpoint.nix | ||
tty-backgrounds-combine.sh |