Solved

changing network interface names in Suse linux

Posted on 2009-06-26
2
1,430 Views
Last Modified: 2013-12-15
Hi All,

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.
0
Comment
Question by:vmwarecv1
2 Comments
 
LVL 3

Expert Comment

by:qualipsoft
ID: 24726564
1. check the udev rules under /etc/udev/rules.d/70-persistent-net.rules (file name may differ in your distribution). These rules are used to automatically rename interfaces too.

2. It is a known issue with the current Linux kernels that interface name collisions occur, for the persistent names, use either higher numbers (e.g.: eth10, eth11, ...) or even a different prefix (e.g.: peth1, peth2, ... for "persistent"-eth) although this *may* cause issues with programs that rely on this prefix, but these are few.

There has been various discussions over a new set of kernel-supported naming rules in the linux net mailing list... change is coming.

In the mean time, good luck!
0
 

Accepted Solution

by:
vmwarecv1 earned 0 total points
ID: 25387526
Change the scripts under /etc/sysconfig/network-scripts and comment out hardware info.
0

Featured Post

NFR key for Veeam Backup for Microsoft Office 365

Veeam is happy to provide a free NFR license (for 1 year, up to 10 users). This license allows for the non‑production use of Veeam Backup for Microsoft Office 365 in your home lab without any feature limitations.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

In my business, I use the LTS (Long Term Support) versions of Linux. My workstations do real work, and so I rarely have the patience to deal with silly problems caused by an upgraded kernel that had experimental software on it to begin with from a r…
The purpose of this article is to fix the unknown display problem in Linux Mint operating system. After installing the OS if you see Display monitor is not recognized then we can install "MESA" utilities to fix this problem or we can install additio…
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
How to Install VMware Tools in Red Hat Enterprise Linux 6.4 (RHEL 6.4) Step-by-Step Tutorial

713 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question