forked from DGNum/lab-infra
fix(dns01): network config
This commit is contained in:
parent
5db12a02f7
commit
23d855e952
1 changed files with 18 additions and 0 deletions
|
@ -15,6 +15,24 @@ lib.extra.mkConfig {
|
|||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma"
|
||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrijwPlb7KQkYPLznMPVzPPT69cLzhEsJzZi9tmxzTh cst1@x270"
|
||||
];
|
||||
systemd.network = {
|
||||
config.routeTables = {
|
||||
he = 100;
|
||||
mwan = 110;
|
||||
};
|
||||
networks = {
|
||||
"10-ens18" = {
|
||||
name = "ens18";
|
||||
|
||||
networkConfig = {
|
||||
Description = "ENS uplink";
|
||||
Address = [ "129.199.146.102/24" ];
|
||||
Gateway = "129.199.146.254";
|
||||
LLDP = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
root = ./.;
|
||||
|
|
Loading…
Reference in a new issue