-
-
Notifications
You must be signed in to change notification settings - Fork 250
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamically assign master upon master fail or allow failover for master somehow. #3361
Comments
okay I noticed its not necessarily if master goes down. Seems to be whichever connection is running the tunnel. |
What is the VPN and Proxy used ? You can check in System->OpenMPTCProuter, "Wizard" tab, "Advanced settings" checkbox. |
Using shadowsocksrust 2022 with openvpn TCP. system log output when failover doesnt happen:
|
What is the result of |
default via 10.255.252.1 dev tun0 This is while aggregation is working well |
And when it's not working well ? |
This is after I turn off main interface running tunnel (also did ping before I turned it off): 64 bytes from 8.8.8.8: icmp_seq=25 ttl=118 time=36.7 ms And this is ip r (and ping) when I switch off the interface not running tunnel (This is after eth2 became default so I just switched off eth1 again) : 64 bytes from 8.8.8.8: icmp_seq=15 ttl=118 time=35.9 ms |
This is the output with both interfaces up and eth2 as default:
After eth2 off:
Tried running:
which resulted in
but still no internet Then this is after it self corrects (about 1 min)
|
It self correct after an OpenVPN restart I think. You can try lower values in Services->OMR-Tracker Manager for omrvpn interface. |
I find master is too high weight. if master not connect to the internet. omr cant connect to the server,although the other interface works very good, the network still very worst.so we need allow other interface connect to the server ,or a backup interface. |
When a connection is down, it's removed from route table, so no issue with weight here. |
maybe you are right,if master no sim card or internet.it canbe remove, but a lot of time master can not be remove from route table.so this is the problem |
I dont know what is the role of weight. but is real to reduce some work from master, |
OMR tracker is quite inconsistent in removing a WAN when it is without internet but physically connected. Several times, it simply does not remove the route and stays in this no-connectivity situation. The only way I managed to solve this was by placing the master WAN behind another TPLINK router with failover, thus ensuring that the master never loses internet. |
When there is an issue, everything is in Status->System log. Without this, nothing can be solve. |
I already posted logs here #3122 (comment), the problem continue until today. |
@vempire-ghost it's not related to this issue I think. And if this an issue, reopen the issue and add more logs. |
Expected Behavior
"Failover" support for master interface also
Current Behavior
if master goes down, connection drops until its back up.
Specifications
Is there a way to configure OMR such that if the master goes down there is still seemless failover? Its working with non-master. Is there a command to set master for example that I can put in a script to run when that interface goes down? (dont need the script, just thinking of solutions)
The text was updated successfully, but these errors were encountered: