VirtualBox

Opened 14 years ago

Closed 9 years ago

#6563 closed defect (obsolete)

Network dropout (on DHCP reallocation maybe?)..

Reported by: joncage Owned by:
Component: network Version: VirtualBox 3.1.6
Keywords: Cc:
Guest type: Windows Host type: Linux

Description (last modified by Frank Mehnert)

I'm using the Ubuntu built v3.1 Virtual Box on Cosmic Koala Ubuntu and though it works very well most of the time, I occasionally (every 3-4 hours or maybe when the dhcp license expires - not sure of the trigger yet) get a network dropout where the guest O/S appears to forget how to network. The weird thing is that I can connect into the guest o/s using RDP fine but it doesn't appear to be able to even ping it's host.

Here's some debug from the guest system while it's working:

C:\Documents and Settings\Uber Virtual User>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : virtualuber
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . :

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : AMD PCNET Family PCI Ethernet Adapter
        Physical Address. . . . . . . . . : 08-00-27-2F-D1-3C
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.0.2.15
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.0.2.2
        DHCP Server . . . . . . . . . . . : 10.0.2.2
        DNS Servers . . . . . . . . . . . : 10.0.2.2
        Lease Obtained. . . . . . . . . . : Tuesday, March 09, 2010 12:48:22 PM
        Lease Expires . . . . . . . . . . : Wednesday, March 10, 2010 12:48:22 PM

C:\Documents and Settings\Uber Virtual User>ping 10.0.2.2

Pinging 10.0.2.2 with 32 bytes of data:

Reply from 10.0.2.2: bytes=32 time=1ms TTL=127
Reply from 10.0.2.2: bytes=32 time=1ms TTL=127
Reply from 10.0.2.2: bytes=32 time=2ms TTL=127

This is it after breaking:

C:\Documents and Settings\Uber Virtual User>ipconfig /all

Windows IP Configuration

        Host Name . . . . . . . . . . . . : virtualuber
        Primary Dns Suffix  . . . . . . . :
        Node Type . . . . . . . . . . . . : Unknown
        IP Routing Enabled. . . . . . . . : No
        WINS Proxy Enabled. . . . . . . . : No
        DNS Suffix Search List. . . . . . :

Ethernet adapter Local Area Connection:

        Connection-specific DNS Suffix  . :
        Description . . . . . . . . . . . : AMD PCNET Family PCI Ethernet Adapter
        Physical Address. . . . . . . . . : 08-00-27-2F-D1-3C
        Dhcp Enabled. . . . . . . . . . . : Yes
        Autoconfiguration Enabled . . . . : Yes
        IP Address. . . . . . . . . . . . : 10.0.2.15
        Subnet Mask . . . . . . . . . . . : 255.255.255.0
        Default Gateway . . . . . . . . . : 10.0.2.2
        DHCP Server . . . . . . . . . . . : 10.0.2.2
        DNS Servers . . . . . . . . . . . : 10.0.2.2
        Lease Obtained. . . . . . . . . . : Wednesday, March 10, 2010 3:23:07 AM
        Lease Expires . . . . . . . . . . : Thursday, March 11, 2010 3:23:07 AM


C:\Documents and Settings\Uber Virtual User>ping 10.0.2.2

Pinging 10.0.2.2 with 32 bytes of data:

Request timed out.

I had a look at the guest O/S's system log and found a load of the following entries:

The name "WORKGROUP      :1d" could not be registered on the Interface with IP address 10.0.2.15.
   The machine with the IP address 10.0.2.2 did not allow the name to be claimed by this machine.

Can anyone help me debug the source of the problem or suggest a fix?

Attachments (9)

VBox.log (39.3 KB ) - added by joncage 14 years ago.
Virtual Box Log File
systeminfo.txt (9.1 KB ) - added by joncage 14 years ago.
systeminfo output
VirtualBox.xml (1.3 KB ) - added by joncage 14 years ago.
Virtualbox settings
dhcp error message.JPG (53.7 KB ) - added by adamp 14 years ago.
Windows NT-2010-07-22-12-57-24_b1.log (71.3 KB ) - added by adamp 14 years ago.
Windows NT-2010-07-23-14-45-56_b1.log (71.4 KB ) - added by adamp 14 years ago.
Windows NT-2010-07-26-14-40-17_b1.log (70.7 KB ) - added by adamp 14 years ago.
Windows NT-2010-07-28-04-56-26_b1.log (56.0 KB ) - added by adamp 14 years ago.
VBox.2.log (40.6 KB ) - added by Maarten Jacobs 13 years ago.
Current VirtualBox Session

Download all attachments as: .zip

Change History (32)

