Comments (4)
Strange, this script is running in production on multiple hosts for years.
Can you please test with the previous version?
The script specifically creates static routes to the target hosts, so when
switching to the backup link, those target hosts won't be pingable as long as
the primary link is down.
I do not understand your second remark about MAX_LATENCY. This is how long PING
will wait untill the response is considered timed-out.
Original comment by Louwrentius
on 3 Dec 2012 at 6:38
from wanfailoverscript.
The MAX_LATENCY value is incorrectly stated in miliseconds but it actually
works in seconds. So 1000 seconds is a bit too much. This must be changed and
is a bug.
Original comment by Louwrentius
on 3 Dec 2012 at 6:43
from wanfailoverscript.
Checking a .target host that's visible only from primary link is very narrow
condition in my opinion Maybe simply ping -I $PRIMARY_INT would be more useful,
also maybe some other other checks like dig -b $PRIMARY_IP ....
Hping utility could be perfect for a comprehensive check!
Original comment by [email protected]
on 4 Dec 2012 at 12:05
from wanfailoverscript.
This script does not and will never rely on non-standard third-party tools.
This is by design.
Original comment by Louwrentius
on 12 Aug 2013 at 9:46
from wanfailoverscript.
Related Issues (7)
- any support for PPPoE ????? when gateway information is dynamic HOT 3
- Bad info: Max latency in ms - its in seconds HOT 1
- Remove bash dependency
- Problem with failover between primany ppp0 connection and seconday ethernet DSL connetion.
- MAX_LATENCY greater than 2147 HOT 1
- not working, not failing over HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wanfailoverscript.