how to change ADDED interface names and make them persistent

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.



Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.







share|improve this question
























    up vote
    0
    down vote

    favorite












    After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.



    Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.



      Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.







      share|improve this question












      After looking around a bit on the internet I discovered that the ' Predictable ' Network Interface Names is making the network interface names 'Predictable'.



      Well you can already guess what is going on. I now have interface names that are ridiculously long but I was able to fix the builtin interfaces back to the good old eth0 and eth1, but now the new added ones get an even larger string of characters which is quite annoying, as I need to type the whole thing out. after looking around for solutions on the internet to get them to be named like the other two I only found temporarily solutions and I need a persistent solution as the server needs to be rebooted sometimes for certain upgrades/updates.









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 18 at 15:05









      delfiler

      72111




      72111




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote



          accepted










          You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html



          You should only need to match the MAC e.g



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

          [Match]
          MACAddress=00:a0:de:63:7a:e6

          [Link]
          Name=dmz0


          So you can have predictable names enabled but have it the old way to some degree.




          It'll be nice when predicatable names all TAB complete because they are a pain imo.






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "89"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            convertImagesToLinks: true,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: 10,
            bindNavPrevention: true,
            postfix: "",
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );








             

            draft saved


            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037807%2fhow-to-change-added-interface-names-and-make-them-persistent%23new-answer', 'question_page');

            );

            Post as a guest






























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            1
            down vote



            accepted










            You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html



            You should only need to match the MAC e.g



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

            [Match]
            MACAddress=00:a0:de:63:7a:e6

            [Link]
            Name=dmz0


            So you can have predictable names enabled but have it the old way to some degree.




            It'll be nice when predicatable names all TAB complete because they are a pain imo.






            share|improve this answer
























              up vote
              1
              down vote



              accepted










              You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html



              You should only need to match the MAC e.g



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

              [Match]
              MACAddress=00:a0:de:63:7a:e6

              [Link]
              Name=dmz0


              So you can have predictable names enabled but have it the old way to some degree.




              It'll be nice when predicatable names all TAB complete because they are a pain imo.






              share|improve this answer






















                up vote
                1
                down vote



                accepted







                up vote
                1
                down vote



                accepted






                You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html



                You should only need to match the MAC e.g



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

                [Match]
                MACAddress=00:a0:de:63:7a:e6

                [Link]
                Name=dmz0


                So you can have predictable names enabled but have it the old way to some degree.




                It'll be nice when predicatable names all TAB complete because they are a pain imo.






                share|improve this answer












                You can assign a persistent name to predictable interfaces as explained here: https://www.freedesktop.org/software/systemd/man/systemd.link.html



                You should only need to match the MAC e.g



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

                [Match]
                MACAddress=00:a0:de:63:7a:e6

                [Link]
                Name=dmz0


                So you can have predictable names enabled but have it the old way to some degree.




                It'll be nice when predicatable names all TAB complete because they are a pain imo.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered May 18 at 15:41









                Sir_Scofferoff

                32416




                32416






















                     

                    draft saved


                    draft discarded


























                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1037807%2fhow-to-change-added-interface-names-and-make-them-persistent%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    pylint3 and pip3 broken

                    Missing snmpget and snmpwalk

                    How to enroll fingerprints to Ubuntu 17.10 with VFS491