new interface name
This commit is contained in:
parent
a795acfabc
commit
90f8d1d752
2 changed files with 2 additions and 4 deletions
|
@ -16,8 +16,6 @@
|
|||
boot.loader.efi.canTouchEfiVariables = true;
|
||||
|
||||
networking = {
|
||||
useDHCP = true;
|
||||
interfaces.enp1s0.useDHCP = true;
|
||||
hostName = "dishwasher"; # Define your hostname.
|
||||
useNetworkd = true;
|
||||
firewall.enable = true;
|
||||
|
@ -37,7 +35,7 @@
|
|||
|
||||
networks."ether" = {
|
||||
matchConfig = {
|
||||
Name = "enp1s0";
|
||||
Name = "enp53s0";
|
||||
};
|
||||
networkConfig = {
|
||||
DHCP = "yes";
|
||||
|
|
|
@ -48,7 +48,7 @@
|
|||
networking.nat = {
|
||||
enable = true;
|
||||
enableIPv6 = true;
|
||||
externalInterface = "enp1s0";
|
||||
externalInterface = "enp53s0";
|
||||
internalInterfaces = [ "microvm-bridge" ];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue