OPNsense Forum

English Forums => General Discussion => Topic started by: apiods on March 30, 2020, 09:47:05 pm

Title: Problem getting Multi WAN failover to work
Post by: apiods on March 30, 2020, 09:47:05 pm
Hi, I'm having a problem with Multi WAN failover not, well, failing over  ;D

Setup:
2x DSL lines
2x WAN interfaces (1 for each DSL!)
ONsense: 20.1.3

For a while I just used them as separate gateways, routing certain VLAN traffic out of the 2nd gateway by using the 'Gateway' option in the firewall rule.

Due to regular, short(ish) outages on one of the DSL lines, I thought I'd try Multi-WAN failover and see if that reduced the impact of the outages.

So, I followed the OPNSense documentation for Multi-WAN failover and the base setup worked.

Then, today I had a short drop on the DSL ... and lost Internet until it came back online. WAN failover didn't appear to work.

I then tested it out - and pulled the main DSL line from the socket. Same thing ... no failover. I lost Internet traffic untilI'd plugged the DSL cable back in and the line came up.

Some observations during the "outage":

- packet loss went to 100% in about 1 minute on the primary (downed) gateway
- in the log, it showed an error on the monitor IP: dpinger: WAN_PPPOE 8.8.8.8: sendto error: 65
- "Gateway > Single":
  - Primary WAN gateway got auto-marked as Disabled, priority: defunct; 100% packet loss; and got removed from gateway dashboard widget
  - WAN2 interface is showing active (default route)
- Gateway Group status shows correctly: the tier 2 GW active
- DNS was resolving okay for Internet domains
- But, no ping/traceroute, internet access, etc

Any suggestions on what I can look at ?
Title: Re: Problem getting Multi WAN failover to work
Post by: maxxer on May 26, 2020, 06:07:25 pm
Did you enable gateway auto switch in advanced firewall config?