I’m lost on the bridge vlan filtering and dhcp.
I know how to to this with the switch chip but I wanted to try it with a bridge.
I have 3 vlans.
Zo I set up a bridge with all interfaces needed in it.
Add vlans to the bridge and configure tagged and untagged ports.
this al works different ports are in different vlans.
But now I want to assign a dhcp server to a vlan.
I cant assign it to the bridge because there are multiple vlans in this bridge.
So I create a vlan interface in interfaces. I attach the dhcp server to this vlan interface and add the vlan interface to the bridge and set it as a tagged port of the right vlan.
But I t does not work.
Is there anybody using bridge vlans with dhcp-servers for each vlan and how do you do it.
In /ip dhcp-server remove the relay= setting, you most probably don’t need it.
In addition to that, you have ether2 mentioned as trunk port for both vlans (VID 10 and 20) and yet ether2 is not even member port of bridge-vlans … if those DHCP clients not getting IP addresses are hanging somewhere off ether2, then misbehaviour is only expected.
This one doesn’t hurt but doesn’t make sense in context of posted config: vlan interfaces vlan10 and vlan20 … they don’t have parent interface defined, so they are just hanging in the void … remove them not to confuse things further.
I’ve added a dhcp server on eth1 to see if it workes at all and corrected the things you guys pointed out.
Dhcp is working like a charm on eth1
Still no dhcp on 5 or 6