On Sat, Mar 4, 2023 at 12:12 PM David Wright <deb...@lionunicorn.co.uk> wrote: > > On Sat 04 Mar 2023 at 01:02:54 (-0500), Jeffrey Walton wrote: > > On Fri, Mar 3, 2023 at 6:10 PM Greg Wooledge <g...@wooledge.org> wrote: > > > On Fri, Mar 03, 2023 at 05:45:54PM -0500, Jeffrey Walton wrote: > > > > The 'p' is a pci bus, the 's' is a slot number. Since the interface > > > > does not move around once installed, the interface will always have > > > > the same name like 'enp4s0'. > > > > > > That's a wonderful idea, but it doesn't quite work in practice. There are > > > ways that a "predictable" interface name may change. A BIOS/firmware > > > upgrade can do it. Adding or removing devices can also do it, in > > > some cases. They don't even have to be network interfaces. > > > > Yeah, that's udev and systemd screwing things up. > > Not really. You've got plenty of choice: > > net.ifnames=0, biosdevname=0 (on Dell), and > NamePolicy={kernel,database,onboard,slot,path,mac,keep}
If you are creating the problem you should not be surprised there is a problem. Jeff