Skip to content

Commit

Permalink
Renamed svc-internet
Browse files Browse the repository at this point in the history
  • Loading branch information
MarcelCoding committed Jan 14, 2024
1 parent 91ccd32 commit 2f494e5
Showing 1 changed file with 8 additions and 15 deletions.
23 changes: 8 additions & 15 deletions hosts/mno001/network.nix
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,9 @@ in
};
};

# 20-${bond_device_name}.100
"20-uplink" = {
"20-${bond_device_name}.100" = {
netdevConfig = {
# ${bond_device_name}.100
Name = "uplink";
Name = "${bond_device_name}.100";
Kind = "vlan";
};
vlanConfig = {
Expand Down Expand Up @@ -114,23 +112,18 @@ in
};
};

#"10-${bond_device_name}.100" = {
# matchConfig.Name = "${bond_device_name}.100";
# networkConfig.Bridge = "svc-internet";
#};
"10-${bond_device_name}.100" = {
matchConfig.Name = "${bond_device_name}.100";
networkConfig.Bridge = "svc-internet";
};

#10-svc-internet
"10-uplink" = {
#10-svc-internet
matchConfig.Name = "uplink";
"10-svc-internet" = {
matchConfig.Name = "10-svc-internet";

address = [ "212.111.245.178/29" ];
routes = [
{ routeConfig.Gateway = "212.111.245.177"; }
];

# remove
vlan = [ "uplink" ];
};

"30-microvm-svc-internet" = {
Expand Down

0 comments on commit 2f494e5

Please sign in to comment.