Ping between two virtual machines


 
Thread Tools Search this Thread
Operating Systems Linux Ubuntu Ping between two virtual machines
# 1  
Old 04-20-2012
Ping between two virtual machines

Hello,

I installed two virtual machines ubuntu10 on VM VirtualBox .

Please, what are the steps to make a ping from one of these two machines on the other (the configurations )?

Thank you.
# 2  
Old 04-20-2012
You need to answer the following first really:-
  1. Have you defined them with network access?
  2. Are they on the same subnet or do they have suitable routing between them?
  3. What else have you tried?
If you have, then try the ping command.




I hope that this helps

Robin
Liverpool/Blackburn
UK

Last edited by rbatte1; 04-20-2012 at 10:48 AM.. Reason: Spelling
# 3  
Old 04-27-2012
Yes, it's possible, but you have to setup networking correctly. By not giving us any specifics, it looks like you asked for help without trying to do it yourself first.

Google these terms: virtualbox faq networking
# 4  
Old 05-24-2012
First thing to do is to test the connection, try using ping. If it does not work, what is the error message for us to be able find a better solution for that. Also verify if you are having a firewall since most of the case, firewall prevents you from doing so.
# 5  
Old 05-24-2012
Indead of setting up the VMs to use NAT (the default on VirtualBox), set them up to up a private network.
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Providing virtual machine priority in kvm based virtual machines

Hi All, Is there any way I can prioritize my VMs when there is resource crunch in host machine so that some VMs will be allocated more vcpu, more memory than other VMs in kvm/qemu hypervisor based virtual machines? Lets say in my cloud environment my Ubuntu 16 compute hosts are running some... (0 Replies)
Discussion started by: SanjayK
0 Replies

2. UNIX and Linux Applications

Help with Install KVM and Create Virtual Machines VMWare In PC

Help with Install KVM and Create Virtual Machines VMWare In PC. I want to lean KVM bios Logical Volume Management by KVM and other problem fix remotely.So,I want to practice on my PC.It,s Possible then how? Thank you (0 Replies)
Discussion started by: domaingood
0 Replies

3. Virtualization and Cloud Computing

Virtual machines in vmware requires reset of the vlan

I have virtual machines in the vmware environment that run either windows or linux that loose conncetivity and every time i have to change their vlan to vm network and latter join them to original vlan to gain connectivity. Advice (0 Replies)
Discussion started by: amwai
0 Replies

4. UNIX for Dummies Questions & Answers

Need help with finding info on pcode-interpreters-virtual machines

I'm trying to research interpreters and I can't find much info on Pcode or how or why it is used. Thanks in advance!:wall: (2 Replies)
Discussion started by: theKbStockpiler
2 Replies

5. Linux

Routing via several interfaces for hosted virtual machines

My setup consists of a hardware node, which hosts several virtual machines (OpenVZ, to be precise). The hardware node has two network interfaces (<ifA>, <ifB>) connected to different subnets (<networkA>, <networkB>). I want to route the traffic of certain VEs over <ifB> while routing the other VEs... (0 Replies)
Discussion started by: bakunin
0 Replies

6. Windows & DOS: Issues & Discussions

Backing up virtual machines - opinions/suggestions needed.

Hi, I was required to do a backup of a virtual machine that runs on vmware. The guest operating system is windows, and the host is windows too. I have to backup the whole directory of the virtual machine (say in linux it'll be in /var/lib/vmware/virtual machines/) to a linux server. Initially... (0 Replies)
Discussion started by: 60doses
0 Replies

7. UNIX for Advanced & Expert Users

ping all the machines in the network

Is there any option for the utility "ping" , which can ping all the machines in the network? (5 Replies)
Discussion started by: praveen_b744
5 Replies
Login or Register to Ask a Question