Bootup/netconfig oddity

Forrest Aldrich forrie at forrie.com
Tue Jun 20 14:59:06 UTC 2006


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 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