Make 2 virtual machines ping in virtual box
Posted
by
darkheir
on Super User
See other posts from Super User
or by darkheir
Published on 2012-11-16T10:32:26Z
Indexed on
2012/11/16
11:04 UTC
Read the original article
Hit count: 284
I'm trying to make 2 virtual machines communicate in Virtual Box, but whitout any success.
Here are the step I have done:
- I setted both VMs in Internal networking mode (using
VBoxManage modifyvm "VM name" --nic<x> intnet
) - I setted the DHCP server that is built into VirtualBox to manage IP addresses :
VBoxManage dhcpserver add --netname intnet --ip 10.13.13.100 --netmask 255.255.255.0 --lowerip 10.13.13.101 --upperip 10.13.13.254 --enable
But then both of the VM have the same IP Adresse (10.13.13.101) and even if set the IP manually, the Virtual Machines are not pinging each other.
© Super User or respective owner