by joncage, 14 years ago

Attachment: VBox.log added

Virtual Box Log File

comment:1 by vasily Levchenko, 14 years ago

Description: modified (diff)

comment:2 by vasily Levchenko, 14 years ago

Your guest is running some torrent client right? I'll try to reproduce it here?

comment:3 by Frank Mehnert, 14 years ago

Description: modified (diff)

in reply to:  2 ; comment:4 by joncage, 14 years ago

Replying to Hachiman:

Your guest is running some torrent client right? I'll try to reproduce it here?

That's correct; uTorrent to be precise but I'm pretty sure that's a red herring; I think this problem is caused by the DHCP lease expiring. The host is running the DHCP server. Let me know if there's any other information that you think might help.

I tried lengthening the DHCP lease to a month last night and the box is still running without any problems.

in reply to:  4 ; comment:5 by joncage, 14 years ago

Replying to Hachiman:

Your guest is running some torrent client right? I'll try to reproduce it here?

I have another open bug (reports of too many open files) which I believe _is_ related to running uTorrent though: http://www.virtualbox.org/ticket/6464

in reply to:  5 ; comment:6 by vasily Levchenko, 14 years ago

Replying to joncage:

Replying to Hachiman:

Your guest is running some torrent client right? I'll try to reproduce it here?

I have another open bug (reports of too many open files) which I believe _is_ related to running uTorrent though: http://www.virtualbox.org/ticket/6464

When you've mentioned about several hours I've thought about "too many files" too, because I've met with similar problem but with sockets on trunk, but hopefully in my case expiration of unused sockets happens quiet soon (5-10 min.) and NAT continue its working after not very long outage. About DHCP lease it should expire within 24h, that why I've doubted about DHCP lease. Of course it could be some specific for Windows dhcp client behavior. Will experiment with smaller expiration periods.

in reply to:  6 ; comment:7 by joncage, 14 years ago

Replying to Hachiman:

When you've mentioned about several hours I've thought about "too many files" too, because I've met with similar problem but with sockets on trunk, but hopefully in my case expiration of unused sockets happens quiet soon (5-10 min.) and NAT continue its working after not very long outage. About DHCP lease it should expire within 24h, that why I've doubted about DHCP lease. Of course it could be some specific for Windows dhcp client behavior. Will experiment with smaller expiration periods.

I think the four hours is actually the too many files problem wheras this one is just when the DHCP lease expires. I should have made that clearer, but at the time of writing I hadn't convinced myself that the two were separate issues.

in reply to:  7 comment:8 by vasily Levchenko, 14 years ago

Replying to joncage: I've tried Vista and XP guest here (on trunk) with 1 min, lease expiration. and haven't noticed any outages (guest even has downloaded some updates :)). Could you please attach output of systeminfo command on your guest.

Note: VBox's Shared folders and VBox's RDP do not use networking NAT either other types. So they couldn't be used for validating networking activity.

by joncage, 14 years ago

Attachment: systeminfo.txt added

systeminfo output

by joncage, 14 years ago

Attachment: VirtualBox.xml added

Virtualbox settings

comment:9 by joncage, 14 years ago

Okay, systeminfo output added along with my virtualbox settings. Could it be the DHCP setting I have in there screwing things up perhaps?

in reply to:  9 ; comment:10 by vasily Levchenko, 14 years ago

Replying to joncage:

Could it be the DHCP setting I have in there screwing things up perhaps?

no. NAT use built-in dhcp server. Ok, will try with 3.1 then.

in reply to:  10 ; comment:11 by adamp, 14 years ago

Replying to Hachiman:

Replying to joncage:

Could it be the DHCP setting I have in there screwing things up perhaps?

no. NAT use built-in dhcp server. Ok, will try with 3.1 then.

Hachiman, please tell me something about status of the issue above. We met similar problem and I'dont know, how to resolve this. We have Windows NT installed as guest on Ubuntu host OS. Under Ubuntu we configured CDDI network card. Data flow to this interface is forwarding to Windows NT (guest) through port forwarding feature. This is working fine for first 24 hours (DHCP lease period?). After this time data flow (through port forwarding) stops working. To repair this we must restart host system. Please help how to resolve this problem.

in reply to:  11 ; comment:12 by vasily Levchenko, 14 years ago

Replying to joncage:

Could it be the DHCP setting I have in there screwing things up perhaps?

no. NAT use built-in dhcp server. Ok, will try with 3.1 then.

