Port redirection lost on network interruptions

This is for discussing general topics about how to use VirtualBox.
Post Reply
luicpend
Posts: 5
Joined: 26. Jun 2007, 23:29

Port redirection lost on network interruptions

Post by luicpend »

I setup a Debian guest on a Windows XP machine, using NAT on a single network adapter. (VirtualBox 3.1.0)

Using port redirection, I am able to access the ssh server in the guest system, using the port 60022 in the Windows machine, doing:

Code: Select all

VBoxManage setextradata oracle32 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/Protocol" TCP
VBoxManage setextradata oracle32 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/GuestPort" 22
VBoxManage setextradata oracle32 "VBoxInternal/Devices/pcnet/0/LUN#0/Config/ssh/HostPort" 60022
It works very nicely, until the guest networking is interrupted.
This happens when the machine is saved, and, once it is restored, all network traffic to the guest is lost.

The same scenario happens by accessing the 'Devices/Network adapters' and disconnecting the cable / reconnecting it: the Windows host is unable to access the guest anymore. While I don't do this ever, saving the machine and restoring it later is a usual action.
Hachiman
Posts: 94
Joined: 18. Dec 2008, 21:04
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Linux, Solaris, NetBSD

Re: Port redirection lost on network interruptions

Post by Hachiman »

Sounds like 5666.
--
Kind regards
Sr. Software Engineer
Oracle Corporation
Vasily Levchenko

PS. Happy VBoxing.
Post Reply