Only some VLANs work

packe

New Member
Mar 24, 2024
3
0
1
Hi there
I've migrated from VMWare to Proxmox and so far it's been going pretty well. However, when configuring VLANs I've run into an issue with one of my game servers.
My server is directly connected to my Fortigate firewall and I've configured the NIC on the fortigate to communicate on multiple VLANs, ie 150 and 200.

So I set up a VLAN aware bridge on the proxmox server, then I tagged the network interface with 150 on a VM. And it worked.
Then I did the same thing on a VM with vlan 200, and it does not.

The server sees the network interface, but DHCP does not work.
I also tried to run tcpdump on the ProxMox server when the server starts to see if I can catch the DHCP packets, but nothing (I can see the other VMs packets though).

Considering that this worked well with ESXi before and that I can't see the packets with tcpdump I don't think the problem lies with Fortigate.

Here's my network config:

#cat /etc/network/interfaces

Code:
auto lo
iface lo inet loopback

iface eno2 inet manual

iface eno1 inet manual

auto vmbr0
iface vmbr0 inet static
        address 192.168.70.230/24
        gateway 192.168.70.1
        bridge-ports eno2
        bridge-stp off
        bridge-fd 0

auto vmbr1
iface vmbr1 inet manual
        bridge-ports eno1
        bridge-stp off
        bridge-fd 0
        bridge-vlan-aware yes
        bridge-vids 2-4000
#VLANs

source /etc/network/interfaces.d/*

VM that works...

cat /etc/pve/qemu-server/106.conf

Here's the VM config:

Code:
agent: 0
boot: order=scsi0
cores: 4
memory: 16384
name: 7days2Die
net0: e1000=BC:24:11:6D:67:C5,bridge=vmbr1,firewall=1,tag=200
scsi0: cheap-ssd-01:vm-106-disk-0
smbios1: uuid=c98917da-29cf-4715-afb7-aeee1121e2d0
vmgenid: a46fc232-53a7-4b74-aa5c-51726365bfd5

Any ideas?
 
Update. I tried a Ubuntu Live ISO and it works on that one, but not the migrated server. Super weird...
I have confirmed that the failing server actually uses DHCP.
 
Update again:
All my other ubuntu VMs worked directly after adding a NIC, no matter what.
But on this particular machine I had to update the netplan config with the correct NIC id after managing to restore my local admin password.

Works now.
 

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!