Hachiman, please tell me something about status of the issue above. We met similar problem and I'dont know, how to resolve this. We have Windows NT installed as guest on Ubuntu host OS. Under Ubuntu we configured CDDI network card. Data flow to this interface is forwarding to Windows NT (guest) through port forwarding feature. This is working fine for first 24 hours (DHCP lease period?). After this time data flow (through port forwarding) stops working. To repair this we must restart host system. Please help how to resolve this problem.

That sounds differently. Could you please attach the log file?

in reply to:  12 comment:13 by adamp, 14 years ago

Replying to Hachiman:

Replying to joncage:

Could it be the DHCP setting I have in there screwing things up perhaps?

no. NAT use built-in dhcp server. Ok, will try with 3.1 then.

Hachiman, please tell me something about status of the issue above. We met similar problem and I'dont know, how to resolve this. We have Windows NT installed as guest on Ubuntu host OS. Under Ubuntu we configured CDDI network card. Data flow to this interface is forwarding to Windows NT (guest) through port forwarding feature. This is working fine for first 24 hours (DHCP lease period?). After this time data flow (through port forwarding) stops working. To repair this we must restart host system. Please help how to resolve this problem.

That sounds differently. Could you please attach the log file?

OK. I'll send you tomorrow.

by adamp, 14 years ago

Attachment: dhcp error message.JPG added

in reply to:  12 comment:14 by adamp, 14 years ago

Replying to Hachiman:

Replying to joncage:

Could it be the DHCP setting I have in there screwing things up perhaps?

no. NAT use built-in dhcp server. Ok, will try with 3.1 then.

Hachiman, please tell me something about status of the issue above. We met similar problem and I'dont know, how to resolve this. We have Windows NT installed as guest on Ubuntu host OS. Under Ubuntu we configured CDDI network card. Data flow to this interface is forwarding to Windows NT (guest) through port forwarding feature. This is working fine for first 24 hours (DHCP lease period?). After this time data flow (through port forwarding) stops working. To repair this we must restart host system. Please help how to resolve this problem.

That sounds differently. Could you please attach the log file?

Please find attached above requested files. "Log" files are VirtualBox log files from few days after port forwarding stops working (host needs restart and so on). "Jpg" file contains screenshot of the host computer screen - sorry, this message is from localized (polish) Windows NT. Here is the translation:

Dialog title: "DHCP client".

Dialog text: "DHCP cannot renew connection for 10.0.5.15 IP addres. This connection is valid till Sun Jul 25 14:47:19 2010. DHCP will try to renew this connection before validity time expires".

Please note, that port forwarding feature is configured for port number 4444.

Once again thank you for your support.

in reply to:  12 comment:15 by adamp, 14 years ago

Replying to Hachiman:

Replying to joncage:

Could it be the DHCP setting I have in there screwing things up perhaps?

no. NAT use built-in dhcp server. Ok, will try with 3.1 then.

Hachiman, please tell me something about status of the issue above. We met similar problem and I'dont know, how to resolve this. We have Windows NT installed as guest on Ubuntu host OS. Under Ubuntu we configured CDDI network card. Data flow to this interface is forwarding to Windows NT (guest) through port forwarding feature. This is working fine for first 24 hours (DHCP lease period?). After this time data flow (through port forwarding) stops working. To repair this we must restart host system. Please help how to resolve this problem.

That sounds differently. Could you please attach the log file?

Hello. Any help for above issue?

comment:16 by vasily Levchenko, 14 years ago

Could you please replace VBoxDD.so with http://www.virtualbox.org/download/testcase/VBoxDD.so.6563 and start you VM in the following way:

# export VBOX_LOG=drv_nat.e.l2
# export VBOX_LOG_DEST=file=nat.log
# VirtualBox -start <you-vm>

and please attach result nat.log to defect.

in reply to:  16 ; comment:17 by adamp, 14 years ago

Replying to Hachiman:

Could you please replace VBoxDD.so with http://www.virtualbox.org/download/testcase/VBoxDD.so.6563 and start you VM in the following way:

# export VBOX_LOG=drv_nat.e.l2
# export VBOX_LOG_DEST=file=nat.log
# VirtualBox -start <you-vm>

and please attach result nat.log to defect.

Excuse me for the idle time - now I have results (log files). But there is a problem: requested files are HUGE - about 350MB after compression. How to send you these files?

in reply to:  17 ; comment:18 by vasily Levchenko, 14 years ago

Replying to adamp:

Excuse me for the idle time - now I have results (log files). But there is a problem: requested files are HUGE - about 350MB after compression. How to send you these files?

Please, drop me mail at vasily _dot_ levchenko _at_ Sun _dot_ COM, I'll send instructions to how big files could be delivered to me? Thanks.

in reply to:  18 comment:19 by vasily Levchenko, 14 years ago

for record: instructions have been sent.

