Management interface in MGMT VLAN

niekniek89

New Member
Mar 16, 2024
22
1
3
Hello,

I have 3 VLAN's on my UniFi Network:

Client (default): 192.168.178.0/24
IoT: 192.168.177.0/24
MGMT: 192.168.176.0/24

I would like the Proxmox host to get an IP from the MGMT VLAN.
It is currently in default (192.168.178.78/24).
When installing the host, it automatically (like every device here) defaulted to default.
I was able to give the VMs a VLAN tag, so they are all correct.

Where and how can I do this best, without having to restart the host and VMs?
 
  • Like
Reactions: niekniek89
@niekniek89

If you click on Create, the changes are not yet saved and you can continue to work on them until you click on ‘Apply Configuration’ at the top.
Then the network setings will get applied and the host sould be reachable via the VLAN.
 
Last edited:
Sorry, my mistake, you need to remove both.

Or if you want, you can leave both (Gateway and IP) for now so you can access both. (Since you have two different gateways, I only have one here in my cluster)
 
Last edited:
Strangely enough it says I already used the gateway, while it is not in vmbr0... I probably have to clear vmbr0 first?


1732182803215.png
 
Yes, you have to remove the gateway in vmbr0 and then add it in the VLAN.
(If you removed the gateway in the vmbr0 do NOT apply the changes, otherwise you won't be able to access the host.)
 
I just changed it, and applied.
But I can still ping it on the old IP...
On its new IP it doesn't respond.

1732183503746.png
 
the management ui listen on all servers ip, so you have to remove the IP of vmbr0 to only use the VLAN IP

Code:
#netstat -an|grep 8006
tcp6 0 0 :::8006 :::* LISTEN

you can define a specific listening ip with

Code:
echo 'LISTEN_IP=127.0.0.1' > /etc/default/pveproxy
systemctl restart pveproxy

https://lists.proxmox.com/pipermail/pve-devel/2021-March/047376.html
 
Thanks, it worked.
Unfortunately, the host still needed a reboot.
It was no longer pingable on any IP address, until the reboot.