Files
loc_az_hci/infrastructure/network/configure-vlans.ps1
defiQUG c39465c2bd
Some checks failed
Test / test (push) Has been cancelled
Initial commit: loc_az_hci (smom-dbis-138 excluded via .gitignore)
Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-08 09:04:46 -08:00

24 lines
1.1 KiB
PowerShell

# Configure VLANs on OpenWrt
# Sets up VLANs: 10 (storage), 20 (compute), 30 (app), 40 (observability), 50 (dev/test), 60 (management), 99 (DMZ)
param(
[string]$OpenWrtIP = "10.10.60.100",
[string]$OpenWrtUser = "root"
)
Write-Host "=========================================" -ForegroundColor Cyan
Write-Host "VLAN Configuration" -ForegroundColor Cyan
Write-Host "=========================================" -ForegroundColor Cyan
Write-Host "`nVLAN Configuration for OpenWrt:" -ForegroundColor Yellow
Write-Host "VLAN 10: Storage (10.10.10.0/24)" -ForegroundColor White
Write-Host "VLAN 20: Compute (10.10.20.0/24)" -ForegroundColor White
Write-Host "VLAN 30: App Tier (10.10.30.0/24)" -ForegroundColor White
Write-Host "VLAN 40: Observability (10.10.40.0/24)" -ForegroundColor White
Write-Host "VLAN 50: Dev/Test (10.10.50.0/24)" -ForegroundColor White
Write-Host "VLAN 60: Management (10.10.60.0/24)" -ForegroundColor White
Write-Host "VLAN 99: DMZ (10.10.99.0/24)" -ForegroundColor White
Write-Host "`nSee configure-openwrt-network.ps1 for full network configuration." -ForegroundColor Yellow