Subject: Re: SIOCAIFADDR vs ifconfig
To: None <tech-net@netbsd.org>
From: Tomas Berndtsson <tomber@packetfront.com>
List: tech-net
Date: 09/24/2001 11:14:50
"Bruce Anderson" <brucea@spacestar.net> writes:

> On Sat, Sep 22, 2001 1:28 PM, Tomas Berndtsson
> <mailto:tomber@packetfront.com> wrote:
> >ifconfig lo0 192.168.127.26 netmask 255.255.255.0 alias
> 
> 
> And if you do: 
> ifconfig lo0 192.168.127.26 netmask 255.255.255.255 alias

Same thing. When I set with ifconfig, it works. When I set with my
program, using SIOCAIFADDR, it doesn't work, even if the output from
netstat -rn and ifconfig -A lo0 is exactly the same.


Tomas