From cc9c0575292bc569b2bc203462fbc5884d3a5f7d Mon Sep 17 00:00:00 2001 From: catvayor Date: Sat, 18 May 2024 10:11:36 +0200 Subject: [PATCH] feat(oob): now access to all vlan --- netconf-hive.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/netconf-hive.nix b/netconf-hive.nix index 0dbfe68..b8d4974 100644 --- a/netconf-hive.nix +++ b/netconf-hive.nix @@ -1,6 +1,7 @@ let vlansPlan = { "uplink-cri".id = 223; + "uplink-interne".id = 403; "admin-core" = { id = 3000; @@ -37,7 +38,7 @@ let }; in { - netcore01 = { + netcore02 = { deployment.targetHost = "jourdan01.dgn"; vlans = vlansPlan; protocols.rstp = [ @@ -67,8 +68,8 @@ in enable = true; unit."0".family.ethernet-switching = { enable = true; - interface-mode = "access"; - vlans = [ "admin-core" ]; + interface-mode = "trunk"; + vlans = [ "all" ]; }; }; "ge-0/0/43" = AP-staging; @@ -107,7 +108,7 @@ in unit."0".family.ethernet-switching = { enable = true; interface-mode = "trunk"; - vlans = [ "uplink-cri" ]; + vlans = [ "uplink-cri" "uplink-interne" ]; }; };