Proxmox host on VLAN

babeyrage

New Member
Sep 11, 2022
3
0
1
Hi all,

Big Proxmox noob here, and I am currently struggling/pulling my hair out getting my Proxmox host onto a VLAN. I have googled and tried different things, but I just cannot access the GUI when I put the host onto my MGMT VLAN (VLAN50). My current config is as follows:

Bash:
auto lo
iface lo inet loopback

iface enp10s0 inet manual
iface eno1 inet manual

auto vmbr0
iface vmbr0 inet manual
    bridge-ports enp10s0
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 2-4094
    
auto enp10s0.50
iface enp10s0.50 inet static
    address 10.50.0.3/16
    gateway 10.50.0.1
    vlan-raw-device enp10s0
#MGMT

auto vmbr1
iface vmbr1 inet static
    address 10.20.0.3/16
    bridge-ports eno1
    bridge-stp off
    bridge-fd 0
    bridge-vlan-aware yes
    bridge-vids 20
#DMZ

enp10s0 is the NIC that I want on VLAN50 and will be dedicated to the proxmox host/management interface, and eno1 for VMs. In the current setup I can ping my Ubiquiti switch (10.50.0.5) but not the gateway (10.50.0.1). On my Ubiquiti switch, I have enpo10s0 tagged on VLAN50 and excluded from other VLANs. I have tried creating a VLAN on the bridge, which didnt work and I have tried untagging the port on the current setup, which also does not work. I am starting to lose my mind over this, so please any assistance would be greatly appreciated!
 
Where is the gateway? I assume you have cli and GUI access to the switch and can use it to ping attached devices. Can you ping the gateway from the switch over vlan50 at 10.50.0.1? Can you ping proxmox at 10.50.0.3 from the switch?

are you really using a /16 netmask for your home network?
 
Where is the gateway? I assume you have cli and GUI access to the switch and can use it to ping attached devices. Can you ping the gateway from the switch over vlan50 at 10.50.0.1? Can you ping proxmox at 10.50.0.3 from the switch?

are you really using a /16 netmask for your home network?
The gateway is setup in OpnSense as VLAN50, with DHCP enabled. I can ping the gateway and access the management GUI for the switch on 10.50.0.5 with no issues, and I can ping the proxmox host from it too.

I am only using /16 on my MGMT & DMZ networks, the LAN network is setup with /24
 
Last edited:

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!