Hello,
I have a problem with my hEX router and cAp ax access point. Or I believe the problem is with the cAP configuration. I have done the configuration according to the wiki pages, here and here.
The hEX gives an ip and internet access to clients, eg. my laptop or the cAP when connecting via ethernet so I don’t believe my configuration is too wrong as I can get an internet connection. I have set the cAP’s ip as static. When I try to connect to the cAP, with my phone for example, it errors out and says it can’t get an ip address from the access point.
I don’t think the access point should have it’s own DHCP server as the router already has one. I suspect I have overlooked something and the cAP doesn’t communicate with the hEX properly to get an ip lease from the hEX for wireless clients. I hope I have explained my problem clearly, sorry if it’s too long. Here’s my configuration for my cAP ax:
# 2023-08-04 18:28:45 by RouterOS 7.10.2
# software id = **ELIDED**
#
# model = cAPGi-5HaxD2HaxD
# serial number = **ELIDED**
/interface wifiwave2
set [ find default-name=wifi1 ] configuration.country=Latvia .mode=ap .ssid=**ELIDED** disabled=no security.authentication-types=wpa2-psk,wpa3-psk
set [ find default-name=wifi2 ] configuration.country=Latvia .mode=ap .ssid= **ELIDED** disabled=no security.authentication-types=wpa2-psk,wpa3-psk
/interface list
add name=WAN
add name=LAN
/interface wifiwave2 security
add authentication-types=wpa2-psk,wpa3-psk disable-pmkid=yes disabled=no \
management-protection=allowed name=sec1
/interface list member
add interface=ether1 list=WAN
add list=LAN
/ip address
add address=192.168.88.253/24 interface=ether2 network=192.168.88.0
/ip dhcp-client
add interface=ether1
/system clock
set time-zone-name=Europe/Helsinki
/system note
set show-at-login=no
And my hEX config:
# 2023-08-04 18:31:35 by RouterOS 7.10.2
# software id = **ELIDED**
#
# model = RB750Gr3
# serial number = **ELIDED**
/interface bridge
add name=local
/interface list
add name=listBridge
/ip hotspot profile
set [ find default=yes ] html-directory=hotspot
/ip pool
add name=dhcp_pool0 ranges=192.168.88.2-192.168.88.254
/ip dhcp-server
add address-pool=dhcp_pool0 interface=local name=dhcp1
/port
set 0 name=serial0
/interface bridge port
add bridge=local interface=ether2
/ip neighbor discovery-settings
set discover-interface-list=listBridge
/interface list member
add interface=local list=listBridge
/ip address
add address=192.168.88.1/24 interface=local network=192.168.88.0
/ip dhcp-client
add interface=ether1
/ip dhcp-server lease
add address=192.168.88.254 client-id=1:48:a9:8a:9c:38:b8 mac-address=\
48:A9:8A:9C:38:B8 server=dhcp1
add address=192.168.88.253 client-id=1:48:a9:8a:cc:73:be mac-address=\
48:A9:8A:CC:73:BE server=dhcp1
/ip dhcp-server network
add address=192.168.88.0/24 dns-server=9.9.9.9 gateway=192.168.88.1
/ip dns
set servers=9.9.9.9
/ip firewall filter
add action=accept chain=input comment="accept established,related" \
connection-state=established,related
add action=drop chain=input connection-state=invalid
add action=drop chain=input in-interface=ether1
add action=fasttrack-connection chain=forward connection-state=\
established,related hw-offload=yes
add action=accept chain=forward connection-state=established,related
add action=drop chain=forward connection-state=invalid
/ip firewall nat
add action=masquerade chain=srcnat out-interface=ether1
/ip service
set telnet disabled=yes
set ftp disabled=yes
set www disabled=yes
set ssh port=2200
set api disabled=yes
set winbox address=192.168.88.0/24
/ip ssh
set strong-crypto=yes
/system clock
set time-zone-name=Europe/Helsinki
/system identity
set name="MikroTik hEX"
/system note
set show-at-login=no
/tool bandwidth-server
set enabled=no
/tool mac-server
set allowed-interface-list=listBridge
/tool mac-server mac-winbox
set allowed-interface-list=listBridge