SUMMARY: local-mac-address? when set to true does not work

From: zm@deakin.edu.au
Date: Thu Mar 05 1998 - 17:42:32 CST


I would like to thank the following people:

 Frank Cusack <fcusack@voicenet.com>
 Jim Robertori <jimr@lucent.com>
 Seth Rothenberg <SROTHENB@montefiore.org>
 Harry Levinson <levinson@ll.mit.edu>
 bismark@alta.Jpl.Nasa.Gov (Bismark Espinoza)

The most helpful message came from Frank Cusack and it works. Thanks again.

The local-mac-address? parameter is "reserved" and is not supposed to
be used. In any case, it only works if the interface card supports it.
AFAIK, the only interfaces that support it are the quad hme, and the
newer FDDI (4.0+ probably). qe and le do not support it.

BTW, when I set MAC addresses I use the form "0a:00:i1:i2:i3:i4" where
i1-i4 are the IP addresses of the interface (in hex). Makes it easy
to correlate MAC addresses to IP addresses. I use 0a b/c the Sun OUI
is 08:00:20, and 0a is 08 with the U/L bit set.

On Solaris 2.5.1 I put the following entries in /etc/init.d/inetsvc file for
the permanent MAC address change:

ifconfig le0 ether 0a:00:28:84:01:04
                         ^^^^^^^^^^^
                      interface IP address

Original message follows:

> Hi all,
> I have a few SUN servers with multiple interfaces (hme, le and qe), but
> they show up as the same ethernet MAC address as my built-in interface.
> Setting NVRAM parameter local-mac-address?=true does not seem to effect the > address.
>
> I changed the addresses using ifconfig
>
> example%% ifconfig le0 ether aa:1:2:3:4:5
>
> but the change is not permanent. If I add the above line into
> /etc/init.d/inetsvc and another line for le1 then I get the following error:
>
> set_phys_addr failed: dl_errno 1 unix_errno 0
> ifconfig: failed setting mac address on le1
>
> If I have only one line for one interface then it works fine. I could not add
> another interface to see what would be an output.
>
> Could you please give me some clue about this issue. Is that possible that I
> need some patch for this feature local-mac-address.

        _/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/
       _/ _/
      _/ ZIVKO MARGETIC _/
     _/ _/
    _/ ITS Networked Services zm@deakin.edu.au _/
   _/ Deakin University (+61) 3 5227 8847 _/
  _/ Australia http://www.deakin.edu.au/~zm _/
 _/ _/
_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:12:33 CDT