I've been struggling quite a lot rying to configure my hAP ac^2 as a WiFi AP after my hEX S router. I've done everything what I think it's correct but it doesn't work at all and I'm getting crazy...
This is my schema:
Well Asus WiFi AP is working as expected, WAN IP from hEX and DHCP relay to it.
Same thing for hAP is not working. From Winbox I can ping 8.8.8.8 and traceroute any device either on WIFI (192.168.5.X) and on LAN (192.168.0.X)
But any device that I connect to hAP via WiFi does have an IP from hEX's DHCP Relay but has no Internet connection nor view any device in WiFi or LAN networks.
Here you go my hAP config.
What am I doing wrong???
Code: Select all
/interface bridge
add name=bridge
/interface wireless
set [ find default-name=wlan1 ] country=spain disabled=no mode=ap-bridge \
ssid=24WIFI wireless-protocol=802.11
set [ find default-name=wlan2 ] country=spain disabled=no mode=ap-bridge \
ssid=5WIFI wireless-protocol=802.11
/interface list
add name=WAN
add name=LAN
/interface wireless security-profiles
set [ find default=yes ] authentication-types=wpa-psk,wpa2-psk mode=\
dynamic-keys supplicant-identity=MikroTik wpa-pre-shared-key=\
PASS wpa2-pre-shared-key=PASS
/ip hotspot profile
set [ find default=yes ] html-directory=flash/hotspot
/interface bridge port
add bridge=bridge interface=ether2
add bridge=bridge interface=ether3
add bridge=bridge interface=ether4
add bridge=bridge interface=ether5
add bridge=bridge interface=wlan1
add bridge=bridge interface=wlan2
/interface list member
add interface=ether1 list=WAN
add interface=bridge list=LAN
/ip address
add address=192.168.5.2 interface=bridge network=192.168.5.2
/ip dhcp-client
add disabled=no interface=ether1
/ip dhcp-relay
add dhcp-server=192.168.16.1 disabled=no interface=bridge name=\
"Mikrotik hEX S"
/ip dns
set servers=192.168.0.50,192.168.0.52
/ip firewall filter
add action=accept chain=forward comment="defconf: accept in ipsec policy" \
ipsec-policy=in,ipsec
add action=accept chain=forward comment="defconf: accept out ipsec policy" \
ipsec-policy=out,ipsec
add action=fasttrack-connection chain=forward comment="defconf: fasttrack" \
connection-state=established,related
add action=accept chain=forward comment=\
"defconf: accept established,related, untracked" connection-state=\
established,related,untracked
add action=drop chain=forward comment="defconf: drop invalid" \
connection-state=invalid
add action=drop chain=forward comment=\
"defconf: 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="defconf: masquerade" \
out-interface=ether1
/ip route
add distance=1 dst-address=192.168.5.0/24 gateway=192.168.16.1
/ip upnp
set enabled=yes
/ip upnp interfaces
add interface=bridge type=internal
add interface=ether1 type=external
Thanks so much in advance.