Infini-DL360: setup network bridge
This commit is contained in:
parent
e6aaf12795
commit
786f697600
1 changed files with 15 additions and 0 deletions
|
@ -56,6 +56,21 @@
|
|||
allowedUDPPorts = [ 80 443 ];
|
||||
allowedTCPPorts = [ 80 443 25565 ];
|
||||
};
|
||||
|
||||
bridges = {
|
||||
br0 = {
|
||||
interfaces = [ "eno1" "eno2" "eno3" "eno4" ];
|
||||
};
|
||||
};
|
||||
interfaces.br0.ipv4.addresses = [{ address = "192.168.137.11"; prefixLength = 24; }];
|
||||
dhcpcd.denyInterfaces = [ "eno*" ];
|
||||
|
||||
defaultGateway = { address = "192.168.137.1"; interface = "br0"; };
|
||||
};
|
||||
|
||||
boot.kernel.sysctl = {
|
||||
"net.ipv4.conf.all.forwarding" = true;
|
||||
"net.ipv6.conf.all.forwarding" = true;
|
||||
};
|
||||
|
||||
hardware.infiniband = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue