From nobody@FreeBSD.org  Tue May 13 17:08:03 2008
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id AC191106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 May 2008 17:08:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 9AAA48FC16
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 May 2008 17:08:03 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4DH6uvr045394
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 13 May 2008 17:06:56 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.2/8.14.1/Submit) id m4DH6uob045391;
	Tue, 13 May 2008 17:06:56 GMT
	(envelope-from nobody)
Message-Id: <200805131706.m4DH6uob045391@www.freebsd.org>
Date: Tue, 13 May 2008 17:06:56 GMT
From: Anatoly Borodin <anatoly.borodin@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: ifconfig doesn't set inet and ether address in one command
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         123633
>Category:       bin
>Synopsis:       ifconfig(8) doesn't set inet and ether address in one command
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-net
>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:  Sun May 18 23:53:30 UTC 2008
>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@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:
Responsible-Changed-From-To: freebsd-bugs->freebsd-net 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Wed May 14 21:14:27 UTC 2008 
Responsible-Changed-Why:  

I'm able to reproduce this on 7-STABLE. 
Over to maintainer(s). 

http://www.freebsd.org/cgi/query-pr.cgi?pr=123633 
>Unformatted:
