diff --git a/.vscode/settings.json b/.vscode/settings.json index 2cc6c79..900768d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -12,6 +12,7 @@ "autopull", "azuretools", "BANN", + "brkubnet", "btop", "btrfs", "builtins", diff --git a/modules/kub_net.nix b/modules/kub_net.nix index f3c9a32..3800c6e 100644 --- a/modules/kub_net.nix +++ b/modules/kub_net.nix @@ -10,15 +10,21 @@ }; networking = { - vlans = { - vlan100 = { - id = 100; - interface = "ztkubnet"; - }; + bridges.brkubnet.interfaces = [ "ztkubnet" ]; + interfaces.brkubnet.ipv4.addresses = [ + { + address = "192.168.192.2"; + prefixLength = 24; + } + ]; + + vlans.vlan100 = { + id = 100; + interface = "brkubnet"; }; interfaces.vlan100.ipv4.addresses = [ { - address = "10.10.10.3"; + address = "10.10.10.4"; prefixLength = 24; } ];