?
Solved

changing network interface names in Suse linux

Posted on 2009-06-26
2
Medium Priority
?
1,434 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

Get MongoDB database support online, now!

At Percona’s web store you can order your MongoDB database support needs in minutes. No hassles, no fuss, just pick and click. Pay online with a credit card. Handle your MongoDB database support now!

Question has a verified solution.

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

The purpose of this article is to demonstrate how we can upgrade Python from version 2.7.6 to Python 2.7.10 on the Linux Mint operating system. I am using an Oracle Virtual Box where I have installed Linux Mint operating system version 17.2. Once yo…
It’s 2016. Password authentication should be dead — or at least close to dying. But, unfortunately, it has not traversed Quagga stage yet. Using password authentication is like laundering hotel guest linens with a washboard — it’s Passé.
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Suggested Courses
Course of the Month13 days, 10 hours left to enroll

801 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