blade-janeway: fix interfaces
This commit is contained in:
parent
f1905cb450
commit
7cd70420c6
2 changed files with 2 additions and 2 deletions
|
@ -17,7 +17,7 @@ in {
|
||||||
hostName = "blade-janeway";
|
hostName = "blade-janeway";
|
||||||
hostId = "3a62390f";
|
hostId = "3a62390f";
|
||||||
bridges.br-mgmt.interfaces = [ "enp4s0f0" ];
|
bridges.br-mgmt.interfaces = [ "enp4s0f0" ];
|
||||||
bridges.br-storage.interfaces = [ "enp4s0f2" ];
|
bridges.br-storage.interfaces = [ "enp4s0f1" ];
|
||||||
bridges.br-ext.interfaces = [ "enp5s0f0" ];
|
bridges.br-ext.interfaces = [ "enp5s0f0" ];
|
||||||
interfaces.br-ext.ipv4.addresses = [{
|
interfaces.br-ext.ipv4.addresses = [{
|
||||||
address = "192.168.1.180";
|
address = "192.168.1.180";
|
||||||
|
|
|
@ -40,7 +40,7 @@ in {
|
||||||
nameservers = ["8.8.8.8" "8.8.4.4"];
|
nameservers = ["8.8.8.8" "8.8.4.4"];
|
||||||
useDHCP = false;
|
useDHCP = false;
|
||||||
bridges = let
|
bridges = let
|
||||||
br = interfaces: { inherit interfaces; rstp = false; };
|
br = interfaces: { interfaces = lib.mkDefault interfaces; rstp = false; };
|
||||||
in {
|
in {
|
||||||
br-mgmt = br [ "enp4s0f0" ];
|
br-mgmt = br [ "enp4s0f0" ];
|
||||||
br-storage = br [ "enp4s0f1" ];
|
br-storage = br [ "enp4s0f1" ];
|
||||||
|
|
Loading…
Reference in a new issue