Page MenuHomeFreeBSD

linux: switch off interface name translation and schedule its removal
ClosedPublic

Authored by glebius on Jun 25 2026, 9:32 PM.
Tags
None
Referenced Files
Unknown Object (File)
Sat, Aug 1, 9:51 PM
Unknown Object (File)
Sat, Aug 1, 8:39 AM
Unknown Object (File)
Sat, Aug 1, 5:53 AM
Unknown Object (File)
Fri, Jul 31, 8:37 AM
Unknown Object (File)
Fri, Jul 31, 6:04 AM
Unknown Object (File)
Fri, Jul 31, 5:55 AM
Unknown Object (File)
Mon, Jul 27, 4:52 PM
Unknown Object (File)
Wed, Jul 22, 4:26 AM
Subscribers

Details

Summary

Modern Linuxes don't use ethX for almost 15 years already, see [1] and
[2]. The translation logic has always been a source of bugs and PITA.
Switch default to not translate (long due!) and schedule removal of the
code for FreeBSD 17.

[1] https://systemd.io/PREDICTABLE_INTERFACE_NAMES/
[2] https://www.freedesktop.org/software/systemd/man/latest/systemd.net-naming-scheme.html

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

The actual print looks like:

linux(4): use_real_ifnames: conversion of native interface names to ethN is not needed to emulate modern Linux. See https://systemd.io/PREDICTABLE_INTERFACE_NAMES. To be removed in FreeBSD 17
This revision is now accepted and ready to land.Tue, Jul 7, 4:49 PM