VirtualBox

Ticket #6415 (closed defect: worksforme)

Opened 4 years ago

Last modified 4 years ago

NAT: can't create datagramm socket

Reported by: raveman Owned by:
Priority: major Component: network/NAT
Version: VirtualBox 3.1.4 Keywords:
Cc: Guest type: Windows
Host type: Linux

Description

I get this error in the log file. VBox running but i cant connect from outside.

Attachments

VBox.log Download (174.3 KB) - added by raveman 4 years ago.

Change History

Changed 4 years ago by raveman

comment:1 Changed 4 years ago by frank

  • Status changed from new to closed
  • Resolution set to invalid

Please read the user manual and  this Wiki article. In short: That's the nature of NAT, the guest behaves like behind a router. If you need to connect from the outside, either use bridged networking or enable port forwarding (all described in the user manual).

comment:2 follow-up: ↓ 4 Changed 4 years ago by raveman

  • Status changed from closed to reopened
  • Resolution invalid deleted

Connect from outside = via vrdp connection and this is works with NAT ... i get this error randomly (guest run for a while and i cant connect via vrdp what when the guest started worked of course) i need restart guest and again works for a while. i have 10 vps / host so havent a day without this error of course until i havent restarted the guest in guest no network i run some netapp in background. this is the nature of NAT?

comment:3 Changed 4 years ago by frank

If you are using RDP to connect to the VM then this has nothing to do with NAT. However, the NAT error in your VM shows indeed a NAT problem.

comment:4 in reply to: ↑ 2 Changed 4 years ago by Hachiman

Replying to raveman:

Connect from outside = via vrdp connection and this is works with NAT ... i get this error randomly (guest run for a while and i cant connect via vrdp what when the guest started worked of course) i need restart guest and again works for a while. i have 10 vps / host so havent a day without this error of course until i havent restarted the guest in guest no network i run some netapp in background. this is the nature of NAT?

Could you please describe what applications are working in your guest? It looks like problem is with applications using UDP. I'll upload debug bits to fetch more information about failure nature.

comment:5 Changed 4 years ago by Hachiman

Could you please do the following:

  1. Download  VBoxDD.so and corresponding binary in your installation (please don't forget save original copy).

Note: debug bits are closer to 3.1.6 so the upgrade is strongly recommended to avoid unexpected side-effects

  1. install wireshark on your host system ( http://www.wireshark.org).
  2. Launch the guest in the following way:
    # export VBOX_LOG=drv_nat.e.l2
    # export VBOX_LOG_DEST=file=nat.log
    # VBoxManage modifyvm <your-vm-name> --nictrace1 on --nictracefile1 nat.pcap
    # VirtualBox -startvm <your-vm-name>
    
  3. collect pcap files from host (using wireshark ) and guest (please see  http://www.virtualbox.org/wiki/Network_tips for details).
  4. please send me collected data (nat.log, nat.pcap and pcap file from host interface) to me (vasily _dot_ v _dot_ levchenko _at_ Sun _dot_ COM).

comment:6 Changed 4 years ago by Hachiman

  • Status changed from reopened to closed
  • Resolution set to worksforme

no response, closing.

Note: See TracTickets for help on using tickets.

www.oracle.com
ContactPrivacy policyTerms of Use