Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 24 Sep 2003 18:34:32 -0400
From:      "John Straiton" <jsmailing@clickcom.com>
To:        <freebsd-questions@FreeBSD.ORG>
Subject:   Default route dissapears constantly
Message-ID:  <000901c382ec$0962aba0$1916c60a@win2k.clickcom.com>

next in thread | raw e-mail | index | archive | help
Hello,
	I'm having a doozy of a problem keeping a default route set up
on a box I just upgraded today from 4.8-RC to 4.9-PR. After the upgrade,
the machine will come up but quickly it will lose it's default route.
The only way I can keep it from dropping the default route now is to
continuously ping across it. If I stop for more than about 15 seconds,
it'll get removed from the netstat -rn results.

I don't mind researching possible means to fix it, but it's kinda hard
when you have to hammer someone else's IP with pings to keep the link up
or type "route add default xx.xxx.xxx.xx" every 15 seconds in order to
surf... Are there any ways I can nail a route up without giving FreeBSD
the ability to back it out automagically so I can fix this long enough
to fix it the right way?

Here's the relavent info:

FreeBSD calefaction.clickcom.com 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE
#2: Wed Sep 24 16:36:22 EDT 2003
user@calefaction.clickcom.com:/usr/obj/usr/src/sys/CALEFACTION  i386

Default kernel except for "options QUOTA, options IPFILTER and options
IPFILTER_LOG"

rc.conf:
network_interfaces="xl0 lo0 sis0"
gateway_enable="YES"
defaultrouter="209.198.22.1"
firewall_type="OPEN"

Ipfilter rules (for now)
pass in all
pass out all

Ipnat rules (for now)
map xl0 xx.xxx.xxx.0/24 -> 209.198.22.19/32

Thanks in advance,
John Straiton
jks@ clickcom.com
Clickcom, Inc
704-365-9970x101 




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000901c382ec$0962aba0$1916c60a>