Ticket #7404 (closed defect: obsolete)

Opened 7 years ago

Last modified 21 months ago

Network timeouts

Reported by: jpschewe Owned by:
Priority: major Component: network/hostif
Version: VirtualBox 3.2.8 Keywords:
Cc: Guest type: BSD
Host type: Mac OS X

Description (last modified by frank) (diff)

I'm using virtualbox 3.2.8 on Mac OS Snow Leopard. I have 2 NetBSD virtual machines that have 3 network cards: 1) NAT 2) host only to do NFS to host 3) internal network to do network testing

When I leave the machines idle for some time, half hour to an hour, and then come back to them, the host only network dies. They can ping each other through the internal network and they can ping the outside world through the nat, however they are unable to ping the host through the host only and the host cannot ping the guests through the host only network. Watching tcpdump on the guests, I see traffic going out, but nothing coming in. If I keep a ping going continuously I find that I will get request timeouts for 50 or so messages and then they'll all come in at the same time.

Right now the workaround is to suspend the guest(s) and then start them again, then everything is fine.

Change History

comment:1 Changed 7 years ago by jpschewe

One other thing to note, I am running the 64-bit kernel by passing arch=x86_64 to the kernel at boot time.

comment:2 Changed 7 years ago by frank

Just to be sure: Did you choose the same virtual network device type (pcnet or e1000?) for all three network cards?

comment:3 Changed 7 years ago by jpschewe

Yes they are all pcnet cards.

comment:4 Changed 7 years ago by jpschewe

I switched back to the standard 32-bit kernel and I just had another lockup right now. The guest with the problem could ping another guest on the internal network, but could not ping the host on the host-only network. Nor could it ping the other guest on the host-only network. The problem guest can still ping the outside through the NAT interface.

comment:5 Changed 7 years ago by theraven

I see similar behaviour with FreeBSD VMs on OS X. This isn't new - it's happened on 10.5 with VirtualBox 2.x right up until the latest version. My VM has a host-only network and a bridged network. Both exhibit the same kind of symptoms, but the host-only one seems a lot more fragile.

Sometimes trying to renew the DHCP lease in the VM will make the network start working, but not always. dhclient in the VM can usually (always?) talk to the DHCP server, but not to the host, which makes me suspect that the problem is in the vboxnet kernel module. Unloading and then reloading this module seems to make things work again in the cases where the network won't work even after restarting the VM.

comment:6 Changed 7 years ago by jpschewe

I'm finding that it's worse when my Mac host is under high load.

comment:7 Changed 7 years ago by frank

  • Component changed from network to network/hostif

comment:8 Changed 21 months ago by frank

  • Status changed from new to closed
  • Resolution set to obsolete
  • Description modified (diff)
Note: See TracTickets for help on using tickets.
ContactPrivacy policyTerms of Use