X
77 Rate this article:
No rating

INTERNAL: SuSE Linux: remapping NIC device name from eth1 to eth0 to use with FLEXnet

Anonym
Topic:
Until I have time to rewrite this properly, this is just a cut and paste of a relevant email for this topic...Discussion:

-----Original Message-----
To: ITT Technical Support
Subject: Re: IDL license manager / network card configurationon SuSE

Hi Jim,

This was a great help! The first link below provided the answer I
needed. When I installed Linux SuSE 10.0 on this machine I did have buy
a new NIC b/c the existing one was incompatible. After removing the old
NIC and installing the new one it assigned it to eth1. All I had to do
was edit a file in /etc/udev to map the new MAC address to eth0.

I'll be licensing a few more machines over the next couple weeks as I
get my lab set up, so I'll let you know if I run into any more problems.

Thanks again for your help!
Best,
-Tim

> Hi Tim,
>
> Here is a suggestion from our UNIX system administrator. He's not worked specifically with SuSE, but maybe this might help:
>
> "It looks like you can use 'yast' or 'yast2' to make configuration changes. If it doesn't work, then maybe manually changing /etc/sysconfig/network/ifcft-eth1 to *-eth0 may work. May have to do a 'ifup eth0' afterwards."
>
> I also found a number of knowledge base articles on the Novell web site that may be helpful on the subject of configuring the network card and associating it to device name eth0:
>
> "Old ethX numbering not used when swapping network cards"
> http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=3687342&sliceId=SAL_Public&dialogID=48146096&stateId=0%200%2048144740
>
> "Using persistent name on heartbeat"
> http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=3692218&sliceId=SAL_Public&dialogID=48146096&stateId=0%200%2048144740
>
> "SLED10 : Networking Changes"
> http://www.novell.com/support/search.do?cmd=displayKC&docType=kc&externalId=3903428&sliceId=SAL_Public&dialogID=48146129&stateId=0%200%2048144859
>
> Let me know how it goes. I'll let you know if I can find out anything else.
>
> Best regards,
> Jim
>
> Technical Support Engineer
> ITT Visual Information Solutions
> ----------------------------------------------------
> * ITT Visual Information Solutions Technical Support * techsupport@ittvis.com * ph: 303-413-3920 * fax: 303-786-9909
> * Technical Support "Tech Tips" knowledge-base article search -> http://www.ittvis.com/services/search.asp
> ----------------------------------------------------
> (To expedite handling of correspondence regarding this technical support case, please do not alter the subject line. Thank you.)
>
>

===========================================
Contents of first article:

Old ethX numbering not used when swapping network cardsThis document (3687342) is provided subject to the disclaimer at the end of this document.

environment
Novell Linux Desktop 9
Novell Open Enterprise Server (Linux based)
Novell SUSE Linux
situation
When swapping network cards in SUSE Linux, old ethX identifiers will not be used for the new card. For example, if a machine has a single NIC identified as eth0 and that NIC is swapped out the new NIC will use eth1, not eth0.
resolution
This behavior is governed by the persistent device identifier set in /etc/udev/rules.d/30-net_persistent_names.rules. Contained in this file is a line for each NIC, such as:

SUBSYSTEM=="net", ACTION=="add", SYSFS{address}=="00:15:60:ed:b7:5b", IMPORT="/lib/udev/rename_netiface %k eth0"

This line maps a MAC address to an identifier. To cause a new NIC to use an old identifier, remove the old line and restart the server. After configuring the new NIC, it will use the old identifier.
additional notes


document
Document ID: 3687342
Creation Date: 2006-11-20 13:08:56.0
Modified Date: 2006-11-20 13:07:56.0
Novell Product: Novell Linux Desktop
Novell Product: Open Enterprise Server
Novell Product: SUSE Linux Enterprise Desktop
Novell Product: SUSE Linux Enterprise Server
Novell Product: SUSE Linux Openexchange Server
Novell Product: SUSE Linux Retail Solution
Novell Product: SUSE Linux

disclaimer
The Origin of this information may be internal or external to Novell. Novell makes all reasonable efforts to verify this information. However, the information provided in this document is for your information only. Novell makes no explicit or implied claims to the validity of this information.
Any trademarks referenced in this document are the property of their respective owners. Consult your product manuals for complete trademark information.Solution:
[Edit this field in the IDL-based Tech Tip Editor, v62]