Internet not working

Discussions related to using VirtualBox on Windows hosts.
Post Reply
arunnayar1982
Posts: 7
Joined: 13. Aug 2009, 12:47
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Internet not working

Post by arunnayar1982 »

Hi

I installed Solaris as guest on Windows Xp as Host. Installation was clean with no errors.
Solaris detected ethernet card as e1000g but now the internet is not working, although it's able to ping my windows host.
But not the router. Internet is working fine on Windows Xp.

I have a wireless router

N/w Details
router ip 192.168.1.1
solaris ip 192.168.1.10
windows ip 192.168.1.2


Can the internet be run on solaris when i have a wireless router and if yes then what should be nameserver.
PLease Help!
Thanks in advance
bosyak
Posts: 10
Joined: 13. Aug 2009, 05:01
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Ubuntu 9.04

Re: Internet not working

Post by bosyak »

Hi,

Probably I have the same problem. Try this: check if the bridge minidriver is enabled in the network card (right click the connection, select properties, there's a list with checkbox. vbox bridge driver should be there and selected)
You should setup default gateway and name server should be same like on WinXP. You can type ipconfig /all on winXP box to check.
arunnayar1982
Posts: 7
Joined: 13. Aug 2009, 12:47
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Re: Internet not working

Post by arunnayar1982 »

Hi Bosyak

Thanks, looks like a possible solution, I will give it a try.
arunnayar1982
Posts: 7
Joined: 13. Aug 2009, 12:47
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Re: Internet not working

Post by arunnayar1982 »

As bosyak had suggested,

I have checked the properties of the connection and bridge minidriver is enabled.
I am now able to ping the router but still its unable to connect the internet.
I checked the nameserver in Windows and its same as the deafult gateway that is 192.168.1.1

Am am able to ping all the machines in my netwrok(4 of them).
But why am not able to connect to the internet?

ping google.com earlier used to give error as unknown host but now it just keeps waiting displaying noting untill i stop it (ctrl+c).


Please Help
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Internet not working

Post by Sasquatch »

Did you try opening a website instead of pinging it? Also tried, just for simplicity, change from Bridged to NAT and put the network on DHCP (if you don't have it like that already). Now try to open a website.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
The MAZZTer
Volunteer
Posts: 129
Joined: 16. Sep 2008, 23:22
Primary OS: MS Windows 7
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu, Chromium OS, Windows
Location: Internet
Contact:

Re: Internet not working

Post by The MAZZTer »

You can try the NAT thing and it may be sufficient for you but if you still want bridged:

Ensure the VM properties show the type of network as "Bridged Adapter" AND that your internet connection is selected as the bridged network. If either setting is different it's probably what is preventing you from connecting.

Try the tracert command instead of ping (tracert google.com) this will try to ping each host along the way to google.com... when it starts printing stars that means it is unable to contact the next host and so either that host or the link in between that one and the previous could be where the trouble lies.
arunnayar1982
Posts: 7
Joined: 13. Aug 2009, 12:47
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Re: Internet not working

Post by arunnayar1982 »

Hi all

Thanks for all your support, the problem has gone a little complex now.
I had tried opening websites in browsers but no luck and even tried using their IP's but the result was the same.

Earlier I was not able to ping my router but now I am and also I can ping any website using its IP but not the name.
This seems to me a DNS issue.
Also the windows host is using DHCP to get an IP and for my Solaris Host I have been assigning a static IP.

I will try the NAT thing as you have suggested and will revert back soon.

Thanks
arunnayar1982
Posts: 7
Joined: 13. Aug 2009, 12:47
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Re: Internet not working

Post by arunnayar1982 »

Hi all

I tried changing to NAT but it didnot work either. Using NAT my solaris machine again stopped pinging the router . :(
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: Internet not working

Post by Sasquatch »

Which version are you using? NAT and ping was only added a few versions back, in 2.2 or 2.1. The best solution to check is still opening a website.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
arunnayar1982
Posts: 7
Joined: 13. Aug 2009, 12:47
Primary OS: MS Windows XP
VBox Version: OSE other
Guest OSses: Solaris

Internet not working

Post by arunnayar1982 »

Hi all

The issue was solved.
I was using virtualbox 2.2 earlier and yesterday i upgraded it to 3.0.4 and there it was I was able to connect to internet.
I didnt make any other change and do not think this was a version issue.
Anyways the issue is resolved and thanks to all.
Post Reply