Fedora Linux Support Community & Resources Center
Old 10th March 2009, 03:38 AM
tdcrooks Offline
Registered User
Join Date: Dec 2007
Age: 32
Posts: 74
VirtualBox ping issue

Hey everyone,

Running Fedora 10, I installed CentOS 5 in Virtualbox, but I can't ping the Virtual Machine...

From within CentOS, I can ping my laptop [known as the host?] but from the laptop I can't ping the CentOS Virtual Machine. I tried turning off the firewall on both too... CentOS was able to access the internet through my laptop right away without any configurations too.

Unless someone has an idea to resolve the above, I am also wondering about something else VirtualBox-related:

To see if it was possible to get around the above issue, I was going to install another CentOS virtual machine to see if I can get them to communicate both ways [if at all], but to do so, I think I have to install CentOS AGAIN on another allocated amount of hard disk space. This will take some time, so I was wondering if anyone knew if it was possible to just create a quick duplicate of the previous installation, if you wanted 2 different virtual installations of the same OS.

Thanks for any ideas.

I'm heading towards a career in Linux and I'm looking to learn as much as possible, so your answers to my questions are appreciated.

Registered Linux User: #468950


Last edited by tdcrooks; 10th March 2009 at 03:46 AM.
Reply With Quote
Old 10th March 2009, 04:07 AM
scottro Offline
Retired Community Manager -- Banned from Texas by popular demand.
Join Date: Sep 2007
Location: NYC
Posts: 8,129
To answer your questions in reverse order, to duplicate a machine copy its vdi file and when creating the machine choose that for the hard disk. I usually just stick them in ~/.VirtualBox, though the location might have changed now to ~/.VirtualBox/HardDisks.

As for the networking issue, the default method is NAT networking. Pinging won't work, nor will the host be able to reach the guest. The guest should be able to reach the host through ssh and can also probably reach the Internet. You have to choose host networking in the network section of settings--take a look at the manual (you can access it by going to help in the main VirtualBox menu. That has drastically improved lately--one used to have to set up a bridge and tap interface, but now it's just a mouse click.
Reply With Quote
Old 29th December 2010, 05:54 PM
Jay See II Offline
Registered User
Join Date: Oct 2009
Posts: 12
Re: VirtualBox ping issue

In response to Scottro's answer, I am using VirtualBox 3.2.12 and I had to select "Bridged Networking" for my VM,s to ping each other. You definitely put me in the right direction, though. I had done everything like turn off firewalls, etc., but the truth came out in the iptables in this case. So, with that said, if selecting "host networking" doesn't work, then select "Bridged Networking. It worked for me anyways... Thanks for your feedback.
Reply With Quote

ping, virtualbox

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with Virtualbox: guest windows Xp can ping any site, but can not browse them now_nev Servers & Networking 2 31st July 2009 09:47 PM
Display Issue with Fedora 10 on Sun VirtualBox 2.2.2 stephenjspace Hardware & Laptops 1 19th May 2009 10:15 AM
VirtualBox USB issue with USB Wireless device manuleka Using Fedora 2 22nd April 2009 11:10 PM
xVM VirtualBox issue with Fedora kevaljd Alpha, Beta & Snapshots Discussions (Fedora 10 Only) 8 24th November 2008 09:41 AM
VirtualBox screen issue with Fedora radamsiii Using Fedora 2 22nd October 2008 12:36 AM

Current GMT-time: 12:09 (Wednesday, 23-08-2017)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat