NYCPHP Meetup

NYPHP.org

[nycphp-talk] strange ifconfig error message

Hans Zaunere zaunere at yahoo.com
Tue Jun 4 18:46:06 EDT 2002


And it works properly afterwords?  Seems like a driver bug.  If you
can, cycle the interface down/up and try again.  Or reboot/ensure your
hardware is good/exactly correct driver version for chipset.  I always
use the full netmask [255.255.0.0] but that shouldn't really make a
difference.

HZ


--- Jim Suto <jim at alliedtours.com> wrote:
> Can anyone explain why this happens:
> 
> [root at reddy root]# ifconfig eth0:1 10.0.101.101/16
> SIOCSIFNETMASK: Cannot assign requested address
> [root at reddy root]# ifconfig eth0:1 10.0.101.101/16
> [root at reddy root]#
> 
> If you notice, the second command is exactly the same as the first
> (up-arrow) and the second time it takes and properly assigns the IP
> address
> with no error.  Why not the first time?
> 
> Jim
> 
> 
> 


__________________________________________________
Do You Yahoo!?
Yahoo! - Official partner of 2002 FIFA World Cup
http://fifaworldcup.yahoo.com



More information about the talk mailing list