First I want to preface with some facts that might be relevant:
I've tried this same approach below on both network cards with the same result, loss of connection.
So let's start with something very simple the default configuration for ProxMox host networking. This works fine. I can get to the management interface no problem.
Now, I refer to the Proxmox documentation on setting up a network interface that supports VLANs and isolates management traffic to a specific VLAN.
This causes a complete loss of connectivity. I have to manually revert the /etc/network/interfaces file to the original and issue an
But here's my Interfaces file after the modifications which causes the loss of connection:
Things I've tried:
I'd really like to understand what I'm missing so I can figure out how to use ProxMox VLAN tagging.
Any help would be greatly appreciated.
- I am not a network admin by day, but I'm a very technical person and I hope that comes across in my testing / issue description. If not, sorry.
- I am not hosting ProxMox in a data center, this is my home network for my home lab. I have full control over all networking infrastructure and systems.
- I've tried researching this but maybe I'm barking up the wrong tree. All the examples I've seen just don't work
- I'm sure I'm doing something wrong or missing something, but I'm not sure what.
- I have an Ubiquity USG with VLAN's already setup, configured, and working.
- I have tagged the ports for both network cards to different VLANs (enp4s0 to VLAN 5 - 192.168.5.0/24 and enp5s0 to VLAN 7 - 192.168.7.0/24)
- I've been using these VLANs as they are currently configured for quite some time with singular server and personal systems and everything has been working just fine.
- All VLAN's provide their own DHCP and gateways, no central DHCP, DNS, or Gateways being served up by anything to complicate things.
- I have checked my Ubiquity Firewall config and traffic from my home device VLAN 2 (192.168.2.0/24) to VLAN 5 is unrestricted. Traffic to VLAN 7 is restricted to specific ports, but those ports are for the docker images running on the CT/VM and I've confirmed the ports are correct.
- Everything outside of proxmox works fine with the VLAN configs as is (not saying there's not a problem with it comes to proxmox and Ubiquity VLANS that I might be missing)
I've tried this same approach below on both network cards with the same result, loss of connection.
So let's start with something very simple the default configuration for ProxMox host networking. This works fine. I can get to the management interface no problem.
Code:
auto lo
iface lo inet loopback
iface enp4s0 inet manual
iface enp5s0 inet manual
auto vmbr0
iface vmbr0 inet static
address 192.168.5.7/24
gateway 192.168.5.1
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
iface wlo1 inet manual
Now, I refer to the Proxmox documentation on setting up a network interface that supports VLANs and isolates management traffic to a specific VLAN.
This causes a complete loss of connectivity. I have to manually revert the /etc/network/interfaces file to the original and issue an
ifreload -a
But here's my Interfaces file after the modifications which causes the loss of connection:
Code:
auto lo
iface lo inet loopback
iface enp4s0 inet manual
iface enp5s0 inet manual
auto vmbr0
iface vmbr0 inet manual
bridge-ports enp4s0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094
iface wlo1 inet manual
auto vlan0
iface vlan0 inet static
address 192.168.5.7/24
gateway 192.168.5.1
vlan-raw-device vmbr0
Things I've tried:
- Using the bridge version of segmenting the management interface - complete loss of connectivity
- Setting up the secondary network card (enp5s0 - 10GB - VLAN 7 - 192.168.7.0/24) on a separate bridge (vmbr1) with VLAN
- CT/VM configured with VLAN 7 and vmbr1, with static IP - complete loss of connectivity
- CT/VM configured with VLAN 7 and vmbr1, with DHCP - CT/VM never gets an assigned IP Address
- Setting up the second network card (enp5s0 - 10GB - VLAN7 - 192.168.7.0/24) on a separate bridge without VLAN
- CT/VM configured with out VLAN, with vmbr1, with DHCP - Works fine.
I'd really like to understand what I'm missing so I can figure out how to use ProxMox VLAN tagging.
Any help would be greatly appreciated.