why not something simple a la "ping -c2 $FWIP && route del default && route add default gw $FWIP"
On Thu, Feb 21, 2008 at 11:37 AM, carlopmart <[EMAIL PROTECTED]> wrote: > Ed Greshko wrote: > > carlopmart wrote: > >> Hi all, > >> > >> I have installed a lab environment with two different firewalls on > >> it to communicate with another production environment. In this test > >> enviroment, I have setup five servers: three with rhel5 and two with > >> rhel4. > >> > >> As I said earlier, in this environment exists two firewalls to > >> provide communication to another LAN's: fw1 and fw2. Where is the > >> problem?. The problem is as follows: sometimes fw1 is up (but > >> sometimes not) and sometimes fw2 is up (and sometimes not). I need to > >> monitor network interfaces but how can I configure policy routing on > >> this five servers to detect which firewall is up and insert the > >> correct default route?? I need similar funcionality that ifstated > >> provides on OpenBSD > >> ( > http://www.openbsd.org/cgi-bin/man.cgi?query=ifstated&apropos=0&sektion=0&manpath=OpenBSD+Current&arch=i386&format=html > ). > > > > > > Are fw1 and fw2 ever up at the same time? > > No. Only one firewall is up. > > > > > Why not use RIP and let the FW's advertise routes via RIP? I've not > > done that in a while....but it used to be gated but now I hear quagga is > > what you'd use. > > Well, I will try it ... > > > > _______________________________________________ > > rhelv5-list mailing list > > [email protected] > > https://www.redhat.com/mailman/listinfo/rhelv5-list > > > > > -- > CL Martinez > carlopmart {at} gmail {d0t} com > > _______________________________________________ > rhelv5-list mailing list > [email protected] > https://www.redhat.com/mailman/listinfo/rhelv5-list >
_______________________________________________ rhelv5-list mailing list [email protected] https://www.redhat.com/mailman/listinfo/rhelv5-list
