Date: Tue, 20 Jun 2006 10:59:21 -0400 From: Forrest Aldrich <forrie@forrie.com> To: freebsd-questions@freebsd.org Subject: Re: Bootup/netconfig oddity Message-ID: <44980D49.3090000@forrie.com> In-Reply-To: <44wtbbvpqa.fsf@be-well.ilk.org> References: <4496DAAE.8@forrie.com> <44wtbbvpqa.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
The problem ended up being I had the incorrect netmask. They are using here 255.255.0.0 instead of 255.255.255.0 Lowell Gilbert wrote: > Forrest Aldrich <forrie@forrie.com> writes: > > >> I have a freshly-built (cvsup'd today) FreeBSD_6.1 system which fails >> to set the default router upon boot. >> >> I have tried two routers, both on the same /24 segment... "network >> unreachable". These were set using the "defaultrouter=xxx.xx.xxx.xx" >> in /etc/rc.conf. >> >> However... if I manually use "dhclient em0", it works. >> >> I wonder if I'm hitting a bug, or ... >> > > It sounds like you're trying to set a default router that isn't on a > local network. When you *don't* use dhclient on em0, how do you > configure it? It needs to have an address and netmask that correspond > to the router in order to set a default route through the router. >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44980D49.3090000>