Subject: Re: Routing problem in 1.6.1?
To: Jonathan Neill <TYR124840@tyler.net>
From: Erik Osheim <erik@plastic-idolatry.com>
List: netbsd-users
Date: 01/16/2004 14:24:00
On Jan 16, 2004, at 1:05 AM, Jonathan Neill wrote:
> I had earlier sent an email to netbsd-help@netbsd.org stating that
> dhclient
> was not functioning properly. In actuality, it seems to be behaving
> itself
> (after some investigation into the problem and a minor tweak); it
> configures
> the interface properly and does actually obtain a lease (I checked in
> the
> router's client table, it shows up). I have the route setup properly (I
> think) also:
>
> route add default 192.168.1.1
>
> and the interface is basically
>
> ifconfig sip0 192.168.1.101 netmask 192.168.1.255
Maybe this was a typo, but the netmask should be 255.255.255.0; the
broadcast is 192.168.1.255. If you are using the broadcast as the
netmask, that would easily explain the routing problem.
To fix this, try:
ifconfig sip0 192.168.1.101 netmask 255.255.255.0
-- Erik