LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   rhel 5.3 strange network interface story, need help! (https://www.linuxquestions.org/questions/linux-networking-3/rhel-5-3-strange-network-interface-story-need-help-748677/)

antidose 08-19-2009 06:03 AM

rhel 5.3 strange network interface story, need help!
 
Hi@all

This is the Story, im working on a Disaster and Recovery Solution for rhel 5.3 and all installd applications and configurations.

I used partimage to get a whole backup. Bevor i got the backup, i deleted all HWADDR entries in the ifcfg-files. I recovered the Backup on an other maschine with completle the same Hardware.

After booting the recovered maschine i noticed that all network interfaces now have the wrong alias.

for Example:

first maschine
eth0 192.168.100.1 255.255.255.0 MAC: 00:22:33:44:55:66 -> NIC1
eth1 10.1.85.135 255.255.255.128 MAC: 66:55:44:33:22:00 -> NIC2

second maschine
eth0 192.168.100.1 255.255.255.0 MAC: 66:55:44:33:22:00 -> NIC2
eth1 10.1.85.135 255.255.255.128 MAC: 00:22:33:44:55:66 -> NIC1

The problem is that eth0 is now on the Second NIC and eth1 on the first.

I tried to add all HWADDR entries with the right MAC in the ifcfg-files but without success. The NIC was always the same.

This is the modprobe.conf
Code:

alias eth0 bnx2
alias eth1 e1000e

what can i do to chang it back to the right order?

wolfperkins 08-19-2009 08:45 AM

Check in this file: /etc/sysconfig/hwconf


All times are GMT -5. The time now is 03:00 PM.