bin/123633: ifconfig doesn't set inet and ether address in one command

Anatoly Borodin anatoly.borodin at gmail.com
Tue May 13 17:10:01 UTC 2008


>Number:         123633
>Category:       bin
>Synopsis:       ifconfig doesn't set inet and ether address in one command
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 13 17:10:01 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Anatoly Borodin
>Release:        FreeBSD 7.0-STABLE
>Organization:
>Environment:
FreeBSD fractal.home 7.0-STABLE FreeBSD 7.0-STABLE #0: Sun May 11 15:10:16 EEST 2008     anatoly.borodin at gmail.com:/usr/obj/usr/src/sys/GENERIC  i386

>Description:
# ifconfig nfe0 inet 10.40.3.4 netmask 255.255.255.0 ether 00:1B:11:75:FA:11
ifconfig: ether: bad value

but AFAIR such a command was an equivalent to

# ifconfig nfe0 inet 10.40.3.4 netmask 255.255.255.0; ifconfig nfe0 ether 00:1B:11:75:FA:11

which works just fine.

The old style call was useful in rc.conf to set the IP and MAC simultaneously.

Is the current behavior a bug or a new functionality? How to use it in rc.conf then?
>How-To-Repeat:

>Fix:


>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list