Subject: local-mac-address setting
To: None <port-sparc@netbsd.org>
From: Tillman Hodgson <tillman@seekingfire.com>
List: port-sparc
Date: 04/15/2005 11:44:30
Howdy folks,

I'd like to put two interfaces on my SS10 onto the same ethernet
broadcast domain. While this is normally a bad idea for fairly obvious
reasons, I /do/ have a good reason doing this: I want to use the 100Mbit
Swift card for local NFS traffic only (via /32 subnet mask on that
interface) and the 10Mbit onboard NIC for administrative tasks. It's a
switched network and the hosts I administer/monitor/etc from are
different than the clients that want the NFS traffic, so I figured it
would be a good way to beef up the NFS service.

Naturally, I ran straight into
http://www.netbsd.org/Ports/sparc/faq.html#ether-address. Silly me, I'd
forgotten about that.

Following the hint from an email at
http://mail-index.netbsd.org/port-sparc/2002/10/11/0003.html, I ran:

 # eeprom local-mac-address?=true
 # shutdown -r now

Remotely, of course. I hadn't had my first cup of coffee for the day,
you see ;-) The machine is no longer reachable and arp requests for it
go unanswered. I suspect that there is simply /no/ mac address
configured, making it dead to the network.

I imagine that I missed something fairly obvious. Is there an eeprom
setting to manually configure the mac address of each interface that I
should have done? I noticed that ifconfig doesn't allow that (unlike,
for example, the ifconfig on FreeBSD/sparc64) so I couldn't do anything
like that from the rc scripts of the OS itself. What's the proper way to
do this?

-T


-- 
"The supreme irony of life is that hardly anyone gets out alive."
    -- Robert Heinlein