> Even if it is Rhel 6.x creating this weird interface name
(eth0-eth2) and
It's udev. Although we never had this problem before we upgraded from
rocks 5.4 to rhel 6.1
Are you setting the MAC addresses for all interfaces in cobbler? In
my
experience, RHEL6 respects the ifcfg files but you need to enter all
of the info in cobbler for them to be created correctly.
We had the same problem with machines with 2 network cards, e.g. two
onboard NICs and a separate pci-express Intel NIC. In cobbler we had the
onboard NICs configured as eth0 and eth1 and the Intel card as eth2.
However, at boot, the kernel first configured the Intel NIC and udev
made the mess with the eth0-eth2 name. Because of that, the ifcfg-eth*
scripts did not work correctly.
We solved it by forcing udev to use the right names. In a kickstart
snippet (we use Satellite) we remove
/etc/udev/rules.d/70-persistent-net.rules and created a custom
/etc/udev/rules.d/80-satellite-net.rules with the right information.
After the first boot, udev created a new 70- file with the correct
information. This might be a bit clumsy, but it worked for us.
Best,
Paul