Quantcast
Channel: MikroTik
Viewing all articles
Browse latest Browse all 15394

Beginner Basics • CAP AC: DHCP assigned DNS

$
0
0
Greetings

First off, I am not a RouterOS guru, I can do the basics & help myself in the most part but am no guru on RouterOS.

The CAP AC WiFi AP I recently installed is ignoring the DNS settings assigned by my network DHCP server configuration. Tried turning off "allow-remote-requests", adding a DHCP-Relay entry and a few other things but cannot get the CAP to allow the clients to get their DNS config from DHCP.

I am not sure if it is the CAP AC forcing the use of the DNS IP's that are configured on it (/ip dns print -> servers) or if it is stripping the MAC Addresses from the DHCP request. Running tcpdump on my DHCP server, I do not see any of the DHCP requests that come via the CAP AC using the expected MAC address so I suspect that the CAP AC is in fact stripping the MAC Addresses so the DHCP server is assigning the "default" config. I have no idea how to fix this and have not been able to find a solution.

Any assistance getting the CAP AC to honour the network DHCP server config will be greatly appreciated
Code:
[admin@ap1.home] > /ip dns print                       servers: 10.1.1.1,208.67.222.123,208.67.220.123              dynamic-servers:                use-doh-server:               verify-doh-cert: no        allow-remote-requests: no          max-udp-packet-size: 4096         query-server-timeout: 2s          query-total-timeout: 10s       max-concurrent-queries: 100  max-concurrent-tcp-sessions: 20                   cache-size: 2048KiB                cache-max-ttl: 1d                   cache-used: 27KiB[admin@ap1.home] > /ip dhcp-relay printFlags: X - disabled, I - invalid  #   NAME                                 INTERFACE                                DHCP-SERVER     LOCAL-ADDRESS   0   dhcp-relay                           bridge                                   10.1.1.250      0.0.0.0        [admin@ap1.home] >
My local network setup is pretty simple:
  • Single network IP range managed by a RaspberryPi (DHCP, DNS, etc)
  • Old PC as a file server & router backups etc
  • HAP AC2 (RBD52G-5HacD2HnD) running RouterOS v6.48.6 (long-term) as my boundary router & firewall to the Fibre internet. Does the Internet NAT & port forwarding.
  • CAP AC (RBcAPGi-5acD2nD) running RouterOS v6.49.10 (long-term) acting as an AP to extend the WiFi coverage (currently standalone as this is the only way I could get it working and I still need to figure out CAPSMAN).
  • RB433 running RouterOS v6.49.10 (long-term) that I use to learn and test stuff before I break primary devices. I know it is old, it is left over from a defunct community WiFi MAN killed now that we have Fibre readily available.
My DHCP assigns 3 different sets of DNS & predefined client IP's based on MAC Addresses:
  • for the kids, I use the OpenDNS Family Shield DNS IP's & local DNS server for LAN devices
  • for the non-hardcoded DHCP clients, I use the OpenDNS Family Shield DNS IP's
  • for work, I use OpenDNS Family Shield DNS IP's, Cloudflare DNS IP's, local DNS & company DNS IP's (VPN issue fix ... I know but it works)
  • Laptops & phones have hardcoded IP's via DHCP which I use for QOS rules on the HAP AC2

    Regards
    Michael

Statistics: Posted by milegrin — Fri Dec 29, 2023 9:53 pm



Viewing all articles
Browse latest Browse all 15394

Trending Articles