VirtualBox Ubuntu 14.04 - Bridge adapter not working












2














I'm having some troubles setting up my network connection using the Bridged Adapter configuration. I'm just starting with Linux and even if I was going through different forum discussions on the web, I'm still not able to make it work. NAT is working perfectly and I'm able to access Internet, while with Bridged Adapter the network result unreachable, altough I need it for the application I have in mind.



My setup is the following:



VirtualBox 5,
Host: Windows 10,
Guest: Ubuntu 14.04 LTS



Here you could see in details my configuration



VirtualBox Network Config
Beside the RealTek, I could use also: Qualcomm Atheros AR946x Wireless Network Adapter. However the problem remain the same, since it seems I have no network working.



This if the ifconfig command:



    giulio@giulio-VirtualBox:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:f5:87:2f
inet6 addr: fe80::a00:27ff:fef5:872f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:24737 (24.7 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11409 (11.4 KB) TX bytes:11409 (11.4 KB)


While /etc/network/interface looks like this:



      # interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Here it is a screenshot of the overall network settings. For the IPv4 settings I'm using AUtomatic (DHCP), while for IPv6 I've set "ignore".



I hope somebody could have a look and help me out, thank you!
Giulio










share|improve this question






















  • Having the same problem. Did you manage to fix this?
    – Tony Tannous
    Jun 11 '18 at 8:11
















2














I'm having some troubles setting up my network connection using the Bridged Adapter configuration. I'm just starting with Linux and even if I was going through different forum discussions on the web, I'm still not able to make it work. NAT is working perfectly and I'm able to access Internet, while with Bridged Adapter the network result unreachable, altough I need it for the application I have in mind.



My setup is the following:



VirtualBox 5,
Host: Windows 10,
Guest: Ubuntu 14.04 LTS



Here you could see in details my configuration



VirtualBox Network Config
Beside the RealTek, I could use also: Qualcomm Atheros AR946x Wireless Network Adapter. However the problem remain the same, since it seems I have no network working.



This if the ifconfig command:



    giulio@giulio-VirtualBox:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:f5:87:2f
inet6 addr: fe80::a00:27ff:fef5:872f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:24737 (24.7 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11409 (11.4 KB) TX bytes:11409 (11.4 KB)


While /etc/network/interface looks like this:



      # interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Here it is a screenshot of the overall network settings. For the IPv4 settings I'm using AUtomatic (DHCP), while for IPv6 I've set "ignore".



I hope somebody could have a look and help me out, thank you!
Giulio










share|improve this question






















  • Having the same problem. Did you manage to fix this?
    – Tony Tannous
    Jun 11 '18 at 8:11














2












2








2







I'm having some troubles setting up my network connection using the Bridged Adapter configuration. I'm just starting with Linux and even if I was going through different forum discussions on the web, I'm still not able to make it work. NAT is working perfectly and I'm able to access Internet, while with Bridged Adapter the network result unreachable, altough I need it for the application I have in mind.



My setup is the following:



VirtualBox 5,
Host: Windows 10,
Guest: Ubuntu 14.04 LTS



Here you could see in details my configuration



VirtualBox Network Config
Beside the RealTek, I could use also: Qualcomm Atheros AR946x Wireless Network Adapter. However the problem remain the same, since it seems I have no network working.



This if the ifconfig command:



    giulio@giulio-VirtualBox:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:f5:87:2f
inet6 addr: fe80::a00:27ff:fef5:872f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:24737 (24.7 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11409 (11.4 KB) TX bytes:11409 (11.4 KB)


While /etc/network/interface looks like this:



      # interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Here it is a screenshot of the overall network settings. For the IPv4 settings I'm using AUtomatic (DHCP), while for IPv6 I've set "ignore".



I hope somebody could have a look and help me out, thank you!
Giulio










share|improve this question













I'm having some troubles setting up my network connection using the Bridged Adapter configuration. I'm just starting with Linux and even if I was going through different forum discussions on the web, I'm still not able to make it work. NAT is working perfectly and I'm able to access Internet, while with Bridged Adapter the network result unreachable, altough I need it for the application I have in mind.



My setup is the following:



VirtualBox 5,
Host: Windows 10,
Guest: Ubuntu 14.04 LTS



Here you could see in details my configuration



VirtualBox Network Config
Beside the RealTek, I could use also: Qualcomm Atheros AR946x Wireless Network Adapter. However the problem remain the same, since it seems I have no network working.



This if the ifconfig command:



    giulio@giulio-VirtualBox:~$ ifconfig
eth0 Link encap:Ethernet HWaddr 08:00:27:f5:87:2f
inet6 addr: fe80::a00:27ff:fef5:872f/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:88 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 B) TX bytes:24737 (24.7 KB)

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:65536 Metric:1
RX packets:161 errors:0 dropped:0 overruns:0 frame:0
TX packets:161 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:11409 (11.4 KB) TX bytes:11409 (11.4 KB)


While /etc/network/interface looks like this:



      # interfaces(5) file used by ifup(8) and ifdown(8)
auto lo
iface lo inet loopback


Here it is a screenshot of the overall network settings. For the IPv4 settings I'm using AUtomatic (DHCP), while for IPv6 I've set "ignore".



I hope somebody could have a look and help me out, thank you!
Giulio







14.04 networking virtualbox network-bridge ifconfig






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Jan 18 '16 at 14:20









giuliob

11113




11113












  • Having the same problem. Did you manage to fix this?
    – Tony Tannous
    Jun 11 '18 at 8:11


















  • Having the same problem. Did you manage to fix this?
    – Tony Tannous
    Jun 11 '18 at 8:11
















Having the same problem. Did you manage to fix this?
– Tony Tannous
Jun 11 '18 at 8:11




Having the same problem. Did you manage to fix this?
– Tony Tannous
Jun 11 '18 at 8:11










2 Answers
2






active

oldest

votes


















0














I have tried to make it work with bridged and after a lot of troubleshooting, it worked.



The primary issue was that my guest OS was sending packets with different MAC address compared to my host OS.



Thus the traffic was getting dropped at wifi gateway.



The solution was to change the MAC address in guest OS and have same MAC for guest as well as host OS.



Steps:




  1. Power off the VM


  2. Go to Settings->Network->Advanced and remove the mac address.


  3. Check the mac address of host machine (ifconfig -a or ipconfig /all) and update the same in the option in step 2.


  4. Save the settings and start the VM, it should work and internet should be reachable :)







share|improve this answer





























    -1














    First of all: Bridged config does not work with wi-fi.



    So you can't bridge the Qualcomm Atheros AR946x to your VMs, but you can use the Realtek adapter, I can see that you're only showing the Ubuntu config and the VM config, but the matter may be with Windows.



    I suggest you find how your Windows network is configured to make it work.



    Maybe this can help you find the problem:
    https://stackoverflow.com/questions/31922055/bridged-networking-not-working-in-virtualbox-under-windows-10






    share|improve this answer























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


      }
      });














      draft saved

      draft discarded


















      StackExchange.ready(
      function () {
      StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f722512%2fvirtualbox-ubuntu-14-04-bridge-adapter-not-working%23new-answer', 'question_page');
      }
      );

      Post as a guest















      Required, but never shown

























      2 Answers
      2






      active

      oldest

      votes








      2 Answers
      2






      active

      oldest

      votes









      active

      oldest

      votes






      active

      oldest

      votes









      0














      I have tried to make it work with bridged and after a lot of troubleshooting, it worked.



      The primary issue was that my guest OS was sending packets with different MAC address compared to my host OS.



      Thus the traffic was getting dropped at wifi gateway.



      The solution was to change the MAC address in guest OS and have same MAC for guest as well as host OS.



      Steps:




      1. Power off the VM


      2. Go to Settings->Network->Advanced and remove the mac address.


      3. Check the mac address of host machine (ifconfig -a or ipconfig /all) and update the same in the option in step 2.


      4. Save the settings and start the VM, it should work and internet should be reachable :)







      share|improve this answer


























        0














        I have tried to make it work with bridged and after a lot of troubleshooting, it worked.



        The primary issue was that my guest OS was sending packets with different MAC address compared to my host OS.



        Thus the traffic was getting dropped at wifi gateway.



        The solution was to change the MAC address in guest OS and have same MAC for guest as well as host OS.



        Steps:




        1. Power off the VM


        2. Go to Settings->Network->Advanced and remove the mac address.


        3. Check the mac address of host machine (ifconfig -a or ipconfig /all) and update the same in the option in step 2.


        4. Save the settings and start the VM, it should work and internet should be reachable :)







        share|improve this answer
























          0












          0








          0






          I have tried to make it work with bridged and after a lot of troubleshooting, it worked.



          The primary issue was that my guest OS was sending packets with different MAC address compared to my host OS.



          Thus the traffic was getting dropped at wifi gateway.



          The solution was to change the MAC address in guest OS and have same MAC for guest as well as host OS.



          Steps:




          1. Power off the VM


          2. Go to Settings->Network->Advanced and remove the mac address.


          3. Check the mac address of host machine (ifconfig -a or ipconfig /all) and update the same in the option in step 2.


          4. Save the settings and start the VM, it should work and internet should be reachable :)







          share|improve this answer












          I have tried to make it work with bridged and after a lot of troubleshooting, it worked.



          The primary issue was that my guest OS was sending packets with different MAC address compared to my host OS.



          Thus the traffic was getting dropped at wifi gateway.



          The solution was to change the MAC address in guest OS and have same MAC for guest as well as host OS.



          Steps:




          1. Power off the VM


          2. Go to Settings->Network->Advanced and remove the mac address.


          3. Check the mac address of host machine (ifconfig -a or ipconfig /all) and update the same in the option in step 2.


          4. Save the settings and start the VM, it should work and internet should be reachable :)








          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Dec 13 '18 at 19:03









          IamSushil

          12




          12

























              -1














              First of all: Bridged config does not work with wi-fi.



              So you can't bridge the Qualcomm Atheros AR946x to your VMs, but you can use the Realtek adapter, I can see that you're only showing the Ubuntu config and the VM config, but the matter may be with Windows.



              I suggest you find how your Windows network is configured to make it work.



              Maybe this can help you find the problem:
              https://stackoverflow.com/questions/31922055/bridged-networking-not-working-in-virtualbox-under-windows-10






              share|improve this answer




























                -1














                First of all: Bridged config does not work with wi-fi.



                So you can't bridge the Qualcomm Atheros AR946x to your VMs, but you can use the Realtek adapter, I can see that you're only showing the Ubuntu config and the VM config, but the matter may be with Windows.



                I suggest you find how your Windows network is configured to make it work.



                Maybe this can help you find the problem:
                https://stackoverflow.com/questions/31922055/bridged-networking-not-working-in-virtualbox-under-windows-10






                share|improve this answer


























                  -1












                  -1








                  -1






                  First of all: Bridged config does not work with wi-fi.



                  So you can't bridge the Qualcomm Atheros AR946x to your VMs, but you can use the Realtek adapter, I can see that you're only showing the Ubuntu config and the VM config, but the matter may be with Windows.



                  I suggest you find how your Windows network is configured to make it work.



                  Maybe this can help you find the problem:
                  https://stackoverflow.com/questions/31922055/bridged-networking-not-working-in-virtualbox-under-windows-10






                  share|improve this answer














                  First of all: Bridged config does not work with wi-fi.



                  So you can't bridge the Qualcomm Atheros AR946x to your VMs, but you can use the Realtek adapter, I can see that you're only showing the Ubuntu config and the VM config, but the matter may be with Windows.



                  I suggest you find how your Windows network is configured to make it work.



                  Maybe this can help you find the problem:
                  https://stackoverflow.com/questions/31922055/bridged-networking-not-working-in-virtualbox-under-windows-10







                  share|improve this answer














                  share|improve this answer



                  share|improve this answer








                  edited May 23 '17 at 12:39









                  Community

                  1




                  1










                  answered Feb 22 '16 at 13:17









                  Rômulo Gabriel Rodrigues

                  992




                  992






























                      draft saved

                      draft discarded




















































                      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.





                      Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                      Please pay close attention to the following guidance:


                      • 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%2f722512%2fvirtualbox-ubuntu-14-04-bridge-adapter-not-working%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

                      Ellipse (mathématiques)

                      Quarter-circle Tiles

                      Mont Emei