You are on page 1of 5

Practical 2

Aditya Agrawal
C036
70472018044

AIM: To install two Virtual Machines on VirtualBox and make them communicate
with each other.

Install 2 Virtual Machines on VirtualBox:

Opening the Terminal in both the machines:


First we check the IP address of both the machines using the command ip a and
ifconfig on ubuntu and kali respectively. Both have the same IP address i.e.
10.0.2.15.

After pinging 10.0.2.15 we can see that there was no connection established
between these 2 machines with same IP address.
Then we go the preferences in the Tools Options in the VM VirtualBox

And then go to networks


We configured the NAT network by changing its name and network CIDR

Save the network settings of each virtual machine then by clicking ok.
Now we can check the IP of both the machines, Ubuntu’s IP 192.168.99.5 and
Kali’s IP 192.168.99.4

At last, when we ping 192.168.99.4 from Ubuntu and 192.168.99.5 from Kali we
can see that the connection is established.

-------------------------------------------------------------------------------------------------------------

You might also like