NixOS configuration for HPC cluster https://docs.hpc.informatik.hs-fulda.de/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

36 lines
671 B

{
networking.interfaces."enp11s0f0" = { };
networking.interfaces."enp11s0f1" = { };
networking.bonds."data" = {
interfaces = [ "enp11s0f0" "enp11s0f1" ];
driverOptions = {
miimon = "100";
mode = "802.3ad";
};
};
networking.vlans."mngt" = {
id = 1032;
interface = "data";
};
networking.interfaces."data" = {
ipv4.addresses = [{
address = "10.32.47.10";
prefixLength = 24;
}];
};
networking.interfaces."mngt" = {
ipv4.addresses = [{
address = "10.32.46.253";
prefixLength = 24;
}];
};
networking.defaultGateway = {
address = "10.32.47.1";
interface = "data";
};
}