Date: Thu, 12 Feb 1998 09:49:34 -0600 (CST) From: Jeff Lynch <jeff@mercury.jorsm.com> To: freebsd-isp@FreeBSD.ORG Subject: Re: FreeBSD firewall questions Message-ID: <Pine.BSF.3.95q.980212094130.11995E-100000@mercury.jorsm.com> In-Reply-To: <Pine.BSF.3.95q.980212091106.11372A-100000@federation.addy.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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}' | tr -d '%'` if [ $loss -gt 0 ] then route delete wormhole route add default 206.181.190.29 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 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.980212094130.11995E-100000>