Enable IPoIB and set the infiniband IP

This commit is contained in:
Rodrigo Arias 2023-04-06 13:58:24 +02:00
parent 8fe301203c
commit 72f9659430

11
net.nix
View File

@ -1,6 +1,10 @@
{ ... }: { pkgs, ... }:
{ {
# Infiniband (IPoIB)
environment.systemPackages = [ pkgs.rdma-core ];
boot.kernelModules = [ "ib_umad" "ib_ipoib" ];
networking = { networking = {
hostName = "xeon07"; hostName = "xeon07";
@ -14,6 +18,11 @@
prefixLength = 24; prefixLength = 24;
} ]; } ];
interfaces.ibp5s0.ipv4.addresses = [ {
address = "10.0.42.7";
prefixLength = 24;
} ];
proxy = { proxy = {
default = "http://localhost:23080/"; default = "http://localhost:23080/";
noProxy = "127.0.0.1,localhost,internal.domain"; noProxy = "127.0.0.1,localhost,internal.domain";