SUSE Support

Here When You Need Us

Network Device name changes occur after Dynamic Logical Partition Operations (DLPAR)

This document (7018380) is provided subject to the disclaimer at the end of this document.

Environment

SUSE Linux Enterprise Server 11 Service Pack 4 (SLES 11 SP4)
SUSE Linux Enterprise Server 12 Service Pack 1 (SLES 12 SP1)
SUSE Linux Enterprise Server 12 Service Pack 2 (SLES 12 SP2)

Situation

PCI hotplug of the Network Interface Card (NIC) results in the interface name changing.

Resolution

To avoid NIC name changes with automatically generated network interface names, create a custom udev rule that allows setting NIC names based on generic PCI addresses with wildcard domains by editing the "/etc/udev/rules.d/70-persistent-net.rules" file.

Cause

The change to the interface name can occur due to the relation between the PCI address and the interface names.

Additional Information

The below is an example udev rule that can be used to add entries for PCI devices that should be mapped to network interfaces:

SUBSYSTEM=="net", ACTION=="add", DRIVERS=="?*", ATTR{dev_id}=="0x0",KERNELS=="*:01:00.0", ATTR{type}=="1", KERNEL=="eth*", NAME="eth1"

Observe the PCI address in the form of *:01:00.0, meaning its first component (called domain, 4-digit value) is stated as a wildcard expression.

Disclaimer

This Support Knowledgebase provides a valuable tool for SUSE customers and parties interested in our products and solutions to acquire information, ideas and learn from one another. Materials are provided for informational, personal or non-commercial use within your organization and are presented "AS IS" WITHOUT WARRANTY OF ANY KIND.

  • Document ID:7018380
  • Creation Date: 12-Dec-2016
  • Modified Date:03-Mar-2020
    • SUSE Linux Enterprise Server

< Back to Support Search

For questions or concerns with the SUSE Knowledgebase please contact: tidfeedback[at]suse.com

tick icon

SUSE Support Forums

Get your questions answered by experienced Sys Ops or interact with other SUSE community experts.

tick icon

Support Resources

Learn how to get the most from the technical support you receive with your SUSE Subscription, Premium Support, Academic Program, or Partner Program.

tick icon

Open an Incident

Open an incident with SUSE Technical Support, manage your subscriptions, download patches, or manage user access.