netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Setting alternate MAC addresses on e1000
@ 2008-04-01 13:15 Carsten Aulbert
  2008-04-01 17:17 ` Brandeburg, Jesse
  2008-04-08 17:02 ` Andy Gospodarek
  0 siblings, 2 replies; 7+ messages in thread
From: Carsten Aulbert @ 2008-04-01 13:15 UTC (permalink / raw)
  To: netdev

Hi,

I know that quite a few e1000 experts are reading here, so I hope to 
have some luck here:

I need to reprogram the MAC addresses of several 82573E/L NICs. I tried 
the obvious approach first using ethtool -E to write the numbers into 
the first six bytes and this works quite ok [1], except that I need to 
specifically change the second MAC not necessarily the first one. This 
approach only changed the first NIC and left the second unchanged.

I've browsed http://download.intel.com/design/network/manuals/31608004.pdf
quite a bit, but except finding that I seem to need to set word 0x37 to 
point to 12 free bytes I have not come up with much. For example, I 
don't know where I would find those 12 free bytes.

Anyone with a different approach or a hint how to succeed?

TIA

Carsten

[1] Along the lines of
ethtool -E eth0 magic $MAGIC offset 0x0 value 0x${numbers[0]}
[...]
where magic is MAGIC=0x108c8086

However this does not work on eth1 :(

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2008-04-08 17:45 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-04-01 13:15 Setting alternate MAC addresses on e1000 Carsten Aulbert
2008-04-01 17:17 ` Brandeburg, Jesse
2008-04-02  8:07   ` Carsten Aulbert
2008-04-02 17:41     ` Brandeburg, Jesse
2008-04-08 17:02 ` Andy Gospodarek
2008-04-08 17:26   ` Kok, Auke
2008-04-08 17:45     ` Carsten Aulbert

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).