Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Feb 1998 09:58:26 -0600 (CST)
From:      Jeff Lynch <jeff@mercury.jorsm.com>
To:        freebsd-isp@FreeBSD.ORG
Subject:   OOPS! Re: FreeBSD firewall questions
Message-ID:  <Pine.BSF.3.95q.980212095505.11995F-100000@mercury.jorsm.com>
In-Reply-To: <Pine.BSF.3.95q.980212094130.11995E-100000@mercury.jorsm.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Feb 1998, Jeff Lynch wrote:

> On Thu, 12 Feb 1998, Cliff Addy wrote:
> 
> > The firewall machine is named odo, the router is wormhole, and my test
> > server is tribble. All I did (in the brief experiment I tried) was to tell
> > odo his default route is wormhole.  Then I changed tribble's default route
> > from wormhole to odo.  Now, running a traceroute to freebsd.org, I get 
> [snip]
> > 
> > My one concern is: what if odo dies?  Can I set up the other FreeBSD
> > machines to "fallback" to wormhole if odo cannot be contacted?
> 
> On tribble from cron:
> 
> #!/bin/sh
> loss=` /sbin/ping -c2 -q mercury | grep "packet loss" | awk '{print $7}' |
                           ^^^^^^^
make that ping -c2 -q odo
cut and paste error

> tr -d '%'`
> if [ $loss -gt 0 ]
> then
> 	route delete wormhole

make that route delete odo
	
> 	route add default 206.181.190.29

make that route add default wormhole

> fi
> 
> Putting the routing back in when wormhole comes back is left as
> an exercise to the reader.
> 
> =========================================================================
> Jeffrey A. Lynch, President		      JORSM Internet
> email: jeff@jorsm.com		Northwest Indiana's Full-Service Provider
> Voice: (219)322-2180		   927 Sheffield Avenue, Dyer, IN 46311
> Autoresponse: info@jorsm.com		   http://www.jorsm.com
> 

--jeff "correcting his own mistakes" lynch

=========================================================================
Jeffrey A. Lynch, President		      JORSM Internet
email: jeff@jorsm.com		Northwest Indiana's Full-Service Provider
Voice: (219)322-2180		   927 Sheffield Avenue, Dyer, IN 46311
Autoresponse: info@jorsm.com		   http://www.jorsm.com



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95q.980212095505.11995F-100000>