Udev Question
David A. Bandel
david.bandel at gmail.com
Sat Jun 19 15:01:54 PDT 2010
On Sat, Jun 19, 2010 at 14:53, C M Reinehr <cmr at amsent.com> wrote:
[snip]
> [ 40.677470] eth1: dma_rwctrl[769f4000] dma_mask[64-bit]
> [ 40.680862] udev: renamed network interface eth0 to eth4
> [ 40.708863] udev: renamed network interface eth1 to eth5
>
> If I'm reading this correctly, each port was initially assigned the usual
> eth0, 1 or 2, but then almost immediately renamed eth3, 4 or 5.
>
[snip]
>
> I almost left out, that since the MAC addresses were different I had to edit
> the interfaces file to correct for that, but that didn't cause or correct the
> udev renaming.
>
> If you've read this far, then very sincerely, thanks for your patience and any
> insights you may have. I'm up and running, but I really would like to
> understand what is happening here.
>
Take a look down in /etc/udev/rules.d/ for a file probably named
70-persistent-net.rules. This file is where udev reorders your
interfaces. Just change what you want in here. You only have to
change the eth#, but make sure you don't have two lines with the same
eth# (not sure what might happen, but the results could get
interesting if both MACs are in the same machine).
Ciao,
David A. Bandel
--
Focus on the dream, not the competition.
- Nemesis Air Racing Team motto
Visit my blog at: http://www.pananix.com/cgi-bin/blosxom
More information about the Linux-users
mailing list