[SOLVED] New Install - Add Vlan to Management Interface

Speedy059

Renowned Member
Jul 3, 2010
14
1
68
I noticed during the setup you couldn't add the VLAN for the management interface. So I figured you could do it afterwards via CLI, which of course you can. However, I can't seem to get the configuration correctly. Can someone offer me any suggestions?

Setup:
Proxmox node with 1 connected interface to the switch. The switch port is set to "trunk". The reason for this is so I can create Containers/VM's and give them different networks/vlans if needed.

Issue:
I tried following this documentation, but I'm obviously not doing it right: https://pve.proxmox.com/pve-docs/pve-admin-guide.html#sysadmin_network_configuration - "Example: Use VLAN 5 for the Proxmox VE management IP with VLAN aware Linux bridge".

Here is my current interfaces file, eno2 is not connected to the switch:
Code:
auto lo
iface lo inet loopback

iface eno1 inet manual

iface eno2 inet manual

auto vmbr0.500
iface vmbr0.500 inet static
        address 1.1.1.2  #/27 block
        gateway 1.1.1.1
        netmask 255.255.255.224
       
auto vmbr0
iface vmbr0 inet manual
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes

Any idea how to get the management network to work with Vlan 500?
 
please post the output of:
* `ip link -details show`
* `ip addr show`
* `ip route`
additionally check the journal for potential hints to what's wrong:
* `journalctl -b` - gives you the journal since last boot

I hope this helps!
 
  • Like
Reactions: Speedy059
After I posted this, I couldn't see my thread (guess it had to be reviewed?), and I was able to get it to work. After I confirmed my settings, I realized i typed neworking instead of networking when I was restarting the service.....Sorry!
 
  • Like
Reactions: Stoiko Ivanov
Glad you found the problem!
please mark the thread as 'SOLVED'
Thanks!
 

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!