Navigation

    Logo
    • Register
    • Login
    • Search
    • Recent
    • Tags
    • Unread
    • Categories
    • Unreplied
    • Popular
    • GitHub
    • Docu
    • Hilfe
    1. Home
    2. Deutsch
    3. Off Topic
    4. Proxmox
    5. Kernel Update - Pin/override network interface name

    NEWS

    • Monatsrückblick - April 2025

    • Minor js-controller 7.0.7 Update in latest repo

    • Save The Date: ioBroker@Smart Living Forum Solingen, 14.06.

    Kernel Update - Pin/override network interface name

    This topic has been deleted. Only users with topic management privileges can see it.
    • David G.
      David G. last edited by David G.

      Hallo,

      ich habe jetzt schon ein paar mal in den Changelogs von Proxmox folgenden gelesen:

      Upgrading kernels always carries the risk of network interface names changing, which can lead to invalid network configurations after a reboot. In this case, you must either update the network configuration to reflect the name changes, or pin the network interface to its name beforehand.
      
      See the reference documentation on how to pin the interface names based on MAC Addresses.
      

      Bisher ist immer alles gut gegangen, jedoch wollte ich Thema mal angehen.
      Ist es wirklich so leicht wie ich denke?

      Möchte mir nichts zerschißen...

      So sehen meine Interfaces aus:

      ip a
      1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
          link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
          inet 127.0.0.1/8 scope host lo
             valid_lft forever preferred_lft forever
          inet6 ::1/128 scope host noprefixroute
             valid_lft forever preferred_lft forever
      2: enp0s31f6: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master vmbr0 state UP group default qlen 1000
          link/ether a8:a1:59:ed:29:9e brd ff:ff:ff:ff:ff:ff
      3: vmbr0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
          link/ether a8:a1:59:ed:29:9e brd ff:ff:ff:ff:ff:ff
          inet 192.168.99.58/24 scope global vmbr0
             valid_lft forever preferred_lft forever
          inet6 fe80::aaa1:59ff:feed:299e/64 scope link
             valid_lft forever preferred_lft forever
      4: tap103i0: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master fwbr103i0 state UNKNOWN group default qlen 1000
          link/ether b2:72:3c:d9:d8:32 brd ff:ff:ff:ff:ff:ff
      ...........
      

      Muss ich jetzt wirklich nur folgende Datei

      /etc/systemd/network/10-vmbr0.link
      

      mit folgendem Inhalt anlegen:

      [Match]
      MACAddress=a8:a1:59:ed:29:9e
      
      [Link]
      Name=vmbr0
      

      ?

      Habe mich nach der Anleitung von Proxmox gerichtet.
      https://pve.proxmox.com/pve-docs/pve-admin-guide.html#network_override_device_names

      crunchip 1 Reply Last reply Reply Quote 0
      • crunchip
        crunchip Forum Testing Most Active @David G. last edited by

        @david-g sagte in Kernel Update - Pin/override network interface name:

        Muss ich jetzt wirklich nur folgende Datei

        ne, so wie ich es verstehe, bezieht sich die Bindung auf enp0s31f6

        daher auch der Hinweis

        It is recommended to assign a name starting with en or eth so that Proxmox VE recognizes the interface as a physical network device which can then be configured via the GUI. Also, you should ensure that the name will not clash with other interface names in the future
        
        David G. 1 Reply Last reply Reply Quote 0
        • David G.
          David G. @crunchip last edited by

          @crunchip

          Dann also wie oben geschrieben und vmbr0 im Dateinamen und deren Inhalt gegen enp0s31f6 austauschen?
          Die MAC scheint ja gleich.

          (Sowas ist ja wirklich doof, dass nach einem Update sowas geändert werden kann.)

          crunchip 1 Reply Last reply Reply Quote 0
          • crunchip
            crunchip Forum Testing Most Active @David G. last edited by

            @david-g sagte in Kernel Update - Pin/override network interface name:

            Dann also wie oben geschrieben und vmbr0 im Dateinamen und deren Inhalt gegen enp0s31f6 austauschen?

            Ja und ggf, falls man den Namen ändert

            Do not forget to adjust /etc/network/interfaces to use the new name. You need to reboot the node for the change to take effect
            
            1 Reply Last reply Reply Quote 0
            • First post
              Last post

            Support us

            ioBroker
            Community Adapters
            Donate

            879
            Online

            31.6k
            Users

            79.4k
            Topics

            1.3m
            Posts

            2
            4
            344
            Loading More Posts
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes
            Reply
            • Reply as topic
            Log in to reply
            Community
            Impressum | Datenschutz-Bestimmungen | Nutzungsbedingungen
            The ioBroker Community 2014-2023
            logo