Reply
Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@voiproute I changed the permission. Please try again.

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng got it and will try now

New Member
Posts: 35
Registered: ‎07-24-2014
Kudos: 1

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng   this already contains fixes of nightime build coming 2.0.1 or it is based on 2.0 release?

 

 

thanks

 

 

Cesar

Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

[ Edited ]

@calvarez It already contains fixes of nightime build for coming 2.0.1.

But this new Load-Balance will not be included in the coming release of v2.0.1. It will be in release v2.0.2.

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng intial tests are positive and it did fail back , but we are seeing packet loss on the primary WAN so I am going to fire up a 2nd unit and test it on a seperate circuit.

Highlighted
Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

[ Edited ]

@voiproute I don't understand 'seeing packet loss on the primary WAN'. Maybe you can give me more detail of the test case. Generally speaking, Load-Balance protection will lost packets. It is not hardware protection.

You can reduce the converge time by set smaller 'test-ping-interval' : 

set load-balance group ABC interface eth0 route-test interval 1

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

[ Edited ]

@UBNT-Fenng We had success with a 2nd erlite and will be testing a 3rd unit later this evening. On the 2nd unit we had WAN1 with cable service and DHCP and WAN2 a different internet service but behind a router DHCP.

 

The LAN is a small switch with a VoIP Phone and a laptop. We had constant traffic on the laptop and a call on the VoIP phone 

 

We created a primary WAN service failure in two ways, 1) disconnect ethernet WAN1 cable and 2) disconnect internet coax cable to WAN1 modem. In both cases the traffic (UDP VoIP phone & TCP computer) failed over to WAN2. In both cases when we reconnected the WAN1 internet service the traffic failed back to WAN1.

 

Attached Config.

 

 

On the original erlite that we tested we, the new firmware has dropped packets on the WAN1 (see image). This setup is completely different. WAN 1 cable modem static IP, WAN2 Verizon 4G bridge static IP. We are looking into it further and trying to determine if it may be related to IPv6 BUT the older 1.8.5 firmware does not have this issue at all.

 

Attached image of interface errors

Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@voiproute So, both of your test cases has been passed. There is not any issue with this new Load-Balance image.  Is it right?

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng I understand its the "module" but we do not actually Load-Balance, we Failover. We need to understand the packet loss issue and will run more tests tonight.

Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@voiproute Please pay attention to these two configurations options of command: 'set load-balance group ABC'.  Set them based on your use case.


flush-on-active
Option to enable/disable flushing of all connections when a WAN transitions from inactive to active status.

lock-local-dns
If this options is enabled, local generated DNS packets will not be load-balanced. If want to load-balance local generated DNS packets, we need set 'lock-local-dns' as 'disable' and also set 'lb-local' as 'enable'.

 

(Note: "Local generated DNS packets" is the DNS packets generated by the Edge Router. Not the DNS packets of client devices.)

Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

We have fixed a bug of the load-balance.

You can get it from this link:

https://community.ubnt.com/t5/EdgeRouter/Dual-WAN-failback-doesn-t-work-when-an-interface-is-disable...

 

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng this isn't another update, your just informing the thread??? The MD5 of the file is exactly the same.

Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

[ Edited ]

@voiproute Sorry. I have updated the link. Please try again.

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng I checked mine
set load-balance group G lock-local-dns disable
set load-balance group G flush-on-active enable

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng OK just installed latest FM and testing now

New Member
Posts: 35
Registered: ‎07-24-2014
Kudos: 1

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng 

 

 

testing load balance on ER-4, with 10 wans (most vlans), when reboot ONT it appear down on load balance but when it back appear reachable on LB but no traffic pass:

 

interface : eth1.26
reachable : true
status : active
gateway : 192.168.100.1
route table : 208
weight : 11%
flows
WAN Out : 0
WAN In : 0
Local ICMP: 263
Local DNS : 0
Local Data: 0

 

 

ubnt@ubnt:~$ sudo ping -I eth1.26 8.8.8.8
PING 8.8.8.8 (8.8.8.8) from 192.168.100.4 eth1.26: 56(84) bytes of data.
64 bytes from 8.8.8.8: icmp_seq=1 ttl=121 time=47.0 ms
64 bytes from 8.8.8.8: icmp_seq=2 ttl=121 time=52.3 ms
64 bytes from 8.8.8.8: icmp_seq=3 ttl=121 time=46.0 ms

 

 

Any wrong with this?

 

 

Cesar

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@UBNT-Fenng We have mixed news... we have tested the latest firmware on 2 different edgelites in completely different networks.

 

On both units when ethernet WAN 1 cable is disconnected the failover and failback was perfect and extremely quick, about 8 seconds failover and 4 seconds failback

 

When disconnecting the coax of the WAN1 Edgelight # 1 took 6 minutes to failover and a few minutes to failback. Edeglight # 2 took 24 sec, failback 1 min

 

We are setting up 2 more units in 2 more locations for testing

Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

[ Edited ]

@voiproute and @calvarez Please write down the detail of your failed test cases. We need these information to reproduce the issue:

1) Network topology (How is your devices connected. The device type. The firmware image version number. 'show version')

2) The configurations (Better make the configuration simple.)

3) How did you tested? (The test steps. What kind of test stream did you use?) (If you are testing with one stream, then the failover time is also related with the client software. So must use multipl streams to test the real failover time when you disconnect the uplink. Such as coax cable.) (The configuration 'set load-balance group ABC flush-on-active enable' will influence the fallback time of the client stream.)

4) The result of the test.

 

 

New Member
Posts: 19
Registered: ‎06-27-2018
Kudos: 3

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

[ Edited ]

@UBNT-Fenng seriously? I have already done this in previous responses and provided detailed information and were using YOUR latest firmware... what more do you want???

 

UPDATE: we did a 3rd edgelite and it took 3 minutes to failover. I am busy all day working and will not be able to respond back until tomorrow

Ubiquiti Employee
Posts: 269
Registered: ‎08-11-2016
Kudos: 48
Solutions: 5

Re: Dual WAN failback doesn't work when an interface is disabled / enabled.

@voiproute Thank your very much! Let's continue tomorrow.

We need these information to reproduce the issue.

I have tested in my device. It works fine.

 

Reply