Page 1 of 1

Internal Network, No IP address

Posted: 15. Dec 2021, 03:43
by ns4444
Hello,

I am trying to have my guest Kali Linux have an IP address. I have three other windows 10 guest OS VM running with an Internal network, and they all have IP addresses. Only the Kali Linux does not have an IP address, for all 4 guest machines, I selected two network adapters in the settings when the VMs were shut down. I chose Internal Network on one adapter and NAT on another (to connect to WAN). In order to receive internet on Kali Linux, I chose Wired Connection in the internet tab section in the top right corner on Kali Linux desktop page. However, I have no IP for the Internal Network card. I have attached an image of the Kali Linux "ifconfig" command. Please help me out..



Thanks in advance!!

Re: Internal Network, No IP address

Posted: 15. Dec 2021, 04:02
by scottgus1
See Virtualbox Networks: In Pictures: Internal Network.

Internal does not have a DHCP server on it by default. So a VM adapter attached to Internal won't get an IP address, unless you set the adapter to static IP in the VM's OS or provide a DHCP server on the Internal network, either through another VM or by manually enabling a DHCP server through Vboxmanage, see https://www.virtualbox.org/manual/ch08. ... dhcpserver.

Re: Internal Network, No IP address

Posted: 15. Dec 2021, 05:48
by ns4444
scottgus1 wrote:See Virtualbox Networks: In Pictures: Internal Network.

Internal does not have a DHCP server on it by default. So a VM adapter attached to Internal won't get an IP address, unless you set the adapter to static IP in the VM's OS or provide a DHCP server on the Internal network, either through another VM or by manually enabling a DHCP server through Vboxmanage, see https://www.virtualbox.org/manual/ch08. ... dhcpserver.
Thank you! I figured it out with your help! I set up the DHCP for Kali and set up static IPs for the Windows VMs. They are all on the same network now! I pinged them and they are up and running!! Thank you!