* Link redundance question
@ 2002-11-11 1:18 Andrew Magnus
2002-11-11 1:40 ` Ben Russo
0 siblings, 1 reply; 2+ messages in thread
From: Andrew Magnus @ 2002-11-11 1:18 UTC (permalink / raw)
To: netfilter
Hello.
I have a question about link redundancy (if it's possible). I have a
network set up like in the diagram below:
Hi-speed WAN
|
|
Dialup (backup)---- Masquerading
"router"
|
|
Internal net
What I'm trying to do is this: if the high speed connection goes down
(which it seems to do frequently :-P ) I want iptables to default to the
dialup connection. And vice versa (I have iptables set up to use a
particular link for a particular service). Is this possible? And if it is
possible, how do I do it/where do I look to learn/etc. Thanks.
_________________________________________________________________
Add photos to your messages with MSN 8. Get 2 months FREE*.
http://join.msn.com/?page=features/featuredemail
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Link redundance question
2002-11-11 1:18 Link redundance question Andrew Magnus
@ 2002-11-11 1:40 ` Ben Russo
0 siblings, 0 replies; 2+ messages in thread
From: Ben Russo @ 2002-11-11 1:40 UTC (permalink / raw)
To: Andrew Magnus; +Cc: netfilter
[-- Attachment #1: Type: text/plain, Size: 724 bytes --]
> What I'm trying to do is this: if the high speed connection goes down
(which it seems to do
> frequently :-P ) I want iptables to default to the dialup connection.
And vice versa (I have
> iptables set up to use a particular link for a particular service).
Is this possible? And if it is
> possible, how do I do it/where do I look to learn/etc. Thanks.
Let's say that your internal interface is eth0, your WAN is eth1, and
your modem is ppp0
You can set up your iptables rules so that instead of referring to "-i
eth1" or "-i ppp0"
they refer to "-i ! eth0"
As far as changing your routes, that is not up to iptables, that is up
to the way that you
programatically determine if the WAN interface is up.
-Ben.
[-- Attachment #2: Type: text/html, Size: 1084 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2002-11-11 1:40 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-11 1:18 Link redundance question Andrew Magnus
2002-11-11 1:40 ` Ben Russo
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox