VirtualBox

Opened 18 years ago

Closed 17 years ago

#882 closed defect (wontfix)

Malformed ping requests sent using NAT

Reported by: Erik Haukjaer Andersen Owned by:
Component: other Version: VirtualBox 1.5.2
Keywords: Cc:
Guest type: other Host type: other

Description

Using VirtualBox 1.5.2 installed with Windows XP SP 2. VirtualBox set up to use NAT. Due to other problems I tried to ping my nameserver from Win XP in VirtualBox (to see if there was routing through the NAT). I got no answer back in Win XP (Request timed out) Using wireshark to capture the packets I saw that the ping packets seem to have multiple problems:

  • They do not use ICMP, but UDP port 7 (echo)
  • The checksum is not correct

(the response is a ICMP package with Port Unreachable - because the NS server does not listen on UDP port 7)

Both linux ping and Windows XP's own ping uses ICMP ping/echo requests and not UDP echo.

Attachments (3)

VBWinXP_ping (330 bytes ) - added by Erik Haukjaer Andersen 18 years ago.
WireShark dump of VirtualBox ping from Window XP (request and response)
Linux_ping (252 bytes ) - added by Erik Haukjaer Andersen 18 years ago.
linux ping (request and response)
WinXP_ping (114 bytes ) - added by Erik Haukjaer Andersen 18 years ago.
Windows XP ping request (not comming from Virtual Box)

Download all attachments as: .zip

Change History (5)

by Erik Haukjaer Andersen, 18 years ago

Attachment: VBWinXP_ping added

WireShark dump of VirtualBox ping from Window XP (request and response)

by Erik Haukjaer Andersen, 18 years ago

Attachment: Linux_ping added

linux ping (request and response)

by Erik Haukjaer Andersen, 18 years ago

Attachment: WinXP_ping added

Windows XP ping request (not comming from Virtual Box)

comment:1 by Klaus Espenlaub, 17 years ago

You can attach as much proof of ping not working as you want - it is a known issue and documented in the manual. If you have an idea how to fix the issue it's very welcome.

The VirtualBox NAT engine is a purely user level implementation using the normal Unix socket interface. Sending/receiving any ping packet requires root privileges, which would prevent normal users running VirtualBox.

comment:2 by Frank Mehnert, 17 years ago

Resolution: wontfix
Status: newclosed
Note: See TracTickets for help on using tickets.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette