Subject: Re: Routing problem in 1.6.1?
To: None <netbsd-users@netbsd.org>
From: Jonathan Neill <TYR124840@tyler.net>
List: netbsd-users
Date: 01/16/2004 16:49:39
----- Original Message ----- 
From: "Erik Osheim" <erik@plastic-idolatry.com>
To: "Jonathan Neill" <TYR124840@tyler.net>
Cc: <netbsd-users@netbsd.org>
Sent: Friday, January 16, 2004 1:24 PM
Subject: Re: Routing problem in 1.6.1?


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

Sorry, it was a 3AMish typo. That line should read:

ifconfig sip0 192.168.1.101 netmask 255.255.255.0 

(0xffffff00)