Ranger802004
Very Senior Member
Last edited:
Yes it works for load balancing mode.Is this working good with a Load Balancing setup?
I am considering putting one of my RT-AC86U back online using Load Balancing for testing.
Yes it works for load balancing mode.
Enable debug logging on your router and use capture mode to provide logs for me to take a look at please?Yes the script works.
But load balancing is erratic at best
With ER-X everything is smooth.
I had this problem before developing my script in Load Balancing and resolved it with it checking for mangle rules and IP Rules needed for proper load balancing but I’d have to see the logs to see if it is not creating something correctly.Thanks for the interest but it's impossibile for me to do it.
Putting the asus router in front of my actual load/balancer (an ER-X) could disrupt my net once again and I don't want to be killed by my wife and daughter...
I've made several attempts this year, with and without your script. The problem is that your script correctly detects when a connection is down or up.
However the load balancing is erratic: on 10 websites 6 are reachable and 4 are non resolved. My openvpn server sometimes disconnects without reason, of my 2 openvpn clients 1 spits out errors of unreachable server, the other works ok.
With ER-X everything is smooth.
With ER-X everything is smooth.
Same with my TP-Link ER605.
Yes, I understand but it's impossibile to do right now.I had this problem before developing my script in Load Balancing and resolved it with it checking for mangle rules and IP Rules needed for proper load balancing but I’d have to see the logs to see if it is not creating something correctly.
No worries, if anyone else is experiencing these issues in Load Balancing mode, please feel free to comment and volunteer to help further diagnose the issues. There may be other cases that need to be resolved that don’t effect everyone. Load balancing mode works perfect for me and my guest networks using my script but I know there may be other factors that effect others.Yes, I understand but it's impossibile to do right now.
and switching backMake a selection: 13
wan-failover.sh - Switch WAN Mode
Are you sure you want to switch Primary WAN? ***Enter Y for Yes or N for No***y
wan-failover.sh: WAN Switch - Switching wan1 to Primary WAN
wan-failover.sh: WAN Switch - WAN Gateway Interface: vlan3
wan-failover.sh: WAN Switch - Deleting default route via 192.168.58.1 dev vlan2
wan-failover.sh: WAN Switch - Deleted default route via 192.168.58.1 dev vlan2
wan-failover.sh: WAN Switch - Disabling QoS Bandwidth Settings
wan-failover.sh: WAN Switch - Deleting default route via 192.168.58.1 dev vlan2
wan-failover.sh: WAN Switch - Deleted default route via 192.168.58.1 dev vlan2
wan-failover.sh: WAN Switch - Disabling QoS Bandwidth Settings
wan-failover.sh: WAN Switch - Deleting default route via 192.168.58.1 dev vlan2
RTNETLINK answers: No such process
wan-failover.sh: WAN Switch - ***Error*** Unable to delete default route via 192.168.58.1 dev vlan2
...
Make a selection: 13
wan-failover.sh - Switch WAN Mode
Are you sure you want to switch Primary WAN? ***Enter Y for Yes or N for No***y
wan-failover.sh: WAN Switch - Switching wan0 to Primary WAN
wan-failover.sh: WAN Switch - WAN IP Address: 192.168.58.51
wan-failover.sh: WAN Switch - WAN Gateway IP: 192.168.58.1
wan-failover.sh: WAN Switch - WAN Gateway Interface: vlan2
wan-failover.sh: WAN Switch - Deleting default route via 192.168.59.1 dev vlan3
wan-failover.sh: WAN Switch - Deleted default route via 192.168.59.1 dev vlan3
wan-failover.sh: WAN Switch - Disabling QoS Bandwidth Settings
wan-failover.sh: WAN Switch - Deleting default route via 192.168.59.1 dev vlan3
RTNETLINK answers: No such process
wan-failover.sh: WAN Switch - ***Error*** Unable to delete default route via 192.168.59.1 dev vlan3
wan-failover.sh: WAN Switch - Disabling QoS Bandwidth Settings
wan-failover.sh: WAN Switch - Deleting default route via 192.168.59.1 dev vlan3
RTNETLINK answers: No such process
wan-failover.sh: WAN Switch - ***Error*** Unable to delete default route via 192.168.59.1 dev vlan3 ....
@Ranger802004Enable debug logging on your router and use capture mode to provide logs for me to take a look at please?
Finally not sure if this has been asked previously but does this script allow QoS to stay enabled while using load balancing? I know thr stock version disables QoS. Just curious if it acts the same way. Thanks!
- WAN0_QOS_OVERHEAD: This will define WAN0 Packet Overhead when QoS is Enabled. Default: 0 Bytes
- WAN1_QOS_OVERHEAD: This will define WAN1 Packet Overhead when QoS is Enabled. Default: 0 Bytes
- WAN0_QOS_ATM: This will enable or disable Asynchronous Transfer Mode (ATM) for WAN0 when QoS is Enabled. Default: Disabled (0)
- WAN1_QOS_ATM: This will enable or disable Asynchronous Transfer Mode (ATM) for WAN1 when QoS is Enabled. Default: Disabled (0)
Turn on debug logging and capture logs for me please.Hello
if I do a manual switch I get
and switching back
if I then check monitor I get
Jan 11 07:26:02 wan-failover.sh: WAN Failover Disabled - WAN Failover is currently disabled. ***Review Logs***
and GUI shows status as (in between it stated WAN connection on prime not available (even if a ssh session was permanently working).
View attachment 47035 View attachment 47034
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!