mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-04-04 11:10:53 +02:00
Fixed lisa networking
This commit is contained in:
parent
cb76d70920
commit
865ae4478e
1 changed files with 3 additions and 1 deletions
|
@ -69,11 +69,13 @@
|
||||||
services.fail2ban.enable = true;
|
services.fail2ban.enable = true;
|
||||||
|
|
||||||
networking.hostName = "lisa";
|
networking.hostName = "lisa";
|
||||||
|
networking.useDHCP = false;
|
||||||
networking.interfaces.ens20.useDHCP = false;
|
networking.interfaces.ens20.useDHCP = false;
|
||||||
networking.interfaces.ens20.mtu = 1420;
|
networking.interfaces.ens20.mtu = 1420;
|
||||||
networking.interfaces.ens20.ipv4.addresses = [{ address = "212.129.40.11"; prefixLength = 32; }];
|
networking.interfaces.ens20.ipv4.addresses = [{ address = "212.129.40.11"; prefixLength = 32; }];
|
||||||
networking.defaultGateway.interface = "ens20";
|
|
||||||
networking.interfaces.ens18.useDHCP = true;
|
networking.interfaces.ens18.useDHCP = true;
|
||||||
|
networking.defaultGateway.interface = "ens20";
|
||||||
|
networking.defaultGateway.address = "212.129.40.11";
|
||||||
networking.interfaces.ens19.useDHCP = false;
|
networking.interfaces.ens19.useDHCP = false;
|
||||||
networking.interfaces.ens19.ipv6.addresses = [{
|
networking.interfaces.ens19.ipv6.addresses = [{
|
||||||
address = "2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb";
|
address = "2a01:e0a:5f9:9681:5880:c9ff:fe9f:3dfb";
|
||||||
|
|
Loading…
Add table
Reference in a new issue