Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Nov 2003 21:07:44 +0100
From:      Stefan Farfeleder <stefan@fafoe.narf.at>
To:        Lars Eggert <larse@ISI.EDU>
Cc:        current <current@FreeBSD.ORG>
Subject:   Re: ifconfig bug
Message-ID:  <20031115200743.GD1023@wombat.fafoe.narf.at>
In-Reply-To: <3FB6846C.7000508@isi.edu>
References:  <3FB6846C.7000508@isi.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Nov 15, 2003 at 11:54:20AM -0800, Lars Eggert wrote:

> shouldn't this work?
> 
> # ifconfig em0 inet 128.9.168.58 netmask 255.255.240.0 \
> 	ether 00:07:e9:0a:26:52
> ifconfig: ether: bad value
> 
> This is with today's -current, but this may have been around longer - I 
> hadn't tried it before today. Using two commands to set MAC and IP 
> addresses works fine, but it needs to be one command for rc.conf.

ifconfig accepts only one value for the address family per invocation,
you can't mix "inet" and "ether".

Cheers,
Stefan



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