explicit gateway for bolty

This commit is contained in:
Cyryl Płotnicki 2023-04-22 12:43:03 +01:00
parent df52e81d9c
commit 358af0b453

View file

@ -9,11 +9,13 @@
systemd.network.networks."br0" = { systemd.network.networks."br0" = {
name = "br0"; name = "br0";
address = [ "10.0.0.8/24" ]; address = [ "10.0.0.8/24" ];
DHCP = "yes"; gateway = [ "10.0.0.1" ];
DHCP = "no";
}; };
systemd.network.networks."eth" = { systemd.network.networks."eth" = {
name = "enp4s0"; name = "enp4s0";
networkConfig.Bridge = "br0"; networkConfig.Bridge = "br0";
DHCP = "no";
}; };
} }