Bootup/netconfig oddity

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Tue Jun 20 14:58:06 UTC 2006


Forrest Aldrich <forrie at 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.


More information about the freebsd-questions mailing list