How to properly add a new interface to bond0?

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











up vote
0
down vote

favorite
1












After adding a new "interface" to the /etc/sysconfig/ifcfg-foobar:



BOOTPROTO='static'
BROADCAST=''
ETHTOOL_OPTIONS=''
IPADDR='1.2.3.4/24'
MTU='9000'
NETWORK=''
REMOTE_IPADDR=''
STARTMODE='auto'
USERCONTROL='no'
VLAN_ID='50'
ETHERDEVICE='bond0'


What is the proper method to bring this new interface up?



/etc/init.d/networking restart


just killed my SSH session and had to reboot the server. Came in via another interface that was using bond0. Or the problem was that I wasn't running the /etc/init.d/networking restart command in a screen/tmux session on the server?



Using SLES 11.4










share|improve this question

























    up vote
    0
    down vote

    favorite
    1












    After adding a new "interface" to the /etc/sysconfig/ifcfg-foobar:



    BOOTPROTO='static'
    BROADCAST=''
    ETHTOOL_OPTIONS=''
    IPADDR='1.2.3.4/24'
    MTU='9000'
    NETWORK=''
    REMOTE_IPADDR=''
    STARTMODE='auto'
    USERCONTROL='no'
    VLAN_ID='50'
    ETHERDEVICE='bond0'


    What is the proper method to bring this new interface up?



    /etc/init.d/networking restart


    just killed my SSH session and had to reboot the server. Came in via another interface that was using bond0. Or the problem was that I wasn't running the /etc/init.d/networking restart command in a screen/tmux session on the server?



    Using SLES 11.4










    share|improve this question























      up vote
      0
      down vote

      favorite
      1









      up vote
      0
      down vote

      favorite
      1






      1





      After adding a new "interface" to the /etc/sysconfig/ifcfg-foobar:



      BOOTPROTO='static'
      BROADCAST=''
      ETHTOOL_OPTIONS=''
      IPADDR='1.2.3.4/24'
      MTU='9000'
      NETWORK=''
      REMOTE_IPADDR=''
      STARTMODE='auto'
      USERCONTROL='no'
      VLAN_ID='50'
      ETHERDEVICE='bond0'


      What is the proper method to bring this new interface up?



      /etc/init.d/networking restart


      just killed my SSH session and had to reboot the server. Came in via another interface that was using bond0. Or the problem was that I wasn't running the /etc/init.d/networking restart command in a screen/tmux session on the server?



      Using SLES 11.4










      share|improve this question













      After adding a new "interface" to the /etc/sysconfig/ifcfg-foobar:



      BOOTPROTO='static'
      BROADCAST=''
      ETHTOOL_OPTIONS=''
      IPADDR='1.2.3.4/24'
      MTU='9000'
      NETWORK=''
      REMOTE_IPADDR=''
      STARTMODE='auto'
      USERCONTROL='no'
      VLAN_ID='50'
      ETHERDEVICE='bond0'


      What is the proper method to bring this new interface up?



      /etc/init.d/networking restart


      just killed my SSH session and had to reboot the server. Came in via another interface that was using bond0. Or the problem was that I wasn't running the /etc/init.d/networking restart command in a screen/tmux session on the server?



      Using SLES 11.4







      networking sles






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Oct 9 '17 at 15:46









      Peter

      6613




      6613




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          1
          down vote













          Restart networking is not good idea.
          You can lose your remote control.



          Use ifenslave tool to add slaves to master bond0.
          Don't forget to load bonding module.
          modprobe bonding






          share|improve this answer




















            Your Answer







            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "106"
            ;
            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: false,
            noModals: false,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            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%2funix.stackexchange.com%2fquestions%2f397053%2fhow-to-properly-add-a-new-interface-to-bond0%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













            Restart networking is not good idea.
            You can lose your remote control.



            Use ifenslave tool to add slaves to master bond0.
            Don't forget to load bonding module.
            modprobe bonding






            share|improve this answer
























              up vote
              1
              down vote













              Restart networking is not good idea.
              You can lose your remote control.



              Use ifenslave tool to add slaves to master bond0.
              Don't forget to load bonding module.
              modprobe bonding






              share|improve this answer






















                up vote
                1
                down vote










                up vote
                1
                down vote









                Restart networking is not good idea.
                You can lose your remote control.



                Use ifenslave tool to add slaves to master bond0.
                Don't forget to load bonding module.
                modprobe bonding






                share|improve this answer












                Restart networking is not good idea.
                You can lose your remote control.



                Use ifenslave tool to add slaves to master bond0.
                Don't forget to load bonding module.
                modprobe bonding







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Oct 9 '17 at 15:52









                Sergey K.

                212




                212



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f397053%2fhow-to-properly-add-a-new-interface-to-bond0%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    Popular posts from this blog

                    How to check contact read email or not when send email to Individual?

                    Bahrain

                    Postfix configuration issue with fips on centos 7; mailgun relay