comment:20 by Frank Mehnert, 14 years ago

Any chance to test the E1000 device? Windows XP knows the E1000 server variant we emulate but I'm not sure about NT.

comment:21 by Maarten Jacobs, 13 years ago

Hello,

I have been trying to debug an issue with VirtualBox where my Guest OS (Windows 2000) "loses" its network connection - for as far as I've been able to figure out so far, the problem is related to a failure to renew the IP address once the DHCP Lease expires.

In contrast to what has been described in this report, I'm using a bridged (not NAT) connection. Other than that some of the observations noted above seem to be synonymous with my findings to date, so rather than opening a new bug I'm hoping that responding to this bug might help me.

I first realized I had the problem on VirtualBox 4.0.2 (although I might have also experienced the same problem on earlier versions). I've just installed VirtualBox 4.0.4. My host OS is Ubuntu 10.10:

Linux snellebak 2.6.35-25-generic #44-Ubuntu SMP Fri Jan 21 17:40:48 UTC 2011 i686 GNU/Linux

I've attached my log file for a current session on VirtualBox. Can somebody give me some pointers on figuring out whether I have the same issue as this report, or whether I've got a different problem?

by Maarten Jacobs, 13 years ago

Attachment: VBox.2.log added

Current VirtualBox Session

comment:22 by Maarten Jacobs, 13 years ago

Here's a short transcript of the latest sequence of events... Not sure if any of this helps but I'll keep plugging away at it. (Same data is also kept here: https://answers.launchpad.net/ubuntu/+source/virtualbox-ose/+question/145118)

2/18/11 14:17 Start - IP address assigned; lease through 2/19/11 14:17
2/19/11 02:17 DHCP Request/Reply; lease renewed through 2/20/11 02:17

02:17:59.830960 IP (tos 0x0, ttl 64, id 24785, offset 0, flags [none], proto UDP (17), length 335) vm-snellebak.home.bootpc > Wireless_Broadband_Router.home.bootps: BOOTP/DHCP, Request from 08:00:27:1e:9f:04 (oui Unknown), length 307, xid 0x937a7f9a, Flags [none] 02:18:00.642089 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto UDP (17), length 328) Wireless_Broadband_Router.home.bootps > vm-snellebak.home.bootpc: BOOTP/DHCP, Reply, length 300, xid 0x937a7f9a, Flags [none]

2/19/11 14:17 DHCP Request/Reply:

14:19:43.983745 IP (tos 0x0, ttl 64, id 26900, offset 0, flags [none], proto UDP (17), length 335) vm-snellebak.home.bootpc > Wireless_Broadband_Router.home.bootps: BOOTP/DHCP, Request from 08:00:27:1e:9f:04 (oui Unknown), length 307, xid 0x14dace07, Flags [none] 14:19:45.042701 IP (tos 0x10, ttl 16, id 0, offset 0, flags [none], proto UDP (17), length 328) Wireless_Broadband_Router.home.bootps > vm-snellebak.home.bootpc: BOOTP/DHCP, Reply, length 300, xid 0x14dace07, Flags [none]

--> Connectivity Lost; "ipconfig /all" does not report anything. Windows "frozen" - appears a process is using 100% CPU but cannot determine which as Taskmanager cannot be run. ARP packets continue to be exchanged between router and Windows.

System Log documents error when starting ipconfig:

Event Type: Information
Event Source: Application Popup
Event Category: None
Event ID: 26
Date: 2/19/2011
Time: 18:15:20
User: N/A
Computer: VM-SNELLEBAK
Description:
Application popup: ipconfig.exe - Application Error : The application failed to initialize properly (0xc0000142). Click on OK to terminate the application.

--> I have not yet been able to determine conclusively what this error means - it sounds like it is related to a missing file and/or dependency but given the scenario I'm not sure if that makes sense. I do wonder if it is related to the same problem as reported by the dhcp client (see below).

System Log documents repeated errors from dhcp service on Windows, starting at 02:20 on 2/20/11:

Event Type: Warning
Event Source: Dhcp
Event Category: None
Event ID: 1003
Date: 2/20/2011
Time: 02:20:45
User: N/A
Computer: VM-SNELLEBAK
Description:
Your computer was not able to renew its address from the network (from the DHCP Server) for the Network Card with network address 0800271E9F04. The following error occured:
An operation was attempted on something that is not a socket. . Your computer will continue to try and obtain an address on its own from the network address (DHCP) server.
Data:
0000: 36 27 00 00 6'..

comment:23 by Frank Mehnert, 9 years ago

Description: modified (diff)
Resolution: obsolete
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2023 Oracle
ContactPrivacy policyTerms of Use