Default route problem

greg gval at mts.net
Tue Jan 27 20:42:42 PST 2004


On Tue, 2004-01-27 at 19:54, Luke Kearney wrote:
> On Wed, 28 Jan 2004 12:54:08 +1100
> "Martin and Belinda Richardson" <m.b.richardson at keypoint.com.au> granted us these pearls of wisdom:
> 
> > Hi everyone,
> > 		I am having a problem with a gateway I am building for a friend. I have
> > initially set the box up on my home network and have set this box to use my
> > gateway temporarily while I fetch some ports etc. Now that I have removed it
> > from my network, and edited /etc/rc.conf to set it up to act as a gateway,
> > it STILL sets the default route to my old gateway. I cant find any config
> > file that says "add default route" or anything. I have not set defaultroute
> > in /etc/rc.conf, and it is set to "NO" in /etc/defaults/rc.conf!

Set the default route in rc.conf. You should have a line that looks
like:
defaultrouter=W.X.Y.Z

where W.X.Y.Z is your gateway.

-- 
greg <gval at mts.net>



More information about the freebsd-questions mailing list