changing network interface names in Suse linux
Posted on 2009-06-26
I have Suse linux 9.3 installed on HP DL585 server.
There are 2 on-board NICs, and initially they are shown as eth0 and eth1.
After putting a quad-port NIC card, the on-board NIC names changed to eth4 and eth5. Add-on NICs got eth0 through eth3 names.
I want to change the NIC name from eth4 to eth0, I tried by adding PERSISTENT_NAME='eth0' to scripts in /etc/sysconfig/network/.
When I rebooted or /etc/init.d/network restart, it says
rename from eth4 to eth0 failed, file already exists. something like this.
I tried some other options but in vain.
Please let me know how can I fix this.
Thanks in advance.