VLAN assignment
Tl;dr I need help with setting up Proxmox on non-default VLAN
Hi,
I’m new to homelabbing and pretty much a novice when it comes to networking. If anyone could give me an insight to best practices for the following I’d be super grateful.
For clarity I will describe some of the setup / equipment I have which will hopefully help.
I have a HPE Proliant DL360 Gen 10, running promox. The network port of this server is connected to a Ubiquiti US48 switch with uplink to UDM Pro. I also have the iLO 5 console port of the server connected to the US48. Plus my main PC also connected to the US48.
The plan: VLAN - Trusted 192.168.10.0/24 Main PC - 192.168.10.10 iLO 5 - 192.168.10.11
VLAN - Server 192.168.20.0/24 DL360 - 192.168.20.10
So, here’s to the questions: Is this best practice? Would people usually have the iLO on a separate VLAN to the servers network port. I will be using the iLO 5 from my main PC to manage the server (mainly just turn it on…)
Last question (sorry a long one). What is the best way to change the VLAN / static IP. For example the Proxmox server is given a default vlan ip from dhcp (e.g. 192.168.1.72) and you want to change the vlan / static ip.
I feel you need to change the vlan / ip for the switch port at the same time as changing the IP / gateway on Proxmox. If you change one without the other you lose connection and are unable to change the other one…
The only solution I can come up with is, connect to the Proxmox UI, update the intended static IP and gateway (192.168.20.10 and 192.168.20.1 respectively). Then, schedule a restart in shell for 5 mins. Then in those 5 minutes, change the vlan / ip on the switch port which kills the web ui connection. Then wait for proxmox to hit its scheduled restart. Once restarted it should adopt the new vlan and static IP (in theory).
Is this the best way of doing it? I must be missing something really simple?
Posted Apr 8, 2025, 9:10 PM UTC