Re: ifconfig bug

From: Stefan Farfeleder <stefan_at_fafoe.narf.at>
Date: Sat, 15 Nov 2003 21:07:44 +0100
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
Received on Sat Nov 15 2003 - 11:07:48 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:29 UTC