Grab IP from DHCP????

Discussions related to using VirtualBox on Linux hosts.

Grab IP from DHCP????

Postby KateGa » 18. Jun 2021, 05:21

Sorry all, I am VERY new at this stuff. I was trying set up a vulnhub beginner machine for my school project. I can't figure out how to assign an IP address to a VM after importing it. The server is their and running.

I saw in the instructions for setting up a local lab using linux:
sudo cp /etc/network/interfaces{,.bak}
sudo vi /etc/network/interfaces ## what do I change here?
sudo service isc-dhcp-server restart (Or 'sudo service dhcpd-server restart')
Done! (Check by connecting another VM on the same virtual network)

Looks like an instruction was left out on how to change the /etc/network/interfaces file. Can someone help? After I change it, how do I assign an IP to an imported VM?
Posts: 1
Joined: 18. Jun 2021, 05:17

Re: Grab IP from DHCP????

Postby mpack » 18. Jun 2021, 10:04

I already answered basically the same question yesterday.

Site Moderator
Posts: 34699
Joined: 4. Sep 2008, 17:09
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Mostly XP

Return to VirtualBox on Linux Hosts

Who is online

Users browsing this forum: Google [Bot] and 9 guests