HI,
I am just starting to use mwan3, and have an issue I am hoping someone can help with.
I have a simple setup, 2 WAN interfaces.
WAN is set with metric 20
WAN2 is set with metric 10
Both work OK when used individually.
In MWAN config, I have a simple policy that states WAN2 is higher priority then WAN, and all traffic should go out WAN2, unless WAN2 is not available, then traffic should go out WAN. WAN is always connected, however it may not always have internet access, but MWAN3 does not have to worry about this, just that WAN us "up".
The issue I have is with DNS.
If I try to ping 8.8.8.8, the traffic is correct, however, when I try to ping google.com, it cannot reoslve the name. This happens when WAN2 is offline, and WAN does not have internet access, and then WAN2 comes back online. When tis happens, the 8.8.8.8 goes to WAN2, but the DNS seems to be going to WAN, which does not have internet access, and in turn, the DNS fails.....
Any thoughts on why this is happending?
A bit more information:
I run Windows 8, with a linux VM.
From windows, DNS is not working, from Linux, it is..... Why would windows not behave correctly with the DNS chnage on the router? Strange.....
And some more info:
When both WAN and WAN2 are "online", /etc/resolv.conf.auto looks like:
# Interface wan
nameserver 10.10.20.1
search lan
# Interface wan2
nameserver 202.3.225.115
nameserver 202.3.225.125
Why are are the DNS lookups not going through the wan2 servers?
Once again, more info:
The nameserver 10.10.20.1 that is listed, is another router, that may, or may not, be connected to the internet. Right now, I am testing with it not connected to the internet.
It seems that the DNS requests try to go to 10.10.20.1, but I am unsure why the other servers are also not checked, as the 10.10.20.1 DNS lookup will fail. Why are the other servers not searched also?
If I change the order, and put the 202.X.X.X first in the resolv.conf.auto file, they are searched first, and in turn DNS works OK.
(Last edited by JohnV on 5 Sep 2014, 03:27)