Solved

changing network interface names in Suse linux

Posted on 2009-06-26
2
1,431 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
python - find anything after $ question. 9 84
http response code 3 36
leap year shell script 10 50
Linux 6 32
You ever wonder how to backup Linux system files just like Windows System Restore?  Well you can use Timeshift in Linux to perform those similar action.  This tutorial will show you how to backup your system files and keep regular intervals. Note…
Google Drive is extremely cheap offsite storage, and it's even possible to get extra storage for free for two years.  You can use the free account 15GB, and if you have an Android device..when you install Google Drive for the first time it will give…
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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

739 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