Libvirt network bridging issues Announcing the arrival of Valued Associate #679: Cesar...

Can the prologue be the backstory of your main character?

Is there folklore associating late breastfeeding with low intelligence and/or gullibility?

Does a C shift expression have unsigned type? Why would Splint warn about a right-shift?

Need a suitable toxic chemical for a murder plot in my novel

Strange behaviour of Check

How to colour the US map with Yellow, Green, Red and Blue to minimize the number of states with the colour of Green

What is the electric potential inside a point charge?

Why is there no army of Iron-Mans in the MCU?

Why is "Captain Marvel" translated as male in Portugal?

What computer would be fastest for Mathematica Home Edition?

Writing Thesis: Copying from published papers

Statistical model of ligand substitution

Complexity of many constant time steps with occasional logarithmic steps

How do you clear the ApexPages.getMessages() collection in a test?

Windows 10: How to Lock (not sleep) laptop on lid close?

Fishing simulator

Mortgage adviser recommends a longer term than necessary combined with overpayments

New Order #5: where Fibonacci and Beatty meet at Wythoff

What's the point in a preamp?

Blender game recording at the wrong time

If A makes B more likely then B makes A more likely"

Can a zero nonce be safely used with AES-GCM if the key is random and never used again?

Unexpected result with right shift after bitwise negation

What would be Julian Assange's expected punishment, on the current English criminal law?



Libvirt network bridging issues



Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)Bridging: Loosing WLAN network connection with 4addr on option - Why?Bridging two networks: access to bridge slow and unreliable14.04 no internet connection when I up the bridge interface (for LXC container)How to assign static IP to KVM VM after bridging?bridging two wireless interfacesDisable hidden bridging between network interfacesEnable network bridging on Ubuntu serverUnable to bridge network to qemu (libvirt) guestbridging KVM on Ubuntu 18.04Bridging, bonding and netplan





.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







0















I want to set up a bridge so that guest VMs on my headless server use the LAN DHCP and not dnsmasq. I followed these instructions: https://jamielinux.com/docs/libvirt-networking-handbook/bridged-network.html#bridge-debian. Looking at the ifconfig results, it seems to give me exactly what I was looking for:



