Subject: bin/31940: ifconfig behaves unexpectedly
To: None <gnats-admin@netbsd.org, netbsd-bugs@netbsd.org>
From: None <christos@zoulas.com>
List: netbsd-bugs
Date: 10/28/2005 15:49:00
>Number:         31940
>Category:       bin
>Synopsis:       ifconfig behaves unexpectedly
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 28 15:49:00 +0000 2005
>Originator:     Christos Zoulas
>Release:        NetBSD 3.99.7
>Organization:
	Bugzination, Inc.
>Environment:
System: NetBSD rebar.astron.com 3.99.7 NetBSD 3.99.7 (ASTRON) #11: Wed Jul 6 00:40:45 EDT 2005 christos@rebar.astron.com:/usr/src/sys/arch/i386/compile/ASTRON i386
Architecture: i386
Machine: i386
>Description:
	Setting netmask on interfaces behaves weirdly.
>How-To-Repeat:
	ifconfig int0 a.b.c.d netmask 0xffffff00
	ifconfig int0 alias a.b.c.e netmask 0xffffff00
	ifconfig int0 netmask 0xfffffff0
	- nothing changes, no error is printed -
	ifconfig int0 a.b.c.d netmask 0xfffffff0
	- a.b.c.d changes netmask, but it now becomes the alias, and
	  a.b.c.e becomes primary -
	ifconfig int0 a.b.c.e netmask 0xfffffff0
	- a.b.c.e changes netmask, and it flips back into becoming
	  an alias -
>Fix:
	?