[buug] Musical default gateways

Skip Evans evans at ncseweb.org
Fri Sep 6 15:09:06 PDT 2002


Here's a weird one,

Last night at the BUUG meeting I showed a couple of 
people an odd thing going on on my BSD box. 

Our network has a Flowpoint 2200 as the first thing coming from Earthlink. 
That in turn connects to a Linksys router. My BSD box comes 
off the Flowpoint; it is not connected directly to the Linksys.

In the file rc.comf I have a line that reads:
defaultrouter="66.47.51.73" 

As I understand the manual, this value will be used for the gateway at 
startup.

It's been working fine for a few weeks, but yesterday
a friend who is doing some work on the box called
and said he could no longer access the box. I did
a netstat -r and it told me the default gateway was
set to 192.168.1.1 ... The IP address of the Linksys.

Today I did the following commands to fix it:
route delete default
route add default 66.47.51.37

When I did a netsat -r it showed be the .37
value as the default gateway. I even rebooted
the machine to see what it would come up with,
and it came up with the .37 value.

Then in the middle of the day today, my friend calls
up and says he can't get at the box again and lo and 
behold, the Linksys IP was again the default gateway.

The machine had not been restarted, and, in fact, no one
had done anything to it beyond my setting the gateway to
the proper value.

I've grepped the /etc directory for any reference to the Linksys
IP, but it comes up with nothing.

Anyone have any idea what is happening here?

Thanks!




Skip Evans
Network Project Director
National Center for Science Education
420 40th St, Suite 2
Oakland, CA 94609
510-601-7203
510-601-7204 (fax)
800-290-6006
evans at ncseweb.org
 http://www.ncseweb.org

NCSE now has a one way broadcast news list. Please note that this is NOT a discussion list. You cannot post messages for members to receive. We use this list to broadcast news about the creationism/evolution issue to interested parties.

To sign up send:
subscribe ncse your at email.address 
to: majordomo at inia.cls.org





More information about the buug mailing list