br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
inet 192.168.1.210 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::4216:7eff:fe63:7516 prefixlen 64 scopeid 0x20<link>
ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
RX packets 8255 bytes 653898 (653.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 633 bytes 60185 (60.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.195 netmask 255.255.255.0 broadcast 192.168.1.255
ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
RX packets 42190 bytes 48646124 (48.6 MB)
RX errors 0 dropped 3 overruns 0 frame 0
TX packets 9808 bytes 889965 (889.9 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 2215 bytes 510180 (510.1 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2215 bytes 510180 (510.1 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
ether 52:54:00:7a:ca:5e txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


However, if I try to SSH into my server (192.168.1.195) from another machine (192.168.1.196), I can't connect. Pings from the server can't seem to reach other devices on my LAN, but pings from the server to 8.8.8.8 seem to work OK. My /etc/network/interfaces file looks like the below (the MAC is my server's NIC):



iface enp3s0 inet manual

auto br0
iface br0 inet static
# Use the MAC address identified above.
hwaddress ether 40:16:7e:63:75:16
address 192.168.1.210
netmask 255.255.255.0
gateway 192.168.1.1

bridge_ports enp3s0
# If you want to turn on Spanning Tree Protocol, ask your hosting
# provider first as it may conflict with their network.
bridge_stp on
# If STP is off, set to 0. If STP is on, set to 2 (or greater).
bridge_fd 0


I've spent the last two days googling, and re-imaged my server a couple of times as well when things got too broken, and I think I'm just losing the plot... My server is Ubuntu 18.04.2, completely stock other than the libvirt and ssh packages installed. How can I get the server to be reachable by my other network machines?









share







New contributor




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



























    0















    I want to set up a bridge so that guest VMs on my headless server use the LAN DHCP and not dnsmasq. I followed these instructions: https://jamielinux.com/docs/libvirt-networking-handbook/bridged-network.html#bridge-debian. Looking at the ifconfig results, it seems to give me exactly what I was looking for:



    br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
    inet 192.168.1.210 netmask 255.255.255.0 broadcast 192.168.1.255
    inet6 fe80::4216:7eff:fe63:7516 prefixlen 64 scopeid 0x20<link>
    ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
    RX packets 8255 bytes 653898 (653.8 KB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 633 bytes 60185 (60.1 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
    inet 192.168.1.195 netmask 255.255.255.0 broadcast 192.168.1.255
    ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
    RX packets 42190 bytes 48646124 (48.6 MB)
    RX errors 0 dropped 3 overruns 0 frame 0
    TX packets 9808 bytes 889965 (889.9 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
    inet 127.0.0.1 netmask 255.0.0.0
    inet6 ::1 prefixlen 128 scopeid 0x10<host>
    loop txqueuelen 1000 (Local Loopback)
    RX packets 2215 bytes 510180 (510.1 KB)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 2215 bytes 510180 (510.1 KB)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

    virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
    inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
    ether 52:54:00:7a:ca:5e txqueuelen 1000 (Ethernet)
    RX packets 0 bytes 0 (0.0 B)
    RX errors 0 dropped 0 overruns 0 frame 0
    TX packets 0 bytes 0 (0.0 B)
    TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


    However, if I try to SSH into my server (192.168.1.195) from another machine (192.168.1.196), I can't connect. Pings from the server can't seem to reach other devices on my LAN, but pings from the server to 8.8.8.8 seem to work OK. My /etc/network/interfaces file looks like the below (the MAC is my server's NIC):



    iface enp3s0 inet manual

    auto br0
    iface br0 inet static
    # Use the MAC address identified above.
    hwaddress ether 40:16:7e:63:75:16
    address 192.168.1.210
    netmask 255.255.255.0
    gateway 192.168.1.1

    bridge_ports enp3s0
    # If you want to turn on Spanning Tree Protocol, ask your hosting
    # provider first as it may conflict with their network.
    bridge_stp on
    # If STP is off, set to 0. If STP is on, set to 2 (or greater).
    bridge_fd 0


    I've spent the last two days googling, and re-imaged my server a couple of times as well when things got too broken, and I think I'm just losing the plot... My server is Ubuntu 18.04.2, completely stock other than the libvirt and ssh packages installed. How can I get the server to be reachable by my other network machines?









    share







    New contributor




    Adam Mac 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








      I want to set up a bridge so that guest VMs on my headless server use the LAN DHCP and not dnsmasq. I followed these instructions: https://jamielinux.com/docs/libvirt-networking-handbook/bridged-network.html#bridge-debian. Looking at the ifconfig results, it seems to give me exactly what I was looking for:



      br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
      inet 192.168.1.210 netmask 255.255.255.0 broadcast 192.168.1.255
      inet6 fe80::4216:7eff:fe63:7516 prefixlen 64 scopeid 0x20<link>
      ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
      RX packets 8255 bytes 653898 (653.8 KB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 633 bytes 60185 (60.1 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      inet 192.168.1.195 netmask 255.255.255.0 broadcast 192.168.1.255
      ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
      RX packets 42190 bytes 48646124 (48.6 MB)
      RX errors 0 dropped 3 overruns 0 frame 0
      TX packets 9808 bytes 889965 (889.9 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
      inet 127.0.0.1 netmask 255.0.0.0
      inet6 ::1 prefixlen 128 scopeid 0x10<host>
      loop txqueuelen 1000 (Local Loopback)
      RX packets 2215 bytes 510180 (510.1 KB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 2215 bytes 510180 (510.1 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
      inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
      ether 52:54:00:7a:ca:5e txqueuelen 1000 (Ethernet)
      RX packets 0 bytes 0 (0.0 B)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 0 bytes 0 (0.0 B)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


      However, if I try to SSH into my server (192.168.1.195) from another machine (192.168.1.196), I can't connect. Pings from the server can't seem to reach other devices on my LAN, but pings from the server to 8.8.8.8 seem to work OK. My /etc/network/interfaces file looks like the below (the MAC is my server's NIC):



      iface enp3s0 inet manual

      auto br0
      iface br0 inet static
      # Use the MAC address identified above.
      hwaddress ether 40:16:7e:63:75:16
      address 192.168.1.210
      netmask 255.255.255.0
      gateway 192.168.1.1

      bridge_ports enp3s0
      # If you want to turn on Spanning Tree Protocol, ask your hosting
      # provider first as it may conflict with their network.
      bridge_stp on
      # If STP is off, set to 0. If STP is on, set to 2 (or greater).
      bridge_fd 0


      I've spent the last two days googling, and re-imaged my server a couple of times as well when things got too broken, and I think I'm just losing the plot... My server is Ubuntu 18.04.2, completely stock other than the libvirt and ssh packages installed. How can I get the server to be reachable by my other network machines?









      share







      New contributor




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












      I want to set up a bridge so that guest VMs on my headless server use the LAN DHCP and not dnsmasq. I followed these instructions: https://jamielinux.com/docs/libvirt-networking-handbook/bridged-network.html#bridge-debian. Looking at the ifconfig results, it seems to give me exactly what I was looking for:



      br0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
      inet 192.168.1.210 netmask 255.255.255.0 broadcast 192.168.1.255
      inet6 fe80::4216:7eff:fe63:7516 prefixlen 64 scopeid 0x20<link>
      ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
      RX packets 8255 bytes 653898 (653.8 KB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 633 bytes 60185 (60.1 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      enp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
      inet 192.168.1.195 netmask 255.255.255.0 broadcast 192.168.1.255
      ether 40:16:7e:63:75:16 txqueuelen 1000 (Ethernet)
      RX packets 42190 bytes 48646124 (48.6 MB)
      RX errors 0 dropped 3 overruns 0 frame 0
      TX packets 9808 bytes 889965 (889.9 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
      inet 127.0.0.1 netmask 255.0.0.0
      inet6 ::1 prefixlen 128 scopeid 0x10<host>
      loop txqueuelen 1000 (Local Loopback)
      RX packets 2215 bytes 510180 (510.1 KB)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 2215 bytes 510180 (510.1 KB)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

      virbr0: flags=4099<UP,BROADCAST,MULTICAST> mtu 1500
      inet 192.168.122.1 netmask 255.255.255.0 broadcast 192.168.122.255
      ether 52:54:00:7a:ca:5e txqueuelen 1000 (Ethernet)
      RX packets 0 bytes 0 (0.0 B)
      RX errors 0 dropped 0 overruns 0 frame 0
      TX packets 0 bytes 0 (0.0 B)
      TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0


      However, if I try to SSH into my server (192.168.1.195) from another machine (192.168.1.196), I can't connect. Pings from the server can't seem to reach other devices on my LAN, but pings from the server to 8.8.8.8 seem to work OK. My /etc/network/interfaces file looks like the below (the MAC is my server's NIC):



      iface enp3s0 inet manual

      auto br0
      iface br0 inet static
      # Use the MAC address identified above.
      hwaddress ether 40:16:7e:63:75:16
      address 192.168.1.210
      netmask 255.255.255.0
      gateway 192.168.1.1

      bridge_ports enp3s0
      # If you want to turn on Spanning Tree Protocol, ask your hosting
      # provider first as it may conflict with their network.
      bridge_stp on
      # If STP is off, set to 0. If STP is on, set to 2 (or greater).
      bridge_fd 0


      I've spent the last two days googling, and re-imaged my server a couple of times as well when things got too broken, and I think I'm just losing the plot... My server is Ubuntu 18.04.2, completely stock other than the libvirt and ssh packages installed. How can I get the server to be reachable by my other network machines?







      virtualization network-bridge





      share







      New contributor




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










      share







      New contributor




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








      share



      share






      New contributor




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









      asked 6 mins ago









      Adam MacAdam Mac

      12




      12




      New contributor




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





      New contributor





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






      Adam Mac 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
          });


          }
          });






          Adam Mac 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%2f1133933%2flibvirt-network-bridging-issues%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








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










          draft saved

          draft discarded


















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













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












          Adam Mac 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%2f1133933%2flibvirt-network-bridging-issues%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

          Why do type traits not work with types in namespace scope?What are POD types in C++?Why can templates only be...

          Will tsunami waves travel forever if there was no land?Why do tsunami waves begin with the water flowing away...

          Simple Scan not detecting my scanner (Brother DCP-7055W)Brother MFC-L2700DW printer can print, can't...