local-mac-address

Ken Smith kensmith at cse.Buffalo.EDU
Tue Mar 30 14:06:10 PST 2004


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 at cse.buffalo.edu
  there, funny things are everywhere.   |
                      - Theodore Geisel |


More information about the freebsd-sparc64 mailing list