From 14d45805344dbae4e48b2ec23575588bc3f677e6 Mon Sep 17 00:00:00 2001 From: Richie Cahill Date: Sat, 25 May 2024 13:49:02 -0400 Subject: [PATCH] test --- .vscode/settings.json | 1 + modules/kub_net.nix | 18 ++++++++++++------ 2 files changed, 13 insertions(+), 6 deletions(-) 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; } ];