Hello, im trying to connect to internet in my virtualbox windows xp 32 bits using adapter host-only but i dont have internet, i have internet with NAT and others but i want to use adapter host-only since i heard it gives a different IP than the host (my pc) so thats why i want to use it, someone can tell me the reason why i dont have internet using the adapter host-only?
Thanks
adapter host-only no internet
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: adapter host-only no internet
Host only does not give you Internet access. It is not supposed to.
If all you are concerned about is having an IP different from the host network, use NAT.
If all you are concerned about is having an IP different from the host network, use NAT.
Bill
Re: adapter host-only no internet
are you sure about that? im using NAT but i have the same IP as the host, and i mean the public IP (the one u get from www.whatismyip.com) is the same as the host one
-
loukingjr
- Volunteer
- Posts: 8851
- Joined: 30. Apr 2009, 09:45
- Primary OS: Mac OS X other
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: just about all that run
Re: adapter host-only no internet
I could be wrong about this but one's public IP is set by the ISP.
OSX, Linux and Windows Hosts & Guests
There are three groups of people. Those that can count and those that can't.
There are three groups of people. Those that can count and those that can't.
-
BillG
- Volunteer
- Posts: 5106
- Joined: 19. Sep 2009, 04:44
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows 10,7 and earlier
- Location: Sydney, Australia
Re: adapter host-only no internet
An internet search like that will only ever see your public IP address, no matter whether the machine behind NAT is virtual or physical. NAT was written in the first place to allow machines on a private LAN to use the Internet but not be accessible from the Internet. Google network address translation.
Have a look at what IP your vm has from within the vm OS. It is not your public IP. It will be a private 10.x.x.x address.
Host only also uses a private IP address (192.168.56.x) but by design does not give you Internet access.
Have a look at what IP your vm has from within the vm OS. It is not your public IP. It will be a private 10.x.x.x address.
Host only also uses a private IP address (192.168.56.x) but by design does not give you Internet access.
Bill