explicit gateway for bolty
This commit is contained in:
parent
df52e81d9c
commit
358af0b453
1 changed files with 3 additions and 1 deletions
|
@ -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";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue