Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #239488
| From | Greg Wooledge <greg@wooledge.org> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: How to avoid systemd/udev unpredictable NIC names |
| Date | 2021-08-31 00:10 +0200 |
| Message-ID | <CRXDA-3dF-7@gated-at.bofh.it> (permalink) |
| References | <CRWeu-1Vv-15@gated-at.bofh.it> <CRWHw-2st-15@gated-at.bofh.it> <CRX0S-2HW-15@gated-at.bofh.it> <CRXke-2Q0-17@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Aug 31, 2021 at 12:27:57AM +0300, IL Ka wrote: > > > > This gives unpredictable results if the system has more than one > > ethernet interface, or more than one wireless interface. > > > > It's fine on systems that have 0-1 ethernet and 0-1 wireless NICs. > > > > Isn't that what the topic starter asked about?:) I sincerely hope that the OP will tell us how many ethernet interfaces their "server" has, so we can stop the hypothetical tennis match. > To make names predictable one can either leave everything as-is and let > `systemd-udev` do its job, or create custom naming scheme using "link" > files: > > https://www.freedesktop.org/software/systemd/man/systemd.net-naming-scheme.html > https://systemd.io/PREDICTABLE_INTERFACE_NAMES/ > https://www.freedesktop.org/software/systemd/man/systemd.link.html I advocated creating the .link files in my original message. I even gave examples. I do *not* advocate "letting systemd-udevd do its job", because it's absolutely unqualified for duty. The names it chooses are *not* predictable. The OP knew this. I can tell by their wording. I do *not* advocate using "net.ifnames=0" *unless* the system is known to have fewer than 2 ethernet interfaces *and* fewer than 2 wireless interfaces.
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-30 22:40 +0200
Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-30 23:00 +0200
Re: How to avoid systemd/udev unpredictable NIC names Andrei POPESCU <andreimpopescu@gmail.com> - 2021-08-31 12:50 +0200
Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-31 13:40 +0200
Re: How to avoid systemd/udev unpredictable NIC names Reco <recoverym4n@enotuniq.net> - 2021-08-31 16:00 +0200
Re: How to avoid systemd/udev unpredictable NIC names Andrei POPESCU <andreimpopescu@gmail.com> - 2021-09-01 19:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names Dan Ritter <dsr@randomstring.org> - 2021-08-30 23:10 +0200
Re: How to avoid systemd/udev unpredictable NIC names Dan Ritter <dsr@randomstring.org> - 2021-08-30 23:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-30 23:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names IL Ka <kazakevichilya@gmail.com> - 2021-08-30 23:50 +0200
Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-31 00:10 +0200
Re: How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-31 02:10 +0200
Re: How to avoid systemd/udev unpredictable NIC names Greg Wooledge <greg@wooledge.org> - 2021-08-31 02:50 +0200
Re: How to avoid systemd/udev unpredictable NIC names Tixy <tixy@yxit.co.uk> - 2021-08-31 22:10 +0200
Re: How to avoid systemd/udev unpredictable NIC names Thomas Hochstein <thh@thh.name> - 2021-08-31 00:50 +0200
Re: How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-31 01:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names <tomas@tuxteam.de> - 2021-08-31 08:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names Andrei POPESCU <andreimpopescu@gmail.com> - 2021-08-31 12:50 +0200
Re: How to avoid systemd/udev unpredictable NIC names David Wright <deblis@lionunicorn.co.uk> - 2021-08-31 16:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names IL Ka <kazakevichilya@gmail.com> - 2021-08-30 23:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names Roberto C. Sánchez <roberto@debian.org> - 2021-08-31 01:30 +0200
Re: How to avoid systemd/udev unpredictable NIC names Steve Keller <keller.steve@gmx.de> - 2021-08-31 02:10 +0200
Re: How to avoid systemd/udev unpredictable NIC names George Shuklin <george.shuklin@gmail.com> - 2021-08-31 15:50 +0200
csiph-web