graph TD
%% Internet & Gateway
ISP([ISP Gateway]) -->|WAN| UDR7[UniFi Dream Router 7]
%% Network / VLAN Subnets
subgraph VLANs ["UniFi Networks (VLANs)"]
direction LR
VLAN1["<b>Default Network</b><br/>Phones, Watch, Laptops"]
VLAN10["<b>Homelab VLAN</b><br/>Proxmox VE & PBS Hosts"]
VLAN20["<b>IoT VLAN</b><br/>3D Printer, Roomba, Cameras"]
end
UDR7 -.-> VLANs
%% Wireless Clients
VLAN1 --- WiFi_Default[General Wi-Fi Clients]
VLAN20 --- WiFi_IoT[IoT Wi-Fi Clients]
%% Physical Trunk Uplink
UDR7 -->|Trunk Port: All VLANs Tagged| Switch[5-Port UniFi Switch]
%% Physical Switch Port Configurations
Switch -->|Port Profile: Homelab VLAN| Host1[Micro PC 1: Proxmox VE]
Switch -->|Port Profile: Homelab VLAN| Host2[Micro PC 2: Proxmox Backup Server]
Switch -->|Port Profile: IoT VLAN| Printer[3D Printer]
%% Proxmox Node 1 Workloads
subgraph PVE1 ["Proxmox VE Host (Homelab VLAN)"]
direction TB
Host1 --> VM1[Pterodactyl Panel]
Host1 --> VM2[OpenMediaVault - OMV]
Host1 --> VM3[Immich]
Host1 --> VM4[Dockge Container Manager]
end
%% Proxmox Backup Server
subgraph PVE2 ["Proxmox Backup Server (Homelab VLAN)"]
Host2 --> PBS[PBS Workloads / Datastores]
end
%% Styling
style UDR7 fill:#0066cc,stroke:#fff,stroke-width:2px,color:#fff
style Switch fill:#0066cc,stroke:#fff,stroke-width:2px,color:#fff
style Host1 fill:#e05a00,stroke:#fff,stroke-width:2px,color:#fff
style Host2 fill:#e05a00,stroke:#fff,stroke-width:2px,color:#fff
style VLAN1 fill:#2d3748,stroke:#cbd5e0,stroke-width:1px,color:#fff
style VLAN10 fill:#2d3748,stroke:#cbd5e0,stroke-width:1px,color:#fff
style VLAN20 fill:#2d3748,stroke:#cbd5e0,stroke-width:1px,color:#fff