Skip to content

Commit

Permalink
Added svc-management (#49)
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding authored Jan 13, 2024
1 parent 2688f1d commit d729dbb
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion hosts/mno001/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,16 @@ in
};
};

"20-svc-management" = {
netdevConfig = {
Name = "svc-management";
Kind = "vlan";
};
vlanConfig = {
Id = 102;
};
};

"20-uplink" = {
netdevConfig = {
Name = "uplink";
Expand All @@ -61,13 +71,18 @@ in
"10-${bond_device_name}" = {
matchConfig.Name = "${bond_device_name}";

vlan = [ "uplink" ];
vlan = [ "uplink" "scv-management" ];

networkConfig = {
DHCP = "no";
};
};

"10-svc-management" = {
matchConfig.Name = "svc-management";
address = [ "2a01:7700:80b0:7000::1/64" ];
};

"10-uplink" = {
matchConfig.Name = "uplink";

Expand Down

0 comments on commit d729dbb

Please sign in to comment.