Error after change NAT network

Discussions related to using VirtualBox on Windows hosts.
Post Reply
lazna
Posts: 16
Joined: 20. Dec 2013, 02:19

Error after change NAT network

Post 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?
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Error after change NAT network

Post by noteirak »

Please provide a VM log file, if there is any?
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
lazna
Posts: 16
Joined: 20. Dec 2013, 02:19

Re: Error after change NAT network

Post 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))
noteirak
Site Moderator
Posts: 5231
Joined: 13. Jan 2012, 11:14
Primary OS: Debian other
VBox Version: OSE Debian
Guest OSses: Debian, Win 2k8, Win 7
Contact:

Re: Error after change NAT network

Post by noteirak »

The completed log file please, as a zip attachment.
Hyperbox - Virtual Infrastructure Manager - https://apps.kamax.lu/hyperbox/
Manage your VirtualBox infrastructure the free way!
lazna
Posts: 16
Joined: 20. Dec 2013, 02:19

Re: Error after change NAT network

Post by lazna »

Here is it...
Attachments
WXP_Protonet-2013-12-21-23-31-15.zip
(5.82 KiB) Downloaded 13 times
socratis
Site Moderator
Posts: 27329
Joined: 22. Oct 2010, 11:03
Primary OS: Mac OS X other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Win(*>98), Linux*, OSX>10.5
Location: Greece

Re: Error after change NAT network

Post 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?
Do NOT send me Personal Messages (PMs) for troubleshooting, they are simply deleted.
Do NOT reply with the "QUOTE" button, please use the "POST REPLY", at the bottom of the form.
If you obfuscate any information requested, I will obfuscate my response. These are virtual UUIDs, not real ones.
lazna
Posts: 16
Joined: 20. Dec 2013, 02:19

Re: Error after change NAT network

Post 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.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Error after change NAT network

Post 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).
Post Reply