Below is a config of a very simple bridge setup using new VLAN bridge method
The line I am interested in is
add interface=bridge name=bridge.vlan2 vlan-id=2
If that line is not in DHCP on VLAN2 will not traverse the bridge yet static IPs work.
No IP in it and really you would think does nothing but it enables DHCP to work on vlan 2
Anyone able to explain why???
Full code of bridge now
/interface bridge
add name=bridge vlan-filtering=yes
/interface ethernet
set [ find default-name=ether1 ] comment="Transit Trunk"
set [ find default-name=ether2 ] comment="VLAN 2 Access"
set [ find default-name=ether3 ] comment="VLAN 2 ACCESS (Old Port 4)"
set [ find default-name=ether4 ] comment="VLAN 2 ACCESS (Old port 9)"
set [ find default-name=ether5 ] comment="OFFICE WIFI (VLAN 145 ACCESS)"
set [ find default-name=ether6 ] comment="VLAN 2 ACCESS (Old Port 11)"
set [ find default-name=ether7 ] comment="VLAN 2 ACCESS (Old Port 12)"
set [ find default-name=ether8 ] comment="VLAN 2 ACCESS (Pold Port 13)"
set [ find default-name=ether9 ] comment="VLAN 2 ACCESS (Port Old 21)"
/interface vlan
add interface=bridge name=bridge.vlan2 vlan-id=2
add interface=bridge name=bridge.vlan5 vlan-id=5
/interface bridge port
add bridge=bridge interface=ether1 pvid=2
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
interface=ether2 pvid=2
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
interface=ether3 pvid=2
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
interface=ether4 pvid=2
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
interface=ether5 pvid=145
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
interface=ether6 pvid=2
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
interface=ether7 pvid=2
add bridge=bridge frame-types=admit-only-untagged-and-priority-tagged \
interface=ether8 pvid=2
add bridge=bridge interface=ether9 pvid=2
/interface bridge vlan
add bridge=bridge tagged=bridge,ether1 vlan-ids=5
add bridge=bridge tagged=ether1 vlan-ids=2
add bridge=bridge tagged=ether1 vlan-ids=145
/ip address
add address=10.0.5.2/24 interface=bridge.vlan5 network=10.0.5.0


