From: Carsten Aulbert <carsten.aulbert@aei.mpg.de>
To: netdev@vger.kernel.org
Subject: Setting alternate MAC addresses on e1000
Date: Tue, 01 Apr 2008 15:15:54 +0200 [thread overview]
Message-ID: <47F2358A.8080505@aei.mpg.de> (raw)
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 :(
next reply other threads:[~2008-04-01 13:42 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-04-01 13:15 Carsten Aulbert [this message]
2008-04-01 17:17 ` Setting alternate MAC addresses on e1000 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=47F2358A.8080505@aei.mpg.de \
--to=carsten.aulbert@aei.mpg.de \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).