No internet connection on the VM

Discussions related to using VirtualBox on Windows hosts.
Jiwalk
Posts: 18
Joined: 14. Jan 2016, 16:16
Primary OS: MS Windows 8
VBox Version: OSE self-compiled
Guest OSses: Debian
Location: France

No internet connection on the VM

Post by Jiwalk »

Hello,

I installed a Debian Machine on my Windows physical machine, but there isn't internet connection on the VM,
I don't know how it works but I have a connection on my windows computer, and the settings on the VM is NAT.

My windows is connect by WiFi and both adress are not really in the same network

10.214.12.10 / 16 for the windows
10.0.2.15 / 24 for the VM

Thanks for help :)
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: No internet connection on the VM

Post by scottgus1 »

If the guest is connected by NAT, the different IP address ranges are expected. 10.0.2.15 for the guest sounds normal.

Shut down the guest in the normal fashion, then please provide this: Minimal information needed to be able to help Also, put in the zip file the guest's .vbox file so we can see how your guest is set up.
Jiwalk
Posts: 18
Joined: 14. Jan 2016, 16:16
Primary OS: MS Windows 8
VBox Version: OSE self-compiled
Guest OSses: Debian
Location: France

Re: No internet connection on the VM

Post by Jiwalk »

I'm using Virtual Box 5.0.6 ; The VM is Debian 6.0.6 64Bits ; My windows is Windows 8 64 bits ;
The RAM available on the debian is 2Go ;
Attachments
Debian-2016-01-14-15-41-36.log
(112.46 KiB) Downloaded 3 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: No internet connection on the VM

Post by scottgus1 »

Thanks for the log, did not see the .vbox file...
Jiwalk
Posts: 18
Joined: 14. Jan 2016, 16:16
Primary OS: MS Windows 8
VBox Version: OSE self-compiled
Guest OSses: Debian
Location: France

Re: No internet connection on the VM

Post by Jiwalk »

Sorry I have a bad internet connection and the file of the Vbox is 2Go of upload ...

Ask me what do you want to know I'll try to get these informations
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: No internet connection on the VM

Post by scottgus1 »

Surely the .vbox file isn't that big, it's just a text XML file, just a few kb. You're not confusing it with the virtual disk? The file has the extension ".vbox", likely in your "C:\Users\Utilisateur\VirtualBox VMs\Debian\" folder.
Jiwalk
Posts: 18
Joined: 14. Jan 2016, 16:16
Primary OS: MS Windows 8
VBox Version: OSE self-compiled
Guest OSses: Debian
Location: France

Re: No internet connection on the VM

Post by Jiwalk »

Is that file ?
Attachments
VirtualBox.xml
(2.36 KiB) Downloaded 2 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: No internet connection on the VM

Post by scottgus1 »

The file you posted does not have a .vbox extension. It has a .xml extension, Sorry, not the one I'm looking for. Try again, please. A clue: read my previous post carefully.
Jiwalk
Posts: 18
Joined: 14. Jan 2016, 16:16
Primary OS: MS Windows 8
VBox Version: OSE self-compiled
Guest OSses: Debian
Location: France

Re: No internet connection on the VM

Post by Jiwalk »

Oh I was in the wrong folder sorry, I though I have what you ask ! :)

Hm, there is " The extension vbox is not allowed"
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: No internet connection on the VM

Post by scottgus1 »

Put it in a zip file, please.
Jiwalk
Posts: 18
Joined: 14. Jan 2016, 16:16
Primary OS: MS Windows 8
VBox Version: OSE self-compiled
Guest OSses: Debian
Location: France

Re: No internet connection on the VM

Post by Jiwalk »

Sorry again
Attachments
Debian.zip
(2.63 KiB) Downloaded 3 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: No internet connection on the VM

Post by scottgus1 »

Thanks, that was the right file. it does appear you are connected via NAT. NAT should work just fine with wifi, and you should be able to browse the web. I just tested an XP guest on NAT and it got to the internet.

As a test, make sure that your Windows host laptop will respond to pings (google for how to allow ping on a Windows PC), then inside the guest try to ping your host laptop's IP address 10.214.12.10 If the pings go through without loss, then the network is good.
roachd
Posts: 3
Joined: 27. Aug 2015, 14:44

Re: No internet connection on the VM

Post by roachd »

I'm having trouble with an Internet connection from my Redhat V6 Guests running VirtualBox on Windows 7. I use to have Internet connection but no longer have a connection. I have tried various things but nothing is working. The version of Virtual Box is 4.3.26 r98988. Both the Host and Guest are 64 bit. Attached are the log files.
Attachments
Logs.zip
(108.28 KiB) Downloaded 2 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: No internet connection on the VM

Post by scottgus1 »

roachd, you'll probably want to start your own thread, this thread is Jiwalk's.
Jiwalk
Posts: 18
Joined: 14. Jan 2016, 16:16
Primary OS: MS Windows 8
VBox Version: OSE self-compiled
Guest OSses: Debian
Location: France

Re: No internet connection on the VM

Post by Jiwalk »

My windows can't ping internet ( I try to ping google and it doesn't work ) but my VM can ping my windows.

Maybe a problem due to IPV6 ?
Post Reply