From owner-freebsd-questions@FreeBSD.ORG Thu May 17 17:17:43 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A715B16A401 for ; Thu, 17 May 2007 17:17:43 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from ciao.gmane.org (main.gmane.org [80.91.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id 636CF13C480 for ; Thu, 17 May 2007 17:17:43 +0000 (UTC) (envelope-from freebsd-questions@m.gmane.org) Received: from list by ciao.gmane.org with local (Exim 4.43) id 1HojbX-0007YZ-N4 for freebsd-questions@freebsd.org; Thu, 17 May 2007 19:17:31 +0200 Received: from synergetica.dn.ua ([82.207.115.117]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 May 2007 19:17:31 +0200 Received: from c.kworr by synergetica.dn.ua with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 17 May 2007 19:17:31 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-questions@freebsd.org From: Volodymyr Kostyrko Date: Thu, 17 May 2007 20:17:22 +0300 Lines: 19 Message-ID: References: <1a5ccc3f5f40e0ec06a599a6aad2675e@uni-svishtov.bg> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: synergetica.dn.ua User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; ru-RU; rv:1.8.1.2) Gecko/20070302 SeaMonkey/1.1.1 In-Reply-To: <1a5ccc3f5f40e0ec06a599a6aad2675e@uni-svishtov.bg> Sender: news Subject: Re: ifconfig seems to not accept inet and ether parameters on one line X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 17 May 2007 17:17:43 -0000 Angelin Lalev wrote: > Hi everyone, > > I'm running FreeBSD 6.2. and I'm trying in short to change the MAC address of my network interface at boot. > So I wrote something like this in my rc.conf file: > > ifconfig_xl0="inet 192.168.1.1 netmask 255.255.255.0 ether 00:00:11:11:22:22" > > at next boot the interface was not configured at all, so I tried it manually: > > ifconfig xl0 inet 192.168.1.1 netmask 255.255.255.0 ether 00:00:11:11:22:22 'ether' is rather another address family for ifconfig. Try: ifconfig_xl0="inet 192.168.1.1 netmask 0xffffff00" ifconfig_xl0_alias0="ether 00:00:11:11:22:22" -- Sphinx of black quartz judge my vow!