Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 May 2008 17:06:56 GMT
From:      Anatoly Borodin <anatoly.borodin@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/123633: ifconfig doesn't set inet and ether address in one command
Message-ID:  <200805131706.m4DH6uob045391@www.freebsd.org>
Resent-Message-ID: <200805131710.m4DHA1Yw023412@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200805131706.m4DH6uob045391>