Predictable network interface names

Red Hat Enterprise Linux 9.2 LPAR mode z/VM guest KVM guest

Red Hat® Enterprise Linux® uses predictable network interface names. These names are stable across reboots and network adapter replacements.

On Red Hat Enterprise Linux 9.2, RoCE devices follow the naming scheme described in Network interface names.

Predictable naming is enabled by default. In this naming scheme, a mainframe network interface name has the following form:

<pf><type><bus_id>

For example:

encf5f0

Where:

<pf>
A two-character prefix for the network type. The type can be one of the following:
  • en - Ethernet
  • ww - WAN
  • sl - serial line, such as CTC
<type>
The device type. The device type of channel command word (CCW) devices is c. For PCIe devices, the type is s or o, see Network interface names. For an introduction to mainframe devices in Linux, see Device categories.
<bus_id>
For predictable network names, Red Hat Enterprise Linux 9.2 shortens the device bus-ID by omitting all dots and leading zeroes.
Examples:
  • 0.0.0b01 becomes encb01
  • 0.1.00cd becomes enc100cd

You can use lszdev -a or lscss -a to obtain a list of the devices in your system.

For more information about the predictable naming scheme, see the Configuring and managing networking in Red Hat Enterprise Linux 9.2 (https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9/html/configuring_and_managing_networking/index) available at
https://docs.redhat.com/en/documentation/red_hat_enterprise_linux/9