Hello all
I'm trying to create a guest-WLAN with its DHCP server. I have created two (2,4GHz & 5GHz) virtual WLAN interface, and I think I have created a VLAN 6 for the Guest WLAN (SSID: Nowhere). I don't get it to work
What I can see, the 'Nowhere' SSID do connect my Wireless client (iPhone) on an 802.11 level, but I never get any IP from my DHCP-server setting. It's not a DHCP-server problem, because I have successfully use the VLAN 6 from a physical port. The problem seems to be inside my hAP ac, the 'connection' between the two virtual interface WLAN 3 & WLAN 4 and the vlan6-NONE. I have 'played' with bridge port PVID, bridge filter and ingress-filtering, but without any success ![]()
Changing bridge filtering make the client on wlan3 & wlan4 to just 'bridge' down to the physical WLAN interface, which I don't want to happen. WLAN 1 & WLAN 2 are for my internal users and will have there DHCP-IP's from another DHCP server connected to the VLAN 1 ethernet. I want the WLAN 3 and wlan4 to be separated from WLAN 1 & WLAN 2 also on the wired side. I have so far not done the firewall for VLAN 1 and VLAN 6. But as long as I can't get a client on the virtual WLAN get it's IP from the MikroTik DHCP server on VLAN 6, it does not matter.
What do I miss???
Best Regards
- Per Håkansson
Here is my cropped config:
/export
mar/17/2019 10:44:58 by RouterOS 6.44
software id = 4FDB-Y5HC
model = RouterBOARD 962UiGS-5HacT2HnT
serial number = 8A770-----
/interface bridge
add admin-mac=CC:2D:E0:E7:86:60 auto-mac=no name=bridge-LANs
/interface ethernet
set [ find default-name=ether1 ] name=ether1-HP
set [ find default-name=ether2 ] name=ether2-AP
set [ find default-name=ether3 ] name=ether3-NAS
set [ find default-name=ether4 ] name=ether4-UPS
set [ find default-name=ether5 ] name=ether5-220V
set [ find default-name=sfp1 ] name=sfp1-WAN
/interface vlan
add interface=bridge-LANs name=vlan6-NONE vlan-id=6
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa2-psk mode=dynamic-keys supplicant-identity=NotUsed wpa2-pre-shared-key=[NotUsed]
add authentication-types=wpa2-psk management-protection=allowed mode=dynamic-keys name=Nowhere supplicant-identity=NoLAN wpa2-pre-shared-key=[NotForYourEyesToSee]
add authentication-types=wpa2-psk management-protection=allowed mode=dynamic-keys name=YouAreHere supplicant-identity=MyLAN wpa2-pre-shared-key=[NotForYourEyesToSee]
/interface wireless
set [ find default-name=wlan1 ] antenna-gain=3 band=2ghz-b/g/n channel-width=20/40mhz-XX country=sweden disabled=no distance=indoors frequency=auto frequency-mode=regulatory-domain mode=ap-bridge security-profile=YouAreHere ssid=YouAreHere wireless-protocol=802.11 wps-mode=disabled
set [ find default-name=wlan2 ] antenna-gain=2 band=5ghz-a/n/ac channel-width=20/40/80mhz-XXXX country=sweden disabled=no distance=indoors frequency=auto frequency-mode=regulatory-domain mode=ap-bridge security-profile=YouAreHere ssid=YouAreHere wireless-protocol=802.11 wps-mode=disabled
add disabled=no mac-address=CE:2D:E0:E7:86:65 master-interface=wlan2 name=wlan3 security-profile=Nowhere ssid=Nowhere vlan-id=6 wps-mode=disabled
add disabled=no mac-address=CE:2D:E0:E7:86:66 master-interface=wlan1 name=wlan4 security-profile=Nowhere ssid=Nowhere vlan-id=6 wps-mode=disabled
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/ip pool
add name=NoPool ranges=192.168.116.64/26
/ip dhcp-server
add address-pool=NoPool disabled=no interface=vlan6-NONE name=NoDHCP
/interface bridge filter
add action=drop chain=forward in-interface=wlan3
add action=drop chain=forward out-interface=wlan3
add action=drop chain=forward in-interface=wlan4
add action=drop chain=forward out-interface=wlan4
/interface bridge port
add bridge=bridge-LANs interface=ether2-AP
add bridge=bridge-LANs interface=ether3-NAS
add bridge=bridge-LANs interface=ether4-UPS
add bridge=bridge-LANs interface=ether5-220V
add bridge=bridge-LANs interface=wlan1
add bridge=bridge-LANs interface=wlan2
add bridge=bridge-LANs interface=ether1-HP
add bridge=bridge-LANs ingress-filtering=yes interface=wlan3 pvid=6
add bridge=bridge-LANs ingress-filtering=yes interface=wlan4 pvid=6
add bridge=bridge-LANs interface=LAN
/interface list member
add interface=bridge-LANs list=LAN
add interface=sfp1-WAN list=WAN
/interface wireless access-list
add ap-tx-limit=5000000 interface=wlan4 vlan-id=6
add ap-tx-limit=5000000 interface=wlan3 vlan-id=6
/ip address
add address=192.168.111.54/24 interface=ether1-HP network=192.168.111.0
add address=192.168.116.1/24 interface=vlan6-NONE network=192.168.116.0
/ip dhcp-client
add dhcp-options=hostname,clientid disabled=no interface=sfp1-WAN
/ip dhcp-server network
add address=192.168.116.0/24 dns-server=192.168.116.1 domain=lost.local gateway=192.168.116.1 netmask=24
/ip dns
set allow-remote-requests=yes
/ip dns static
add address=192.168.111.54 name=router.lan
/ip firewall filter
add action=accept chain=input comment="accept established,related,untracked" connection-state=established,related,untracked
add action=drop chain=input comment="drop invalid" connection-state=invalid
add action=accept chain=input comment="accept ICMP" protocol=icmp
add action=drop chain=input comment="drop all not coming from LAN" in-interface-list=!LAN
add action=accept chain=forward comment="accept in ipsec policy" ipsec-policy=in,ipsec
add action=accept chain=forward comment="accept out ipsec policy" ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment=fasttrack connection-state=established,related
add action=accept chain=forward comment="accept established,related, untracked" connection-state=established,related,untracked
add action=drop chain=forward comment="drop invalid" connection-state=invalid
add action=drop chain=forward comment="drop all from WAN not DSTNATed" connection-nat-state=!dstnat connection-state=new in-interface-list=WAN
/ip firewall nat
add action=masquerade chain=srcnat comment=masquerade ipsec-policy=out,none out-interface-list=WAN