ohpc icon indicating copy to clipboard operation
ohpc copied to clipboard

Don't use biosdevname for predictable network interface names

Open jabl opened this issue 5 years ago • 3 comments

There are two ways of doing the predictable network interface names thing. The original biosdevname approach by Dell, and the newer scheme by systemd/udev, https://www.freedesktop.org/wiki/Software/systemd/PredictableNetworkInterfaceNames/ .

Most distros have dropped biosdevname (including RHEL upstream, Fedora, see https://bugzilla.redhat.com/show_bug.cgi?id=965718 for issues with biosdevname and why it was dropped), and are nowadays using the udev naming convention.

RHEL 7, however, is a bit of a weird hybrid, in that in a default installation the udev naming is used, except if it's a Dell system, in which case biosdevname is used. This default logic can be overridden with the biosdevname=0/1 kernel command line arguments. See https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/networking_guide/sec-consistent_network_device_naming_using_biosdevname

For Warewulf, lets follow upstream and thus not force the use of biosdevname, and instead use the udev scheme as specified by net.ifnames=1 without the additional biosdevname=1 argument.

jabl avatar Dec 10 '18 20:12 jabl

Ping?

jabl avatar Apr 05 '19 05:04 jabl

Ping?

jabl avatar Jun 24 '19 18:06 jabl

We were running into device name difficulties on a new Warewulf & CentOS 8 cluster while following the current docs, and removing the biosdevname=1 argument resolved the issue. Thanks @jabl for pointing this out and making this PR.

sabo avatar Jul 20 '20 15:07 sabo

Closing this as the 1.3.x branch has not seen any activity for some time.

adrianreber avatar Mar 02 '24 14:03 adrianreber