Project

General

Profile

Actions

Bug #4041

closed

Default gateway switching logic seems broken

Added by Anonymous almost 10 years ago. Updated almost 10 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
Category:
Gateways
Target version:
Start date:
11/24/2014
Due date:
% Done:

0%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
All

Description

Tested with:

2.2-BETA (i386) 
built on Mon Nov 24 02:45:36 CST 2014 
FreeBSD 10.1-RELEASE

I have enabled default gateway switching in Misc -> Advanced since 2.1. In my 2.1.5 setup it works fine, if WAN1 goes down, it switches to WAN2. If WAN1 comes back, it switches the default route back to WAN1 (Verified this by restoring my old 2.1.5 KVM).
With 2.2 this seems to have stopped working at some point in the betas. Bringing down WAN1 makes it switch to WAN2's default gateway. But it does never switch back when WAN1 comes back online. When I press Save/Apply on WAN1 I can force it to switch the default gateway back. But it won't do it on it's own anymore.
Another test to see what happens with WAN2 going down:
-switched off WAN1 router
-let it settle an switched WAN1 router back on
-the default route stays with WAN2 as noted above
-switched off WAN2 router
-let it settle
-the default gateway is not switched back to WAN1 as I would expect, it stays with WAN2.

The web GUI is really unresponsive during the test.

And my gateway cannot send mails anymore:

Nov 25 05:44:51 xxx.xxx.de php-fpm[14109]: /rc.dyndns.update: Could not send the message to xxx@xxx.de -- Error: could not connect to the host "smtp.1und1.de": ??
Actions #1

Updated by Anonymous almost 10 years ago

This can be closed, Ermal fixed it in the latest snapshots.

Actions #2

Updated by Ermal Luçi almost 10 years ago

  • Status changed from New to Resolved
Actions #3

Updated by Chris Buechler almost 10 years ago

  • Target version set to 2.2
Actions

Also available in: Atom PDF