added ioit-vlan

This commit is contained in:
2024-09-28 12:41:58 -04:00
parent d9c3f36341
commit 86dd410cc8
2 changed files with 22 additions and 6 deletions

View File

@@ -84,6 +84,7 @@
"hwloc", "hwloc",
"INITDB", "INITDB",
"iocharset", "iocharset",
"ioit",
"iperf", "iperf",
"isal", "isal",
"jnoortheen", "jnoortheen",
@@ -116,6 +117,8 @@
"nemo", "nemo",
"neofetch", "neofetch",
"nerdfonts", "nerdfonts",
"netdev",
"netdevs",
"Networkd", "Networkd",
"networkmanager", "networkmanager",
"newtabpage", "newtabpage",
@@ -170,6 +173,7 @@
"relatime", "relatime",
"Rhosts", "Rhosts",
"ripgrep", "ripgrep",
"routable",
"rspace", "rspace",
"rtkit", "rtkit",
"rycee", "rycee",

View File

@@ -7,31 +7,43 @@
}; };
systemd.network = { systemd.network = {
enable = true; enable = true;
netdevs = {
"20-ioit-vlan" = {
netdevConfig = {
Kind = "vlan";
Name = "ioit-vlan";
};
vlanConfig.Id = 20;
};
};
networks = { networks = {
"10-1GB_Primary" = { "10-1GB_Primary" = {
matchConfig.Name = "enp98s0f0"; matchConfig.Name = "enp98s0f0";
DHCP = "yes"; DHCP = "yes";
vlan = [ "ioit-vlan" ];
linkConfig.RequiredForOnline = "routable";
}; };
};
networks = {
"10-1GB_Secondary" = { "10-1GB_Secondary" = {
matchConfig.Name = "enp98s0f1"; matchConfig.Name = "enp98s0f1";
DHCP = "yes"; DHCP = "yes";
}; };
};
networks = {
"10-10GB_Primary" = { "10-10GB_Primary" = {
matchConfig.Name = "enp97s0f0np0"; matchConfig.Name = "enp97s0f0np0";
DHCP = "yes"; DHCP = "yes";
linkConfig.RequiredForOnline = "routable"; linkConfig.RequiredForOnline = "routable";
}; };
};
networks = {
"10-10GB_Secondary" = { "10-10GB_Secondary" = {
matchConfig.Name = "enp97s0f1np1"; matchConfig.Name = "enp97s0f1np1";
DHCP = "yes"; DHCP = "yes";
}; };
"40-ioit-vlan" = {
matchConfig.Name = "ioit-vlan";
DHCP = "yes";
};
}; };
}; };