Nommage différent des interfaces réseau entre debian 9 et 10
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Question

Nommage différent des interfaces réseau entre debian 9 et 10

by
YvesH1
Created on 2019-12-13 09:19:44 (edited on 2024-09-04 14:00:35) in Public Cloud OVHcloud

Bonjour,

Actuellement la stratégie de nommage des interfaces réseau est différente entre les images Debian 9 et Debian 10. Y a t-il une raison particulière d’avoir désactivé le « consistent networking device naming » sur Debian 10 ?

# Instance Debian 9 (GRA-7)

> Instance log
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.9.0-11-amd64 root=UUID=8aee0b35-bf5c-4485-b0e6-4f3a57fe4f84 ro console=ttyS0

> ip link
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: ens3: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:4f:d7:10 brd ff:ff:ff:ff:ff:ff
3: ens6: mtu 9000 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:b2:dd:06 brd ff:ff:ff:ff:ff:ff

# Instance Debian 10 (GRA-7)

> Instance log
[ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.19.0-6-cloud-amd64 root=UUID=77e3f255-2ef2-47bc-ad89-7cdbd65f5fbc ro **biosdevname=0 net.ifnames=0** console=tty0 console=ttyS0,115200 earlyprintk=ttyS0,115200 consoleblank=0 systemd.show_status=true

> ip link
1: lo: mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: eth0: mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:c4:74:db brd ff:ff:ff:ff:ff:ff
3: eth1: mtu 9000 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
link/ether fa:16:3e:a2:1b:25 brd ff:ff:ff:ff:ff:ff