Single NIC Vlan Aware

centaur5

New Member
Feb 8, 2018
4
0
1
102
Ever since version 3.5 to 4.4 I've been using a dual NIC server with one of them doing the ceph storage on a separate subnet and the other for the VLANs that communicate with the rest of the network including access to the proxmox web interface. To do so I've been manually configuring the interface file to look like this:

auto lo
iface lo inet loopback

iface eth0 inet manual

auto eth0.1
iface eth0.1 inet static
address 10.5.0.11
netmask 255.255.255.224
gateway 10.5.0.1

auto vmbr0
iface vmbr0 inet manual
bridge_ports eth0
bridge_stp off
bridge_fd 0

Making the interface a trunk but assigning a manual config for VLAN 1 to give access to the Proxmox configuration. In 5.1 I can no longer use this config it doesn't seem to work. How must I proceed to replicate this behavior?
 
This configuration should work.
What is the problem?
 
You're right the config did work. I copied a VM over to it from an existing cluster and it wasn't showing up in the console so I assumed it was a networking issue. I'll have to troubleshoot what is going on that way. I copied a different VM and confirmed the networking was functional so I'm sorry to have posted a false issue. Thanks for your prompt response!