Switch montalin to DMZ network

This commit is contained in:
Fabian Hauser 2020-04-18 16:19:15 +00:00
parent 4a40bc7224
commit 6aade3b547

View file

@ -58,9 +58,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.eno1.useDHCP = true; networking.interfaces.eno1 = {
ipv4.addresses = [ { address = "10.1.2.2"; prefixLength = 24; } ];
};
networking.interfaces.wlp1s0.useDHCP = true; networking.interfaces.wlp1s0.useDHCP = true;
networking.defaultGateway = "10.1.2.1";
networking.nameservers = [ "10.1.2.1" ];
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant. #networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
#networking.wireless.networks = { #networking.wireless.networks = {
# yummi = { # yummi = {