Page 1 of 1

Error after change NAT network

Posted: 20. Dec 2013, 02:32
by lazna
If I change NAT network in following way:

"C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyvm "WXP" --natnet1 "10.12.49.208/29"

Virtual machine does not start with following error:

Unknown error during NAT networking setup: (VERR_INVALID_PARAMETER).
Návratový kód: E_FAIL (0x80004005)
Komponenta: Console
Rozhraní: IConsole {db7ab4ca-2a3f-4183-9243-c1208da92392}

but if modify in following way:

"C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyvm "WXP" --natnet1 "10.12.0.0/24"

than machine start fine.

VirtualBOX 4.3.6 Any ideas?

Re: Error after change NAT network

Posted: 20. Dec 2013, 23:37
by noteirak
Please provide a VM log file, if there is any?

Re: Error after change NAT network

Posted: 21. Dec 2013, 22:07
by lazna
00:00:03.107813 VMSetError: D:\tinderbox\win-4.3\src\VBox\Devices\Network\DrvNAT.cpp(1557) int __cdecl drvNATConstruct(struct PDMDRVINS *,struct CFGMNODE *,unsigned int); rc=VERR_INVALID_PARAMETER
00:00:03.107831 VMSetError: Unknown error during NAT networking setup:
00:00:03.107885 PDM: Failed to construct 'pcnet'/0! VERR_INVALID_PARAMETER (-2) - Invalid parameter.
00:00:03.171001 ERROR [COM]: aRC=E_FAIL (0x80004005) aIID={8ab7c520-2442-4b66-8d74-4ff1e195d2b6} aComponent={Console} aText={Unknown error during NAT networking setup: (VERR_INVALID_PARAMETER)}, preserve=false
00:00:03.236966 Power up failed (vrc=VERR_INVALID_PARAMETER, rc=E_FAIL (0X80004005))

Re: Error after change NAT network

Posted: 22. Dec 2013, 00:20
by noteirak
The completed log file please, as a zip attachment.

Re: Error after change NAT network

Posted: 22. Dec 2013, 13:59
by lazna
Here is it...

Re: Error after change NAT network

Posted: 23. Dec 2013, 10:56
by socratis
lazna wrote:"C:\Program Files\Oracle\VirtualBox\VBoxManage" modifyvm "WXP" --natnet1 "10.12.49.208/29"
I think that the routing prefix you used is a little bit unusual and it might confuse VBox. What were you trying to do? Limit the addresses to just 8?

Re: Error after change NAT network

Posted: 23. Dec 2013, 21:14
by lazna
I am trying to push VirtualBox to assign NAT IPs from given subnet. What is 'unusual' on /29 subnet? Its a RFC compliant CIDR subnetwork.
Is VirtualBox RFC observant?

L.

Re: Error after change NAT network

Posted: 23. Dec 2013, 22:28
by Perryg
Perhaps you should read the Users manual about this (Chapter 6-4) This is a basic use adaptation and experimental. From what I see it is very basic and subnets and super subnets are not figured into the code (yet).