SUSE Conversations


PROBLEM: Multiple cards assigned as eth0



By: ChristoSnake

February 2, 2006 12:00 am

Reads:216

Comments:0

Rating:0

Applies to:

  • SUSE Linux 10.0
  • SUSE Linux Professional 9.2-9.3

PROBLEM: Multiple network cards will be assigned to either eth0 or eth1 during initialization, creating havoc with scripts and applications (such as VMware).

SOLUTION: The network cards are named eth0 or eth1 by the ifplugd service as they are initialized. This service will use eth0 and eth1 alternatively if the NICs both have a priority of >0, which is the default setting. This behaviour can be overridden by changing the ifplugd priority of one of the interfaces to 0.

Change to etc/sysconfig/network, and locate the interface configuration file of the the NIC that you want to always be known as eth0. The configuration files start with “ifcfg-eth-…” for a cable NIC, or “ifcfg-wlan-…” for a wireless NIC.

Now add the following line to the appropriate file:

IFPLUGD_PRIORITY='0'

This setting will force ifplugd to always name that card eth0.

VN:F [1.9.22_1171]
Rating: 0.0/5 (0 votes cast)

Categories: Uncategorized

Disclaimer: As with everything else at SUSE Conversations, this content is definitely not supported by SUSE (so don't even think of calling Support if you try something and it blows up).  It was contributed by a community member and is published "as is." It seems to have worked for at least one person, and might work for you. But please be sure to test, test, test before you do anything drastic with it.

Comment

RSS