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

1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
  1. {
  2. networking.interfaces."enp11s0f0" = { };
  3. networking.interfaces."enp11s0f1" = { };
  4. networking.bonds."data" = {
  5. interfaces = [ "enp11s0f0" "enp11s0f1" ];
  6. driverOptions = {
  7. miimon = "100";
  8. mode = "802.3ad";
  9. };
  10. };
  11. networking.vlans."mngt" = {
  12. id = 1032;
  13. interface = "data";
  14. };
  15. networking.interfaces."data" = {
  16. ipv4.addresses = [{
  17. address = "10.32.47.10";
  18. prefixLength = 24;
  19. }];
  20. };
  21. networking.interfaces."mngt" = {
  22. ipv4.addresses = [{
  23. address = "10.32.46.253";
  24. prefixLength = 24;
  25. }];
  26. };
  27. networking.defaultGateway = {
  28. address = "10.32.47.1";
  29. interface = "data";
  30. };
  31. }