Novell LINUX ENTERPRISE SERVER 10 - INSTALLATION AND ADMINISTRATION 11-05-2007 Installation Manual page 599

Table of Contents

Advertisement

with which they are associated. Because the former mapping of drivers to interface
name required static interface names, this mapping can no longer take place in /etc/
modprobe.conf. In the new concept, alias entries in this file would cause undesirable
side effects.
The configuration names—everything after hwcfg- or ifcfg-—can describe the
devices by means of the slot, a device-specific ID, or the interface name. For example,
the configuration name for a PCI card could be bus-pci-0000:02:01.0 (PCI
slot) or vpid-0x8086-0x1014-0x0549 (vendor and product ID). The name of
the associated interface could be bus-pci-0000:02:01.0 or
wlan-id-00:05:4e:42:31:7a (MAC address).
To assign a certain network configuration to any card of a certain type (of which only
one is inserted at a time) instead of a certain card, select less specific configuration
names. For example, bus-pcmcia would be used for all PCMCIA cards. On the
other hand, the names can be limited by a preceding interface type. For example,
wlan-bus-usb would be assigned to WLAN cards connected to a USB port.
The system always uses the configuration that best describes an interface or the device
providing the interface. The search for the most suitable configuration is handled by
getcfg. The output of getcfg delivers all information that can be used for describing
a device. Details regarding the specification of configuration names are available in the
manual page of getcfg.
With the described method, a network interface is configured with the correct configu-
ration even if the network devices are not always initialized in the same order. However,
the name of the interface still depends on the initialization sequence. There are two
ways to ensure reliable access to the interface of a certain network card:
• getcfg-interface configuration name returns the name of the asso-
ciated network interface. Therefore, the configuration name, such as firewall, dhcpd,
routing, or various virtual network interfaces (tunnels), can be entered in some
configuration files instead of the interface name, which is not persistent.
• Persistent interface names are assigned to each interface automatically. You may
adjust them to suit your needs. When creating interface names, proceed as outlined
in /etc/udev/rules.d/30-net_persistent_names.rules. However,
the persistent name pname should not be the same as the name that would automat-
ically be assigned by the kernel. Therefore, eth*, tr*, wlan*, qeth*, iucv*,
and so on are not permitted. Instead, use net* or descriptive names like
Basic Networking
581

Advertisement

Table of Contents
loading

This manual is also suitable for:

Suse linux enterprise server 10

Table of Contents