set DHCP parameters
This commit is contained in:
parent
8f5fec4637
commit
51404a9f90
@ -76,6 +76,7 @@
|
||||
{ address = "10.40.0.1"; prefixLength = 16; }
|
||||
];
|
||||
};
|
||||
enp0s21u2.useDHCP = true;
|
||||
};
|
||||
|
||||
# NAT bouygues <-> eno2
|
||||
@ -110,6 +111,11 @@
|
||||
};
|
||||
};
|
||||
|
||||
systemd.network.networks = {
|
||||
"40-bouygues".dhcpV4Config.RouteMetric = 1;
|
||||
"40-enp0s21u2".dhcpV4Config.RouteMetric = 1024;
|
||||
};
|
||||
|
||||
services.dhcpd4 = {
|
||||
enable = true;
|
||||
interfaces = [ "eno2" "chinoiseries" ];
|
||||
|
Loading…
Reference in New Issue
Block a user