Page 1 of 1

Error when port forwarding

Posted: 9. Jun 2009, 19:35
by dsmith004
I am experimenting with VirtualBox for use hosting telecommunication management software in a classroom environment where the lab and management applications are remote. The Guest OS is reached using RDP.

I have built a PC with sufficient memory and processor to support the host OS and 4 concurrent instances of XP Pro as the Guest OS. Each Guest OS will have run a MySQL based manaement application.

I have one Guest OS built for testing (TX2900-VM05).

Currently I bridge all interfaces and have each XP guest OS configured with a unique IP address except for TX2900-VM05.

I would like to use NAT and port forwarding to conserve IP addresses but have hit a snag.

Host OS: Windows XP Pro
Guest OS: 4x Instances of Windows XP Pro

On 2900TX-VM05 I configured the Guest OS for DHCP and NAT. This works fine.
I used VBox Manage to map port 10005 to port 3389 - here is where the rot set in.

The commands I used follow:

VBoxManage setextradata "2900TX-VM05" "VBoxInternal/Devices/Am79C973/0/LUN#0/Config/guestrdp/Protocol" TCP
VBoxManage setextradata "2900TX-VM05" "VBoxInternal/Devices/Am79C973/0/LUN#0/Config/guestrdp/GuestPort" 3389
VBoxManage setextradata "2900TX-VM05" "VBoxInternal/Devices/Am79C973/0/LUN#0/Config/guestrdp/HostPort" 10005

When I attempt to start the Guest OS I receive the following error:

Failed to start the virtual machine 2900TX-VM05
Unknown error creating VM (VERR_PDM-DEVICE_NOT_FOUND)


Details

Result Code:
E_FAIL (0x80004005)
Component: Console
Interface: IConsole {9511bc54-15ee-4ddf-808e-472aba03809c}


I used VBoxManage showvminfo 2900TX-VM05 to review my configuration and after a few minutes of "stare and compare" I did not see any reference to {9511bc54-15ee-4ddf-808e-472aba03809c}.

What am I missing here to make this work? VirtualBox is GREAT! I am currently running a LINUX lab in an Active Directory
network with LINUX VMs on the two AD Controllers. This is a very cool product!

Thank you in advance for your assistance.

Regards,
Dale Smith

Re: Error when port forwarding

Posted: 9. Jun 2009, 20:08
by baf
I think you should replace:
Am79C973
with either
e1000 or pcnet in your commands which one depends on the chosen type of virtual network card you use.

VBoxManage setextradata "2900TX-VM05" "VBoxInternal/Devices/Am79C973/0/LUN#0/Config/guestrdp/Protocol" TCP