Default gateway in a VLAN does not come back up when physical interface is ifdown/ifup

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








up vote
0
down vote

favorite












I have a default gateway set under eth2.111.



If I do ifdown eth2; ifup eth2 eth2.111 comes back up, but my default gateway doesn't come back up! netstat -rn shows the interface up but the gateway is 0.0.0.0.



If I then do ifdown eth2.111; ifup eth2.111 then the default gateway is restored and shows correctly in netstat -rn.



What gives? This seems like broken behavior, and that I shouldn't need to touch the VLAN111 interface in order to get the default gateway back up (it should come back up when eth2 comes back up).



This is running Ubuntu 14.04.



Thank you for your help!







share|improve this question
























    up vote
    0
    down vote

    favorite












    I have a default gateway set under eth2.111.



    If I do ifdown eth2; ifup eth2 eth2.111 comes back up, but my default gateway doesn't come back up! netstat -rn shows the interface up but the gateway is 0.0.0.0.



    If I then do ifdown eth2.111; ifup eth2.111 then the default gateway is restored and shows correctly in netstat -rn.



    What gives? This seems like broken behavior, and that I shouldn't need to touch the VLAN111 interface in order to get the default gateway back up (it should come back up when eth2 comes back up).



    This is running Ubuntu 14.04.



    Thank you for your help!







    share|improve this question






















      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I have a default gateway set under eth2.111.



      If I do ifdown eth2; ifup eth2 eth2.111 comes back up, but my default gateway doesn't come back up! netstat -rn shows the interface up but the gateway is 0.0.0.0.



      If I then do ifdown eth2.111; ifup eth2.111 then the default gateway is restored and shows correctly in netstat -rn.



      What gives? This seems like broken behavior, and that I shouldn't need to touch the VLAN111 interface in order to get the default gateway back up (it should come back up when eth2 comes back up).



      This is running Ubuntu 14.04.



      Thank you for your help!







      share|improve this question












      I have a default gateway set under eth2.111.



      If I do ifdown eth2; ifup eth2 eth2.111 comes back up, but my default gateway doesn't come back up! netstat -rn shows the interface up but the gateway is 0.0.0.0.



      If I then do ifdown eth2.111; ifup eth2.111 then the default gateway is restored and shows correctly in netstat -rn.



      What gives? This seems like broken behavior, and that I shouldn't need to touch the VLAN111 interface in order to get the default gateway back up (it should come back up when eth2 comes back up).



      This is running Ubuntu 14.04.



      Thank you for your help!









      share|improve this question











      share|improve this question




      share|improve this question










      asked May 3 at 19:20









      ZaPaDoS

      12




      12

























          active

          oldest

          votes











          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%2f1031695%2fdefault-gateway-in-a-vlan-does-not-come-back-up-when-physical-interface-is-ifdow%23new-answer', 'question_page');

          );

          Post as a guest



































          active

          oldest

          votes













          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes










           

          draft saved


          draft discarded


























           


          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1031695%2fdefault-gateway-in-a-vlan-does-not-come-back-up-when-physical-interface-is-ifdow%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