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" ]; }; };