What's new

Asus in Router mode with external DHCP?

  • SNBForums Code of Conduct

    SNBForums is a community for everyone, no matter what their level of experience.

    Please be tolerant and patient of others, especially newcomers. We are all here to share and learn!

    The rules are simple: Be patient, be nice, be helpful or be gone!

busch09

Regular Contributor
Hi,

My Mikrotik Internet Gateway Router with DHCP Server is at 192.168.1.1, serving 192.168.1.1/24 IPs. Is it possible to run the ASUS in router mode (with parental controls active) yet receive wifi client IPs from the miktrotik dhcp server?

I tried various configs with setting the lan gateway and DNS but it's not working...
 
Hi,

My Mikrotik Internet Gateway Router with DHCP Server is at 192.168.1.1, serving 192.168.1.1/24 IPs. Is it possible to run the ASUS in router mode (with parental controls active) yet receive wifi client IPs from the miktrotik dhcp server?

I tried various configs with setting the lan gateway and DNS but it's not working...

Routers block DHCP. The only way to get it to work would be to create a DHCP scope on the mikrotik other than 192.168.1.0 and use that for the LAN off the asus, then create a script to do "IP Helper" statements on the LAN interface of the asus to forward DHCP queries upstream via the WAN port (disable NAT and disable DHCP on the Asus) to the Mikrotik. You will need some static routes too. It is a complex setup and not even positive how you would create the IP Helper, probably forwarding rules in the iptables. Scripts would require you to use Merlin software.

In reality you should just use the asus as an Access point, or if you want it in router mode, do a double NAT or run it in router mode without NAT, with the Asus doing DHCP to your LAN clients.
 
I'd think about letting the Asus serve DHCP to its wireless clients while the Mikrotik serves DHCP to whatever wired clients connect directly to the Mikrotik. Just set the two DHCP servers to give out non-overlapping address ranges.
 
All the client IPs must be reserved in this case because the clients with automatic DHCP assignment will pick up an IP on first response from either DHCP. Asus in router mode will work with DHCP disabled, but with limited functionality. Built-in DHCP gives IPs to Guest Network clients and AiMesh nodes.
 
All the client IPs must be reserved in this case because the clients with automatic DHCP assignment will pick up an IP on first response from either DHCP.
That's only a problem if the Asus allows DHCP assignment traffic to pass through it, which it shouldn't in router mode. (You also have to be sure that it's not offering DHCP to stuff outside its WAN port, but that shouldn't happen either in a normal configuration.)
 
All the client IPs must be reserved in this case because the clients with automatic DHCP assignment will pick up an IP on first response from either DHCP. Asus in router mode will work with DHCP disabled, but with limited functionality. Built-in DHCP gives IPs to Guest Network clients and AiMesh nodes.

As long as the mikrotik is off the WAN it won't have any conflicts, two different DHCP segments that won't see each other. Putting the mikrotik off the LAN would work if you disabled DHCP in the Asus but then you aren't getting the stuff he wants (parental controls etc), it would essentially just be an AP at that point.
 
I see now what @busch09 wants to do. I was thinking 2x DHCP servers on the LAN side.

Technically it would probably work since any properly functioning DHCP server pings the IP before handing it out, but it would be a confusing mess (and not all IPs are pingable). But yeah sounds like they want cascaded routers in order to use some of the asus features. Though I would think most of those features are supported in the Mikrotik, other than the somewhat useless trend micro stuff.
 
Thanks for the many responses!
What I am actually trying to achieve is have the Asus in router mode so I can use the parental controls in the Asus. Through the Asus app access to tweaks are easier / quicker and I can add screen time on the fly per kid's device, Mikrotik router OS doesn't do that.
I also want to have Asus mesh nodes going through a mikrotik ethernet/wired backbone of two CRS309 (living room with the main Asus, garage with a Asus mesh node) routers.

Code:
ONT-4011-CRS309-CRS309
           |      |
      ASUS88Mstr Asus88Node

I am able to setup the dual dhcp succesfully. all wifi clients go through the Asus dhcp with .50.x/24 IPs. all world clients get an IP form the mikrotik on 1.x/24. Problem is with this dual dhcp setup, the Asus wired mesh doesn't work...
 
Thanks for the many responses!
What I am actually trying to achieve is have the Asus in router mode so I can use the parental controls in the Asus. Through the Asus app access to tweaks are easier / quicker and I can add screen time on the fly per kid's device, Mikrotik router OS doesn't do that.
I also want to have Asus mesh nodes going through a mikrotik ethernet/wired backbone of two CRS309 (living room with the main Asus, garage with a Asus mesh node) routers.

Code:
ONT-4011-CRS309-CRS309
           |      |
      ASUS88Mstr Asus88Node

I am able to setup the dual dhcp succesfully. all wifi clients go through the Asus dhcp with .50.x/24 IPs. all world clients get an IP form the mikrotik on 1.x/24. Problem is with this dual dhcp setup, the Asus wired mesh doesn't work...

You need to add VLANs 501 and 502 Tagged to the mikrotiks since Asus uses those for wired Aimesh. On some routers 503 is needed also (just set up all 3, can't hurt). Tag those VLANs on the ports that go to each Asus and also the link between the mikrotiks. Leave the native vlan1 untagged on the ports also. You only need it at layer 2 on the switch portion, no IPs or DHCP etc needed.
 
Last edited:
What I am actually trying to achieve is have the Asus in router mode so I can use the parental controls in the Asus. Through the Asus app access to tweaks are easier / quicker and I can add screen time on the fly per kid's device, Mikrotik router OS doesn't do that.

Very few business class routers have Parental Controls. Some have the tools to re-create what parental controls do in home routers. If you're more comfortable with Asuswrt GUI - just make the Asus router your main and save yourself the trouble. What is this MikroTik router doing there?
 

Latest threads

Sign Up For SNBForums Daily Digest

Get an update of what's new every day delivered to your mailbox. Sign up here!
Top