Re: nic issue on Debian Lenny
On Fri, 26 Mar 2010 10:55:17 -0400 (EDT), Stephen Powell wrote:
> It's quite common to see a motherboard with a built-in ethernet
> adapter, but I haven't seen any motherboards with *two* built-in
> ethernet adapters.
I have been informed in a private e-mail that two built-in nics
is not uncommon in motherboards designed for server use. I guess
I'm more familiar with motherboards designed for desktop machines. This
update is hereby noted. Nevertheless, the procedure outlined in my original
post to this thread remains valid, except that it would obviously be
impossible in such a case for only one of the two MAC addresses to
change. If you replace the motherboard, or if you install the hard
drive in another machine, *both* MAC addresses will change
in this case.
The point is that editing /etc/udev/rules.d/70-persistent-net.rules
(or whatever the equivalent file is depending on your machine architecture
and udev release) is how you solve this problem.
You want to delete entries for MAC
addresses that *don't* exist in the machine, you want
an entry there for all MAC addresses that *do* exist in the machine,
and the correspondence between MAC addresses and Linux device names
is determined by the contents of this file.
.''`. Stephen Powell <firstname.lastname@example.org>
: :' :