Subject: bin/12845: dhcp should not use -alias option of ifconfig
To: None <>
From: None <>
List: netbsd-bugs
Date: 05/05/2001 18:05:13
>Number:         12845
>Category:       bin
>Synopsis:       dhcp use -alias option of ifconfig, but the option is not available for all network cards
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    bin-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat May 05 16:05:00 PDT 2001
>Originator:     Kazushi (Jam) Marukawa
>Release:        May 5, 2001
	Celeron 366MHz, NetBSD-current
System: NetBSD 1.5V NetBSD 1.5V (sou) #2: Fri May 4 22:34:08 CDT 2001 i386
Architecture: i386
Machine: i386
    Recent DHCP client configurating script, "dhclient-script", uses
"ifconfig ... -alias ip-address" to give IP address, but this -alias
option is not available for all network devices.
    For example, I tried to use my old 3COM 905 ether card ("ep0"),
but it dhclient-script shows following error and it cannot lease
any IP address from DHCP server.  The line starts with + is taken
by adding "set -xv" line at the beginning of the script.

  + ifconfig ep0 inet -alias
  ifconfig: SIOCDIFADDR: Can't assign requested address

    Use any of ethernet card which doesn't support -alias option.
    Stop using -alias option.