Hi people, I’m trying to build a small trial consisting of the following.
One RB952Ui-5ac2nD. Ether1 is a DHCP client from a WAN link.
The 2.4GHz wifi radio has two virtual access points. Each VAP is on a seperate vlan, each vlan goes to its own bridge with its own DHCP server. There is a NAT masquerade out to Ether1.
The problem is only one VAP will work, the working one works 100%, I get DHCP assignments and masqueraded connectivity right through to the internet. The one that doesn’t work, the remote devices wont even connect to the AP.
Now if I disable the working VAP then the broken one comes good and works no problems exactly the same as the previously working VAP.
Here is the complete exported configuration
/interface bridge
add name=“Bridge VLAN 20”
add name=“Bridge VLAN 30”
/interface wireless
set [ find default-name=wlan1 ] country=australia disabled=no mode=ap-bridge wireless-protocol=802.11
/interface vlan
add interface=“Bridge VLAN 20” loop-protect-disable-time=0s loop-protect-send-interval=0s name=“vlan 20-1” vlan-id=20
add interface=“Bridge VLAN 30” loop-protect-disable-time=0s loop-protect-send-interval=0s name=“vlan 30-1” vlan-id=30
/interface wireless
add disabled=no keepalive-frames=disabled mac-address=6E:3B:6B:1D:6C:C4 master-interface=wlan1 mode=ap-bridge multicast-buffering=
disabled name=“2.4 vlan 20” ssid=“2.4 vlan 20” vlan-id=20 vlan-mode=use-tag wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
add disabled=no keepalive-frames=disabled mac-address=6E:3B:6B:1D:6C:C4 master-interface=wlan1 mode=ap-bridge multicast-buffering=
disabled name=“2.4 vlan 30” ssid=“2.4 vlan 30” vlan-id=30 vlan-mode=use-tag wds-cost-range=0 wds-default-cost=0 wps-mode=disabled
/interface vlan
add interface=“2.4 vlan 20” loop-protect-disable-time=0s loop-protect-send-interval=0s name=“2.4 vlan 20-1” vlan-id=20
add interface=“2.4 vlan 30” loop-protect-disable-time=0s loop-protect-send-interval=0s name=“2.4 vlan 30-1” vlan-id=30
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=“pool vlan 20” ranges=192.168.2.100-192.168.2.200
add name=“pool vlan 30” ranges=192.168.1.100-192.168.1.200
/ip dhcp-server
add address-pool=“pool vlan 20” disabled=no interface=“Bridge VLAN 20” name=“DHCP vlan 20”
add address-pool=“pool vlan 30” disabled=no interface=“Bridge VLAN 30” name=“DHCP vlan 30”
/interface bridge port
add bridge=“Bridge VLAN 30” interface=“2.4 vlan 30”
add bridge=“Bridge VLAN 30” interface=“vlan 30-1”
add bridge=“Bridge VLAN 30” interface=“2.4 vlan 30-1”
add bridge=“Bridge VLAN 20” interface=“2.4 vlan 20”
add bridge=“Bridge VLAN 20” interface=“2.4 vlan 20-1”
add bridge=“Bridge VLAN 20” interface=“vlan 20-1”
/ip address
add address=192.168.2.1/24 interface=“Bridge VLAN 20” network=192.168.2.0
add address=192.168.1.1/24 interface=“Bridge VLAN 30” network=192.168.1.0
/ip dhcp-client
add default-route-distance=0 dhcp-options=hostname,clientid disabled=no interface=ether1
/ip dhcp-server network
add address=192.168.1.0/24 gateway=192.168.1.1
add address=192.168.2.0/24 gateway=192.168.2.1
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/system clock
set time-zone-name=Australia/Perth
/system routerboard settings
set cpu-frequency=650MHz init-delay=0s protected-routerboot=disabled