How can config bond interface down after slave interfaces has been down

Multi tool use
Multi tool use

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











up vote
2
down vote

favorite












I'm using Redhat 7. I tried to use bond interface but I've run into a problem. After all slave interfaces are down, bond interface is still up.



Example:



I have bond0 and 2 slaves for bond0: eth0, eth1. I run ifdown eth0, ifdown eth1, I want bond0 to be down after these slave interfaces are down.



Can anyone help me?










share|improve this question



























    up vote
    2
    down vote

    favorite












    I'm using Redhat 7. I tried to use bond interface but I've run into a problem. After all slave interfaces are down, bond interface is still up.



    Example:



    I have bond0 and 2 slaves for bond0: eth0, eth1. I run ifdown eth0, ifdown eth1, I want bond0 to be down after these slave interfaces are down.



    Can anyone help me?










    share|improve this question

























      up vote
      2
      down vote

      favorite









      up vote
      2
      down vote

      favorite











      I'm using Redhat 7. I tried to use bond interface but I've run into a problem. After all slave interfaces are down, bond interface is still up.



      Example:



      I have bond0 and 2 slaves for bond0: eth0, eth1. I run ifdown eth0, ifdown eth1, I want bond0 to be down after these slave interfaces are down.



      Can anyone help me?










      share|improve this question















      I'm using Redhat 7. I tried to use bond interface but I've run into a problem. After all slave interfaces are down, bond interface is still up.



      Example:



      I have bond0 and 2 slaves for bond0: eth0, eth1. I run ifdown eth0, ifdown eth1, I want bond0 to be down after these slave interfaces are down.



      Can anyone help me?







      networking rhel network-interface bonding






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 1 min ago









      slm♦

      240k66499668




      240k66499668










      asked May 26 '17 at 8:31









      Thao Nguyen

      1266




      1266




















          1 Answer
          1






          active

          oldest

          votes

















          up vote
          0
          down vote













          You should be able to use either of the following:



          $ ifconfig down bond0


          -or-



          $ ip link set bond0 down




          share




















            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%2f367383%2fhow-can-config-bond-interface-down-after-slave-interfaces-has-been-down%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
            0
            down vote













            You should be able to use either of the following:



            $ ifconfig down bond0


            -or-



            $ ip link set bond0 down




            share
























              up vote
              0
              down vote













              You should be able to use either of the following:



              $ ifconfig down bond0


              -or-



              $ ip link set bond0 down




              share






















                up vote
                0
                down vote










                up vote
                0
                down vote









                You should be able to use either of the following:



                $ ifconfig down bond0


                -or-



                $ ip link set bond0 down




                share












                You should be able to use either of the following:



                $ ifconfig down bond0


                -or-



                $ ip link set bond0 down





                share











                share


                share










                answered 2 mins ago









                slm♦

                240k66499668




                240k66499668



























                     

                    draft saved


                    draft discarded















































                     


                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f367383%2fhow-can-config-bond-interface-down-after-slave-interfaces-has-been-down%23new-answer', 'question_page');

                    );

                    Post as a guest













































































                    hfl0iN3Vl v
                    S60WzypENomKlTS,nviX8aSKoY7GnCT1SrGaNf3ZVp

                    Popular posts from this blog

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

                    How many registers does an x86_64 CPU actually have?

                    Displaying single band from multi-band raster using QGIS