VLAN DHCP Not Working - Help!!!

Started by windswept321, May 27, 2022, 04:56:52 PM

Previous topic - Next topic
I migrated an existing, working configuration over to a newly set up proxmox box.
Everything is as it was before other than modified interface names in the config file prior to loading it - VLAN configurations, WiFi access points etc. However, Nothing on the VLAN gets a lease.

The box has a quad intel network card and a realtek integrated interface. Only the quad is in use, with a 2 port bond and the other ports as WANs in a load balancing gateway group (as per the docs).

The untagged network is on 192.168.1.* and there is a VLAN at 192.168.5.*.
I can ping the opnsense router on the VLAN from the LAN, but anything connected to WiFi does not get a lease.

My /etc/network/interfaces on the proxmox host looks like this:

auto lo
iface lo inet loopback

auto enp2s0
iface enp2s0 inet manual

auto enp1s0f0
iface enp1s0f0 inet manual

auto enp1s0f1
iface enp1s0f1 inet manual

auto enp1s0f2
iface enp1s0f2 inet manual

auto enp1s0f3
iface enp1s0f3 inet manual

auto bond0
iface bond0 inet manual
bond-slaves enp1s0f0 enp1s0f1
bond-miimon 100
bond-mode 802.3ad
bond-xmit-hash-policy layer2+3

auto vmbr0
iface vmbr0 inet static
address 192.168.1.200/24
gateway 192.168.1.1
bridge-ports bond0
bridge-stp off
bridge-fd 0
bridge-vlan-aware yes
bridge-vids 2-4094

auto vmbr1
iface vmbr1 inet static
address 192.168.1.201/24
bridge-ports enp2s0
bridge-stp off
bridge-fd 0
#Realtek LAN

auto vmbr2
iface vmbr2 inet manual
bridge-ports enp1s0f2
bridge-stp off
bridge-fd 0

auto vmbr3
iface vmbr3 inet manual
bridge-ports enp1s0f3
bridge-stp off
bridge-fd 0


Gateway switching is turned on.

Some screenshots of the config:








My first question is to check the switch also matches the untagged and tagged vlan configuration, as well as the WiFi.

On a switch, if it's a Netgear, for example, you want untagged 1, tag 2. I just noticed you have a bond team going on. I swear I have had troubles with switches dealing with vlans on top of a lag/bond team.

Also, another example, Unifi wireless often have a default untagged vlan 1, and the rest are easy to add as tagged.

On your firewall for RaulVLAN
Make sure you can reach your Firewall with everything except ports 22, 80, and 443. I usually make an alias of ports having to do with opnsense management. It could be the vlan doesn't see a present DHCP server

Thanks for responding.

The switch etc configurations should be fine - they were working before. The only real difference other than the proxmox box is that I've moved it to the garage from inside the house.

The network looks like this:

Switch WIFI AP -- dual ethernet LACP -- switch -- bond -- proxmox .. opnsense.
|
|
WIFI AP

Before it looked like:

    Switch           -- dual ethernet LACP -- switch -- test servers
|                |
|                |
WIFI AP   opnsense router