Is port forwarding differnet on OpenSolaris?

Discussions related to using VirtualBox on Solaris hosts.
Post Reply
drkirkby
Posts: 17
Joined: 4. Aug 2009, 19:15
Primary OS: OpenSolaris 11
VBox Version: OSE other
Guest OSses: Windows XP, Solaris 10

Is port forwarding differnet on OpenSolaris?

Post by drkirkby »

I tried asking this on the 'Using Virtualbox' but got no response. I'm wondering if this is an OpenSolaris specific issue.

I'm trying to use eMule on a Windows XP Virtual Machine. The host is a Sun Ultra 27 (quad core 3/33 GHz Xeon) running with a OpenSolaris 06/2009. I'm trying to forward a port to the XP guest, using the method described here:

http://www.virtualbox.org/manual/ch06.html#natforward

Code: Select all

    drkirkby@hawk:/chess$ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/emule/Protocol" TCP
    VirtualBox Command Line Management Interface Version 3.1.2
    (C) 2005-2009 Sun Microsystems, Inc.
    All rights reserved.

    drkirkby@hawk:/chess$ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort" 61000
    VirtualBox Command Line Management Interface Version 3.1.2
    (C) 2005-2009 Sun Microsystems, Inc.
    All rights reserved.

    drkirkby@hawk:/chess$ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/emule/GuestPort" 61000
    VirtualBox Command Line Management Interface Version 3.1.2
    (C) 2005-2009 Sun Microsystems, Inc.
    All rights reserved.
When I attempt to start the XP guest machine, I get error messages, but XP fails to boot.

Code: Select all

    00:00:00.708 VMSetError: NAT#0: configuration query for "HostPort" int failed
    00:00:00.708 PDM: Failed to construct 'pcnet'/0! VERR_CFGM_VALUE_NOT_FOUND (-2103) - Value not found.
    00:00:00.950 VMSetError: /export/home/vbox/tinderbox/3.1-sol-rel/src/VBox/VMM/VM.cpp(323) int VMR3Create(uint32_t, void (*)(VM*, void*, int, const char*, unsigned int, const char*, const char*, __va_list_tag*), void*, int (*)(VM*, void*), void*, VM**)
    00:00:00.950 VMSetError: Unknown error creating VM
    00:00:00.950 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005) aIID={6375231a-c17c-464b-92cb-ae9e128d71c3} aComponent={Console} aText={NAT#0: configuration query for "HostPort" int failed (VERR_CFGM_VALUE_NOT_FOUND).
    00:00:00.950 Unknown error creating VM (VERR_CFGM_VALUE_NOT_FOUND)} aWarning=false, preserve=false
    00:00:00.963 Power up failed (vrc=VERR_CFGM_VALUE_NOT_FOUND, rc=NS_ERROR_FAILURE (0X80004005))
If I then delete those values, with

Code: Select all


    $ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/emule/GuestPort" 
    $ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/guestssh/HostPort"
    $ VBoxManage setextradata "XP-with-SP3" "VBoxInternal/Devices/pcnet/0/LUN#0/Config/emule/Protocol"
then the XP guest boots OK.

Looking at the manual, pcnet may have to be changed to e1000 if using a different sort of networking. But I'm using the default, and when I log into the virtual XP machine and use "Control Panel", under networking I see PCNET and nothing indicating e1000, so I assume pcnet is correct.

Any ideas? How can I find out if pcnet'/0 actually exists on my virtual machine? (The error message indicates it does not, but I'm doing what the user manual says)

Dave
Post Reply