Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Oct 2008 22:25:09 +0200
From:      VANHULLEBUS Yvan <vanhu@FreeBSD.org>
To:        Eduardo Meyer <dudu.meyer@gmail.com>
Cc:        freebsd-net@freebsd.org, freebsd-stable@freebsd.org
Subject:   Re: ifconfig won't allow me to change ether address and inet address in the same command
Message-ID:  <20081021202509.GA2736@zeninc.net>
In-Reply-To: <d3ea75b30810211148l798ee274s77081b12962d15f4@mail.gmail.com>
References:  <d3ea75b30810211148l798ee274s77081b12962d15f4@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Oct 21, 2008 at 04:48:50PM -0200, Eduardo Meyer wrote:
> Hello :)

Hi.


> Please, follow:
> 
> # ifconfig rl0 ether 00:02:4f:0a:ce:f3 inet 192.168.2.12 netmask 255.255.255.0
> ifconfig: can't set link-level netmask or broadcast
> 
> # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3
> ifconfig: ether: bad value
> 
> # ifconfig rl0 inet 192.168.2.12 netmask 255.255.255.0
> # ifconfig rl0 ether 00:02:4f:0a:ce:f3
> 
> I ask you some help, how can I accomplish both tasks with rc_ng? In /etc/rc.conf
> 
> ifconfig_rl0="inet 192.168.2.12 netmask 255.255.255.0 ether 00:02:4f:0a:ce:f3"
> 
> Won't allow me to do what I want. Any suggestions? I would like like
> to edit /etc/rc.local and any other kind of "workaround". Can rc.conf
> issue ifconfig twice for the same nic?
> 
> Or can ifconfig accomplish this task by someway else other than
> issuing the command twice?


For your information, I already filled PR bin/124004 some moths ago
related to that issue.


Yvan.
_______________________________________________
freebsd-stable@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"



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