Was trying to install the Kali-Linux on my Windows 10 after installing the Oracle Virtual Box 7 software.
Search the internet for a solutions which stated the path for VirtualBox 5.1.18 which I can’t find.
VirtualBox Manager » Preferences » Network » NAT Networks » Add new network (the icon with the green “+” on the right side).
After some struggling, manage to find the new path which is
VirtualBox Manager -> Tools -> Network Manager
Next click the NAT Network tab -> Create
If you check again, the error is resolved.
Have a good day. 🙂