KVM bridged network with static IPs works great for guests, but is flaky for host












0















After a seemingly random amount of time I cannot access (ping/ssh/http) a KVM host but can access its guests from anywhere. Restarting the network doesn't fix it. Restarting the machine does. All machines & VMs have static IPs. The network is configured with systemd.network, not netplan, because thats how the hosting provider set it up.



On ubuntu 64 bit 18.04.2 I can set up a bridge with these files in /etc/systemd/network



br0.netdev



[NetDev]
Name=br0
Kind=bridge


br0.network



[Match]
Name=br0

[Network]
Description=network interface on public network, with default route
DHCP=no
Address=x.x.x.x/24
Gateway=x.x.x.x
IPv6AcceptRA=no
NTP=ntp.ovh.net
DNS=127.0.0.1
DNS=x.x.x.x
DNS=x.x.x.x
Gateway=x:x:x:ff:ff:ff:ff:ff

[Address]
Address=x:x:x::/64

[Route]
Destination=x:x:x:ff:ff:ff:ff:ff
Scope=link


uplink.network



[Match]
Name=eno1

[Network]
Bridge=br0


From the host I can ping out to its gateway and www.google.com but not 8.8.8.8. I can download files using apt or curl. So it has connectivity.



What should I do or check to reliably have access on the host ?










share|improve this question









New contributor




pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

























    0















    After a seemingly random amount of time I cannot access (ping/ssh/http) a KVM host but can access its guests from anywhere. Restarting the network doesn't fix it. Restarting the machine does. All machines & VMs have static IPs. The network is configured with systemd.network, not netplan, because thats how the hosting provider set it up.



    On ubuntu 64 bit 18.04.2 I can set up a bridge with these files in /etc/systemd/network



    br0.netdev



    [NetDev]
    Name=br0
    Kind=bridge


    br0.network



    [Match]
    Name=br0

    [Network]
    Description=network interface on public network, with default route
    DHCP=no
    Address=x.x.x.x/24
    Gateway=x.x.x.x
    IPv6AcceptRA=no
    NTP=ntp.ovh.net
    DNS=127.0.0.1
    DNS=x.x.x.x
    DNS=x.x.x.x
    Gateway=x:x:x:ff:ff:ff:ff:ff

    [Address]
    Address=x:x:x::/64

    [Route]
    Destination=x:x:x:ff:ff:ff:ff:ff
    Scope=link


    uplink.network



    [Match]
    Name=eno1

    [Network]
    Bridge=br0


    From the host I can ping out to its gateway and www.google.com but not 8.8.8.8. I can download files using apt or curl. So it has connectivity.



    What should I do or check to reliably have access on the host ?










    share|improve this question









    New contributor




    pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
    Check out our Code of Conduct.























      0












      0








      0








      After a seemingly random amount of time I cannot access (ping/ssh/http) a KVM host but can access its guests from anywhere. Restarting the network doesn't fix it. Restarting the machine does. All machines & VMs have static IPs. The network is configured with systemd.network, not netplan, because thats how the hosting provider set it up.



      On ubuntu 64 bit 18.04.2 I can set up a bridge with these files in /etc/systemd/network



      br0.netdev



      [NetDev]
      Name=br0
      Kind=bridge


      br0.network



      [Match]
      Name=br0

      [Network]
      Description=network interface on public network, with default route
      DHCP=no
      Address=x.x.x.x/24
      Gateway=x.x.x.x
      IPv6AcceptRA=no
      NTP=ntp.ovh.net
      DNS=127.0.0.1
      DNS=x.x.x.x
      DNS=x.x.x.x
      Gateway=x:x:x:ff:ff:ff:ff:ff

      [Address]
      Address=x:x:x::/64

      [Route]
      Destination=x:x:x:ff:ff:ff:ff:ff
      Scope=link


      uplink.network



      [Match]
      Name=eno1

      [Network]
      Bridge=br0


      From the host I can ping out to its gateway and www.google.com but not 8.8.8.8. I can download files using apt or curl. So it has connectivity.



      What should I do or check to reliably have access on the host ?










      share|improve this question









      New contributor




      pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.












      After a seemingly random amount of time I cannot access (ping/ssh/http) a KVM host but can access its guests from anywhere. Restarting the network doesn't fix it. Restarting the machine does. All machines & VMs have static IPs. The network is configured with systemd.network, not netplan, because thats how the hosting provider set it up.



      On ubuntu 64 bit 18.04.2 I can set up a bridge with these files in /etc/systemd/network



      br0.netdev



      [NetDev]
      Name=br0
      Kind=bridge


      br0.network



      [Match]
      Name=br0

      [Network]
      Description=network interface on public network, with default route
      DHCP=no
      Address=x.x.x.x/24
      Gateway=x.x.x.x
      IPv6AcceptRA=no
      NTP=ntp.ovh.net
      DNS=127.0.0.1
      DNS=x.x.x.x
      DNS=x.x.x.x
      Gateway=x:x:x:ff:ff:ff:ff:ff

      [Address]
      Address=x:x:x::/64

      [Route]
      Destination=x:x:x:ff:ff:ff:ff:ff
      Scope=link


      uplink.network



      [Match]
      Name=eno1

      [Network]
      Bridge=br0


      From the host I can ping out to its gateway and www.google.com but not 8.8.8.8. I can download files using apt or curl. So it has connectivity.



      What should I do or check to reliably have access on the host ?







      networking server dns kvm






      share|improve this question









      New contributor




      pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.











      share|improve this question









      New contributor




      pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      share|improve this question




      share|improve this question








      edited 7 hours ago







      pad













      New contributor




      pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.









      asked 11 hours ago









      padpad

      11




      11




      New contributor




      pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.





      New contributor





      pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






      pad is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.






















          0






          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',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader: {
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          },
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          });


          }
          });






          pad is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122281%2fkvm-bridged-network-with-static-ips-works-great-for-guests-but-is-flaky-for-hos%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown

























          0






          active

          oldest

          votes








          0






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes








          pad is a new contributor. Be nice, and check out our Code of Conduct.










          draft saved

          draft discarded


















          pad is a new contributor. Be nice, and check out our Code of Conduct.













          pad is a new contributor. Be nice, and check out our Code of Conduct.












          pad is a new contributor. Be nice, and check out our Code of Conduct.
















          Thanks for contributing an answer to Ask Ubuntu!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid



          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.


          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function () {
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1122281%2fkvm-bridged-network-with-static-ips-works-great-for-guests-but-is-flaky-for-hos%23new-answer', 'question_page');
          }
          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          數位音樂下載

          When can things happen in Etherscan, such as the picture below?

          格利澤436b