Learn ethical hacking from scratch: IP address issue

Question for my instructor Zaid:

When I run Kali and Matasploitable at the same time, both machines have the same IP address…

How can I address this issue?
Thanks a lot,

By the way, I am having the same issue with the Windows machine, thanks a lot.

In VirtualBox control panel go to File -> Preferences -> Network

Select NAT Networks tab, create a new “NatNetwork” by clicking + button at side and press OK.

Now select each VM go to Settings -> Network

In Attached to: option choose NAT Network and select “NatNetwork” and press OK.

Restart all the VMs.

this may also be useful.

Wonderful Edwin, thanks a lot. It works very well now! Really appreciate your help.

no problem, i’m glad i could help :+1: