Re: EXTERNAL: Re: turning off udev for eth0

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



There are actually three Ethernet ports (eth0, eth1, and eth2).  We use this method to kickstart many servers with the same configuration.  The HWADDR is removed from the ifcfg-ethx files.  Udev will process the files in the rules.d directory in order. The closest link I have found is http://sicherheitsschwankung.de/post/jan/2005-10-13/renaming-network-devices-udev.  Also, I should point out we are using CentOS 5.5.

-----Original Message-----
From: centos-bounces@xxxxxxxxxx [mailto:centos-bounces@xxxxxxxxxx] On Behalf Of Les Mikesell
Sent: Thursday, January 05, 2012 12:58 PM
To: CentOS mailing list
Subject: Re:  EXTERNAL: Re: turning off udev for eth0

On Thu, Jan 5, 2012 at 7:58 AM, Massey, Ricky <ricky.massey@xxxxxxxx> wrote:
> We use the following from a kickstart script using the PCI bus location for the NICs:
>
> echo "ID==\"0000:04:04.0\", NAME=\"eth0\"" >> /etc/udev/rules.d/70-netrename.rules
> echo "ID==\"0000:05:00.0\", NAME=\"eth1\"" >> /etc/udev/rules.d/70-netrename.rules
> echo "ID==\"0000:05:01.0\", NAME=\"eth2\"" >> /etc/udev/rules.d/70-netrename.rules
>

That looks like what I need, but I don't understand it.  Is there any
documentation for how that stuff works, or can you elaborate?  And if
you do that, can you remove the HWADDR entries from the ifcfg-eth?
files and have them stick to the right devices?

-- 
  Les Mikesell
    lesmikesell@xxxxxxxxx
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux