rfduarte / wanfailoverscript

Automatically exported from code.google.com/p/wanfailoverscript
0 stars 0 forks source link

any support for PPPoE ????? when gateway information is dynamic #1

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Out put of route -n
X.X.X.X         0.0.0.0   255.255.255.255 UH    0      0        0 ppp0
172.16.16.0     0.0.0.0   255.255.255.252 U     0      0        0 eth2
10.10.1.0       0.0.0.0   255.255.255.248 U     0      0        0 eth0
192.168.1.0     0.0.0.0   255.255.255.0   U     0      0        0 eth1
169.254.0.0     0.0.0.0   255.255.0.0     U     0      0        0 eth2
0.0.0.0         0.0.0.0   0.0.0.0         U     0      0        0 ppp0

Original issue reported on code.google.com by raza...@gmail.com on 5 Feb 2012 at 10:07

GoogleCodeExporter commented 9 years ago
Can you elaborate on the exact issue you have? Do you have any suggestions for 
a fix?

Original comment by Louwrentius on 15 Feb 2012 at 11:03

GoogleCodeExporter commented 9 years ago
your script works fine with Static ip configuration ..
but in a case of PPPOE . what sould be the values in wfs.conf

any support for dialer ??????? if one dialer failed then 2nd got up 
automatically?
since traffic is being forward to PPP0 interface

# WFS - Wan Failover Script
# Configuration file
#
TARGETS_FILE=/etc/wfs/targets.txt
PRIMARY_GW=ppp0 >>>>>>>>>>>> in case of PPPoE
SECONDARY_GW=10.10.1.2
INTERVAL=20
TEST_COUNT=2
THRESHOLD=3
COOLDOWNDELAY=30
MAIL_TARGET=""
DAEMON=1
QUIET=1
PIDFILE=/var/run/wfs.pid
PRIMARY_CMD=""
SECONDARY_CMD=""
DEBUG=0

Original comment by raza...@gmail.com on 24 Feb 2012 at 10:46

GoogleCodeExporter commented 9 years ago
I personally have no need for this. I probably never will. WFS works based on 
the assumption that static IP addresses are used. It would take some serious 
rework to make all that stuff automatic, if that's even possible.

I'm willing to consider proper patches though.

Original comment by Louwrentius on 11 Mar 2012 at 11:06