LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-09-2008, 11:57 PM   #1
JATA01
Member
 
Registered: Nov 2007
Posts: 207

Rep: Reputation: 15
Exclamation Virtual Box


Hi All,

I have query about virtualisation on rhel5 with Virtual box.

I have installed the Virtual box on rhel5, but I can't ping any of the station.
Could you please suggest the key points.

Thanks for your support!!
 
Old 10-10-2008, 12:53 AM   #2
centos82
Member
 
Registered: Sep 2008
Distribution: CentOS
Posts: 75

Rep: Reputation: 16
Can you provide more information about the problem. You have VMWare running on rhel5? What type of operating system do you have running as a virtual machine? What is the IP address of the virtual machine? What is the IP address of your rhel5 machine? What is the network type you are using with VMWare? Bridged?

Thanks

Last edited by centos82; 10-10-2008 at 12:55 AM.
 
Old 10-10-2008, 01:14 AM   #3
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
Quote:
Originally Posted by centos82 View Post
Can you provide more information about the problem. You have VMWare running on rhel5? What type of operating system do you have running as a virtual machine? What is the IP address of the virtual machine? What is the IP address of your rhel5 machine? What is the network type you are using with VMWare? Bridged?

Thanks
He said VirtualBox, not VMware.

The issue is likely that your VM is configured for NAT. It's going to get it's own IP address from VirtualBox. If you use ifconfig (if using *nix) or ipconfig /all (if using Windows) in the virtual machine, you'll see that your IP address is probably in the form of 10.x.x.x, which is probably different from your network's configuration.

centos82 is right, though. We need more information about how you have VirtualBox configured, specifically in the network adapter area.
 
Old 10-10-2008, 01:21 AM   #4
JATA01
Member
 
Registered: Nov 2007
Posts: 207

Original Poster
Rep: Reputation: 15
Yes, I am using Virtual box(sun os). Actually I have configured it on rhel5 as well as client and server.

This is on my laptop for only testing purpose, so I can make some R&D work using 2 or 3 systems.

IP is 192.168.0.x and 192.168.0.y ...

Thanks-
 
Old 10-10-2008, 02:51 AM   #5
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
So the IP of the host and the guest are in the same range?

Okay. Do you have internet access from the VM? Can you ping the router?
 
Old 10-10-2008, 07:11 AM   #6
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,194

Rep: Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040Reputation: 1040
By design, ping doesn't work from the VB guest to the outside if you have the network configured for NAT.

Wierd, but true. All the other traffic works, bit not ICMP. It is described in the manual, it is not an error.

It might be (and it likely is) different if you use a different configuration of the network. Using NAT is simple and I think preferable unless you have special requirements. On a laptop it is the only way to use the Wireless.

jlinkels
 
Old 10-10-2008, 09:47 AM   #7
LinuxCrayon
Member
 
Registered: Nov 2007
Location: Georgia, USA
Distribution: FreeBSD
Posts: 274

Rep: Reputation: 31
Quote:
Originally Posted by jlinkels View Post
By design, ping doesn't work from the VB guest to the outside if you have the network configured for NAT.

Wierd, but true. All the other traffic works, bit not ICMP. It is described in the manual, it is not an error.

It might be (and it likely is) different if you use a different configuration of the network. Using NAT is simple and I think preferable unless you have special requirements. On a laptop it is the only way to use the Wireless.

jlinkels
IIRC, ping does work in other network configurations.
 
  


Reply

Tags
virtual host


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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
virtual box Ozonecy Linux - General 1 01-16-2008 08:03 PM
virtual box alf_frommars Ubuntu 6 08-14-2007 09:30 AM
Virtual Box setup phantom_cyph Linux - Software 5 06-22-2007 01:57 PM
Virtual Box Blackbar Linux - Software 1 06-05-2007 08:25 PM
Virtual Box. Removing a shared folder inside virtual xp. glore2002 Linux - Software 2 05-20-2007 12:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:33 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration