Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Mar 2004 17:06:09 -0500
From:      Ken Smith <kensmith@cse.Buffalo.EDU>
To:        James.Gill@mci.com
Cc:        freebsd-sparc64@freebsd.org
Subject:   Re: local-mac-address
Message-ID:  <20040330220609.GB22027@electra.cse.Buffalo.EDU>
In-Reply-To: <Pine.SOL.4.51.0403301609030.4976@haiti.corp.us.uu.net>
References:  <Pine.SOL.4.51.0403301609030.4976@haiti.corp.us.uu.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, Mar 30, 2004 at 04:36:43PM -0500, Gill, James wrote:
> 
> >From the archive (and my experience yesterday) it seems that setting
> local-mac-address? to true in the OpenBoot does not get seen by the OS yet
> (5.2.1-p3).  I have a need to configure different MAC addresses for each
> interface on the system therefore, I need to manually set 'ifconfig
> hmeN ether 0a:0:20:00:00:N' for each of my interfaces at each boot.
> 
> Now my question:  where is the best place to do this?  I've poked through
> the stuff in /etc/rc.d/ and /etc/defaults/rc.conf and don't see the
> obvious place for this.  perhaps /usr/local/etc/rc.d/?

I would try to do it in /etc/rc.conf first.  You will see lines there
already that set up the network interfaces.  Adding the "ether" command
line arguments there should work.

-- 
						Ken Smith
- From there to here, from here to      |       kensmith@cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |



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