Internal Network, No IP address

Discussions related to using VirtualBox on Windows hosts.
Post Reply
ns4444
Posts: 13
Joined: 7. Dec 2021, 15:44

Internal Network, No IP address

Post 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!!
Attachments
2021-12-14 20_40_18-Kali (Initial) [Running] - Oracle VM VirtualBox.png
2021-12-14 20_40_18-Kali (Initial) [Running] - Oracle VM VirtualBox.png (88.48 KiB) Viewed 7452 times
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: Internal Network, No IP address

Post 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.
ns4444
Posts: 13
Joined: 7. Dec 2021, 15:44

Re: Internal Network, No IP address

Post 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!
Post Reply