non-default route to static host through gateway for ppp failover testing
Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
My normal connection to the Internet from rose (192.168.65.222) is the default gateway out of my Linksys WRT54G at 192.168.65.1. When that fails, I fire up PPP and connect using my dial-up connection. But I want to kill PPP and go back to the fast connection as soon as it comes back up, so I had this idea to configure a route to a static host (208.67.219.99) out on the Internet and ping it every couple minutes via a daemon shell script (started by ppp's ip-up) to see if the eth0 interface can see the Internet yet. I had it working at one point, honest. But it's not working now, and I can't figure out why. When I do a:
Thanks datopdog! Ping was setuid, it was iptables and therefore the firewall, dumb user error. I'm using firestarter, I think I'll have to look into something a bit more configurable, maybe shorewall.
If you are looking for an iptables front end, also take a look at vuurmuur http://www.vuurmuur.org/trac/ its easy to use and produces rules that are easy to debug.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.