What's new

How to access 2nd WAN config (different subnet)?

  • 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!

nord_musician

Occasional Visitor
Hello everybody.

I got an Asus 68u with two WAN connections, the main WAN comes from the ONT (Verizon Fios) and the backup WAN comes from a LTE modem/router with DHCP server and firewall disabled.

The 68u's IP is 192.168.0.1 and works as DHCP server for my home network. The LTE router's IP is 192.168.8.1. The 68u gets the 192.168.8.2 assigned manually when the failover kicks in. I want to be able to enter the config page for 192.168.8.1 while my IP address is still in the 192.168.0.x subnet.

I know the solution lies within routing tables but I have no idea where to start, what to put in each field.

Thanks in advance for any guidance you can give
 
I have dual WAN set up already and the LTE router doesn't have a bridge mode but it does let you disabe pretty much everything (dhcp server, firewall, wifi) except for NAT
 
I just reread your post and understand what you’re trying to do.

You just have to set up a virtual interface with a static IP on whichever machine you are trying to access it from.

Code:
# ip a add 192.168.8.3/24 dev wl0:0

That’s assuming your network interface is wl0, we are creating an alias (virtual interface) and assigning it a static IP. You should then be able to connect to the LTE modem/router while your main WAN is up.

On Windows it’s a bit messier (and anecdotally connection tends to be unstable because the routing sucks), you’ll have to set the IPs of both subnets statically:
https://www.loadtestingtool.com/help/how-setup-ip.shtml

This method gives you the benefit of not having to modify the route table directly, since these commands would modify it when you set up the IPs.

Alternatively, if you really need all clients in LAN to be able to access the LTE modem then you can directly modify the route table on 68U.
 
Last edited:
Yep, I’m not entirely sure if it will conflict with what the router does when failover kicks in though. Please backup before you test this and restore if you encounter problems.
 
I'm guessing that to remove it later I should just replace "add" by "remove" , right?

route remove -net 192.168.8.0 netmask 255.255.255.0 gw 192.168.8.1
 
Oh ok. Thanks, man!

By the way. Why 192.168.8.0? Does it means the virtual interface would be assigned that address as a client of 192.168.8.1?
 
No, that’s specifying a subnet incombination with ‘netmask’.

This has nothing to do with interfaces, we are manipulating the routing table, which tells the kernel where to send packets for different IPs on different subnets.
 
Oh ok, it's just that I think I set the ip pool goes from 192.168.8.1 to 192.168.8.2, but again I disabled the DHCP server anyway
 

Sign Up For SNBForums Daily Digest

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