DHCP on ens19 and ens18 + set ip on ens18
This commit is contained in:
parent
816e084deb
commit
122c0deeac
1 changed files with 2 additions and 1 deletions
|
@ -24,13 +24,14 @@
|
||||||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||||
# replicates the default behaviour.
|
# replicates the default behaviour.
|
||||||
networking.useDHCP = false;
|
networking.useDHCP = false;
|
||||||
networking.interfaces.ens19 = {
|
networking.interfaces.ens18 = {
|
||||||
useDHCP = true;
|
useDHCP = true;
|
||||||
ipv6.addresses = [{
|
ipv6.addresses = [{
|
||||||
address = "2001:470:1f13:187:611:4514:d93a:f80a";
|
address = "2001:470:1f13:187:611:4514:d93a:f80a";
|
||||||
prefixLength = 64;
|
prefixLength = 64;
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
networking.interfaces.ens19.useDHCP = true;
|
||||||
|
|
||||||
# Configure network proxy if necessary
|
# Configure network proxy if necessary
|
||||||
# networking.proxy.default = "http://user:password@proxy:port/";
|
# networking.proxy.default = "http://user:password@proxy:port/";
|
||||||
|
|
Loading…
Reference in a new issue