Virtual machine can't get IP anymore from DHCP server

Discussions related to using VirtualBox on Windows hosts.
Post Reply
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

Virtual machine can't get IP anymore from DHCP server

Post by jmar83_the2nd »

Adapter (VBox bridge) seems to be "physically" (virtual physically) connected, and it uses the same ethernet cable and port as the host system. The host system gets an IP address without any problems, but not the VM.

That problem happened suddely, a hours ago there wasn't a problem like that.

Maybe it's not a Virtual Box problem, but windows 10 has updated itself in the background?? And that is the reason for that behavior?

-> Logs are attached.

-> The virtual machine is Debian 10 "Buster" with all most current updates installed.

Thank you very much for your feedbacks! :-)
Attachments
VirtualBox Problem.zip
(142.32 KiB) Downloaded 9 times
regards, jan
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual machine can't get IP anymore from DHCP server

Post by scottgus1 »

I looked at the logs but could not see where the problem was indicated. Please zip and post the VM's .vbox file, as well as the output of these commands:

In the host:
ipconfig /all

In the VM:
ifconfig
or
ip address
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Virtual machine can't get IP anymore from DHCP server

Post by fth0 »

VBox.log.1.txt wrote:
00:00:02.905811 [/Devices/e1000/0/Config/] (level 4)
00:00:02.905812   CableConnected <integer> = 0x0000000000000000 (0)
You seem to have unplugged the virtual Ethernet cable. ;)
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

Re: Virtual machine can't get IP anymore from DHCP server

Post by jmar83_the2nd »

Thank you very much; then, it must be a mistake of our employee...

I never saw that option - with the network connection settings (we use a bridge - same subnet and adapter / physical cable like the win10 host system)

How to re-connect that "virtual cable"? Is there an option in the VM menu on top of the VM window?
regards, jan
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

Re: Virtual machine can't get IP anymore from DHCP server

Post by jmar83_the2nd »

Is is that what you meant? (It's on my PC not on the employees one)
nw.JPG
nw.JPG (21.47 KiB) Viewed 1303 times
regards, jan
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: PUEL
Guest OSses: Windows, Linux

Re: Virtual machine can't get IP anymore from DHCP server

Post by scottgus1 »

Good eye, fth0! (as usual... 8) )

Yes,Jmar, that is the correct spot to re-connect the cable.
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

Re: Virtual machine can't get IP anymore from DHCP server

Post by jmar83_the2nd »

Thx!!!
regards, jan
fth0
Volunteer
Posts: 5677
Joined: 14. Feb 2019, 03:06
Primary OS: Mac OS X other
VBox Version: PUEL
Guest OSses: Linux, Windows 10, ...
Location: Germany

Re: Virtual machine can't get IP anymore from DHCP server

Post by fth0 »

jmar83_the2nd wrote:Is is that what you meant?
Yes. Alternatively, in the status area at the bottom right of the VM window, there's a network icon with a drop down menu.
jmar83_the2nd
Posts: 341
Joined: 9. Mar 2012, 00:14

Re: Virtual machine can't get IP anymore from DHCP server

Post by jmar83_the2nd »

Thx!! :-)
regards, jan
Post Reply