Community discussions

MikroTik App
 
dnnix
just joined
Topic Author
Posts: 21
Joined: Fri Aug 18, 2023 3:12 pm
Location: Washington, DC
Contact:

DNS Issues in Station Mode

Fri May 10, 2024 8:53 pm

I've had this HAP ax2 in Station Mode for a while now, and it works great. I'm basically using it to get ethernet-only clients a wireless connection.

However, the DNS has never worked for the HAP ax2 itself. Works for the clients, that's just passthrough, but the HAP ax2 has no resolution. This, of course, affects updates mainly, since it can never resolve update servers.

Is this just how Station Mode works? I've tried a bunch of things, but can never seem to get DNS resolution running on the device when it's in Station Mode.

Config:
# 2024-05-10 13:47:58 by RouterOS 7.15rc2
# software id = WU29-BLCC
#
# model = C52iG-5HaxD2HaxD
# serial number = (serial)
/interface bridge
add name=bridge1
/interface wifi
set [ find default-name=wifi1 ] channel.band=5ghz-ax .frequency=5805 .skip-dfs-channels=all .width=20mhz configuration.country="United States" .mode=station-bridge .ssid=Hector disabled=no
set [ find default-name=wifi2 ] configuration.mode=station
/interface wifi security
add authentication-types=wpa3-psk disabled=no encryption=ccmp-256,gcmp-256 name=sec1
/ip smb users
set [ find default=yes ] disabled=yes
/interface bridge port
add bridge=bridge1 interface=ether1
add bridge=bridge1 interface=ether2
add bridge=bridge1 interface=ether3
add bridge=bridge1 interface=ether4
add bridge=bridge1 interface=ether5
add bridge=bridge1 interface=wifi1
/ip firewall connection tracking
set udp-timeout=10s
/ipv6 settings
set disable-ipv6=yes
/ip address
add address=10.62.14.6/24 interface=wifi1 network=10.62.14.0
/ip dns
set servers=94.140.14.49,94.140.14.59,10.62.14.1
/ip smb shares
set [ find default=yes ] directory=/pub
/system clock
set time-zone-name=America/New_York
/system identity
set name=livingroom-client-ap
/system logging
add action=email topics=critical,warning,account
/system note
set show-at-login=no
/system ntp client
set enabled=yes
/system ntp client servers
add address=10.62.14.1
/system package update
set channel=testing
 
User avatar
mkx
Forum Guru
Forum Guru
Posts: 13198
Joined: Thu Mar 03, 2016 10:23 pm

Re: DNS Issues in Station Mode  [SOLVED]

Fri May 10, 2024 8:58 pm

A few things:
  1. move IP address from wifi1 interface to bridge interface (probably not the show stopper, but it's wrong anyway)
  2. add default route, e.g.
    /ip/route/add gateway=10.62.14.1
    
    (I'm assuming this is the address of your main router)
 
dnnix
just joined
Topic Author
Posts: 21
Joined: Fri Aug 18, 2023 3:12 pm
Location: Washington, DC
Contact:

Re: DNS Issues in Station Mode

Fri May 10, 2024 9:11 pm

OMG so dumb. Thanks, that was totally it, I just missed the route.