LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Virtual Box (https://www.linuxquestions.org/questions/linux-software-2/virtual-box-675421/)

JATA01 10-09-2008 10:57 PM

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!!

centos82 10-09-2008 11:53 PM

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

LinuxCrayon 10-10-2008 12:14 AM

Quote:

Originally Posted by centos82 (Post 3305774)
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.

JATA01 10-10-2008 12:21 AM

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-

LinuxCrayon 10-10-2008 01:51 AM

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?

jlinkels 10-10-2008 06:11 AM

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

LinuxCrayon 10-10-2008 08:47 AM

Quote:

Originally Posted by jlinkels (Post 3306010)
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.


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