Hi all, I've searched and googled and tried so many ideas before posting this thread, please excuse me if the problem is simple but I simply can't figure it out
I have several VLANs on my home network but the key ones for my problem are:
1. VLAN 1 default
2. VLAN 60 Homelab
My proxmox server has 3 NICs:
* one for iLo/ipmi (on the homelab VLAN)
* 2 Gb nics that I have bridged onto my switch
So the proxmox host has a bond, is made VLAN aware and I'm allowing (I think) all other VLANs to pass, see my /etc/network/interfaces:
On the switch side (unifi): I made an aggregation for the 2 ports that connects to these NICs, I have assigned the homelab VLAN for the native VLAN (60):
so far so good, the host gets his IP in the 192.168.60.0/24 subnet and I can ping and so forth.
My first few VMS (intended to stay in the VLAN 60 ) also work perfectly, they get an ip in the VLAN 60, everything is perfect.
Now, I would like to have one VM (ubuntu server 24.04) on that proxmox host that resides in my default VLAN (1).
If I configure the network of the VLAN as bridge with VLAN tag=1, the VM doesn't get an IP. If I don't tag a VLAN, it gets the default VLAN 60.
vm is not getting the default VLAN IP:
Worse case scenario, I will break the bond on the host and have one NIC on default VLAN and the other on the homelab one (60) but that seems dumb and is only a solution for 2 VLANs...
Any help would be very much appreciated.
I have several VLANs on my home network but the key ones for my problem are:
1. VLAN 1 default
2. VLAN 60 Homelab
My proxmox server has 3 NICs:
* one for iLo/ipmi (on the homelab VLAN)
* 2 Gb nics that I have bridged onto my switch
So the proxmox host has a bond, is made VLAN aware and I'm allowing (I think) all other VLANs to pass, see my /etc/network/interfaces:
Code:
auto eno1np0
iface eno1np0 inet manual
auto eno1np1
iface eno1np1 inet manual
auto bond0
iface bond0 inet manual
bond-slaves eno1np0 eno1np1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3
auto vmbr0
iface vmbr0 inet static
address 192.168.60.11/24
gateway 192.168.60.1
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 0-4094
On the switch side (unifi): I made an aggregation for the 2 ports that connects to these NICs, I have assigned the homelab VLAN for the native VLAN (60):
so far so good, the host gets his IP in the 192.168.60.0/24 subnet and I can ping and so forth.
My first few VMS (intended to stay in the VLAN 60 ) also work perfectly, they get an ip in the VLAN 60, everything is perfect.
Now, I would like to have one VM (ubuntu server 24.04) on that proxmox host that resides in my default VLAN (1).
If I configure the network of the VLAN as bridge with VLAN tag=1, the VM doesn't get an IP. If I don't tag a VLAN, it gets the default VLAN 60.
vm is not getting the default VLAN IP:
Worse case scenario, I will break the bond on the host and have one NIC on default VLAN and the other on the homelab one (60) but that seems dumb and is only a solution for 2 VLANs...
Any help would be very much appreciated.
Last edited: