• [^] # Re: Le nom des interfaces a changé

    Posté par (site web personnel, Mastodon) . En réponse au journal Jouons un peu avec les adresses IPv6.... Évalué à 1.

    Et "enx" suivi de 12 caractères hexadécimaux ça pique un peu pour l'interface Ethernet du dock... :-p

    Ça m'étonne, parce que la doc dit justement que tu ne devrais pas avoir cette règle à moins de la demander explicitement :

    1. Names incorporating Firmware/BIOS provided index numbers for on-board devices (example: eno1)
    2. Names incorporating Firmware/BIOS provided PCI Express hotplug slot index numbers (example: ens1)
    3. Names incorporating physical/geographical location of the connector of the hardware (example: enp2s0)
    4. Names incorporating the interfaces's MAC address (example: enx78e7d1ea46da)
    5. Classic, unpredictable kernel-native ethX naming (example: eth0)

    By default, systemd v197 will now name interfaces following policy 1) if that information from the firmware is applicable and available, falling back to 2) if that information from the firmware is applicable and available, falling back to 3) if applicable, falling back to 5) in all other cases. Policy 4) is not used by default, but is available if the user chooses so.

    La connaissance libre : https://zestedesavoir.com