LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Virtualization and Cloud
User Name
Password
Linux - Virtualization and Cloud This forum is for the discussion of all topics relating to Linux Virtualization and Linux Cloud platforms. Xen, KVM, OpenVZ, VirtualBox, VMware, Linux-VServer and all other Linux Virtualization platforms are welcome. OpenStack, CloudStack, ownCloud, Cloud Foundry, Eucalyptus, Nimbus, OpenNebula and all other Linux Cloud platforms are welcome. Note that questions relating solely to non-Linux OS's should be asked in the General forum.

Notices

Reply
 
Search this Thread
Old 03-29-2010, 05:34 AM   #1
sokha
Member
 
Registered: Sep 2008
Posts: 46

Rep: Reputation: 15
Virtualbox CentOS Guest can not connect to Internet from XP Host


Hello,

I just setup CentOS 5 in Windows XP host running Virtualbox 2.0.4. I chose NAT in the network setting but I could not access to internet from guest OS (CentOS).

Sometimes, I could resolve IP (via nslookup command in guest OS) but can not connect to internet.

Is there any setting I have to do to let that guest CentOS to connect to the internet via NAT?
 
Old 03-30-2010, 12:00 AM   #2
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,548
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Quote:
Originally Posted by sokha View Post
Hello,

I just setup CentOS 5 in Windows XP host running Virtualbox 2.0.4. I chose NAT in the network setting but I could not access to internet from guest OS (CentOS).

Sometimes, I could resolve IP (via nslookup command in guest OS) but can not connect to internet.

Is there any setting I have to do to let that guest CentOS to connect to the internet via NAT?
You can think of the host as a NATting router.

When you write "I could not access to internet from guest OS (CentOS)", what did you try and what were the symptoms?

When you write "Sometimes, I could resolve IP (via nslookup command in guest OS)", which times did it work? Or was it random? Which DNS servers does the guest use?

How is IP configured in the guest? Does it use DHCP?

How does the host connect to the Internet?
 
Old 03-30-2010, 11:28 PM   #3
sokha
Member
 
Registered: Sep 2008
Posts: 46

Original Poster
Rep: Reputation: 15
- Host OS has the internet connection
- Guest OS use DHCP
- I try to use some command like wget, lynx and yum but they did not work at all
- nslookup works

Now, I just removed Virtualbox and use VMware instead. It works good to me.
 
  


Reply

Tags
centos, xp


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
WinXP VM on VirtualBox CentOS Host - no response of host during install?! ascfu Linux - Software 1 12-10-2009 12:45 PM
Sun VirtualBox: Guest is Unable to Connect to Host By Hostname Cottonwoody Linux - Virtualization and Cloud 5 11-13-2009 11:31 AM
Unable to connect Virtualbox XP Guest to MySQL on Ubuntu Host pabs111 Linux - Newbie 3 06-05-2009 02:28 PM
VirtualBox Networking (NAT) not working on XP host with Mandriva guest FreeRadical2600 Linux - Newbie 9 10-29-2008 08:12 AM
Ubuntu Host Virtualbox guest Networking weirdness ddales Linux - Networking 0 01-20-2008 02:24 PM


All times are GMT -5. The time now is 05:50 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration