Switch montalin to DMZ network
This commit is contained in:
parent
4a40bc7224
commit
6aade3b547
1 changed files with 6 additions and 1 deletions
|
@ -58,9 +58,14 @@
|
|||
# Per-interface useDHCP will be mandatory in the future, so this generated config
|
||||
# replicates the default behaviour.
|
||||
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.defaultGateway = "10.1.2.1";
|
||||
networking.nameservers = [ "10.1.2.1" ];
|
||||
|
||||
#networking.wireless.enable = true; # Enables wireless support via wpa_supplicant.
|
||||
#networking.wireless.networks = {
|
||||
# yummi = {
|
||||
|
|
Loading…
Add table
Reference in a new issue