From 88895cbf8c945afe3c27f68bc113fd38e4965b65 Mon Sep 17 00:00:00 2001 From: Jose Martinez Date: Thu, 7 May 2026 12:26:50 +0200 Subject: [PATCH] feat(bcn01-lab): assign ports 11/12 on sw01 and enable DHCP on MANAGEMENT VLAN MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Port 11 → VLAN 109 (MANAGEMENT), access, Open - Port 12 → VLAN 110 (SERVERS), access, Open - VLAN 109 DHCP enabled with static reserved range 10.2.55.1–10.2.55.49 Co-Authored-By: Claude Sonnet 4.6 --- sites/BCN01-LAB/switch.tf | 16 ++++++++++++++++ sites/BCN01-LAB/vlans.tf | 10 ++++++---- 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/sites/BCN01-LAB/switch.tf b/sites/BCN01-LAB/switch.tf index 1b84e44..09c63be 100644 --- a/sites/BCN01-LAB/switch.tf +++ b/sites/BCN01-LAB/switch.tf @@ -55,6 +55,22 @@ locals { # Ports by switch display name — targets a specific stack member without knowing its serial switch_named_port_configs = [ + { + switch_name = "eqt-lab-st01-sw01" + port_range = "11" + name = "MANAGEMENT" + type = "access" + vlan = 109 # MANAGEMENT + access_policy_type = "Open" + }, + { + switch_name = "eqt-lab-st01-sw01" + port_range = "12" + name = "SERVERS" + type = "access" + vlan = 110 # SERVERS + access_policy_type = "Open" + }, { switch_name = "eqt-lab-st01-sw01" port_range = "1" diff --git a/sites/BCN01-LAB/vlans.tf b/sites/BCN01-LAB/vlans.tf index 8e53b65..59a6487 100644 --- a/sites/BCN01-LAB/vlans.tf +++ b/sites/BCN01-LAB/vlans.tf @@ -73,10 +73,12 @@ locals { ] } "109" = { - name = "MANAGEMENT" - subnet = "10.2.55.0/24" - appliance_ip = "10.2.55.1" - dhcp_handling = "Do not respond to DHCP requests" + name = "MANAGEMENT" + subnet = "10.2.55.0/24" + appliance_ip = "10.2.55.1" + reserved_ip_ranges = [ + { comment = "Static reserved", id = "static", start = "10.2.55.1", end = "10.2.55.49" } + ] } "110" = { name = "SERVERS"