[SOLVED] Nat network not starting

Discussions related to using VirtualBox on Linux hosts.
Post Reply
mdlaat
Posts: 5
Joined: 13. Mar 2016, 15:47

[SOLVED] Nat network not starting

Post by mdlaat »

Hi,
I have Virtualbox 4.3.36 on Ubuntu 14.04
Trying to make a nat network work, but I can not start it using VBoxManage, I get this message:
VBoxManage natnetwork start --netname NatNetwork
VBoxManage: error: Code NS_ERROR_FAILURE (0x80004005) - Operation failed (extended info not available)
VBoxManage: error: Context: "Start(Bstr("whatever").raw())" at line 449 of file VBoxManageNATNetwork.cpp
VBoxManage: error: Failed to start network


If I start a virtual os, this one gets a correct ipadres & gateway from the dhcp server on the natnetwork, but it can not ping the gateway, nor the dhcp server, nor the outside world. I tried several nic types, but the outcome is always the same. Tried creating/starting the Nat network both with vBoxManage as well as the gui, but with the same results.

There is no problem if I set the network type to NAT, but I would like to have some virtual machines to be able to communicate to each other & the outside world.

Thank you for any help.
Last edited by mdlaat on 25. Apr 2016, 21:58, edited 1 time in total.
mdlaat
Posts: 5
Joined: 13. Mar 2016, 15:47

Re: Nat network not starting

Post by mdlaat »

Just a friendly bump.
Still having this problem with natnetworking.
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Nat network not starting

Post by Perryg »

Post the following information.
  • 1) VBoxManage list natnets ( hosts terminal )
    2) Guests log file as an attachment.
    3) From the hosts terminal type VBoxManage showvminfo <VM Name> --details and post here. Replace <VM Name> with the actual name of the VM. Use " " if the name has a space in it.
mdlaat
Posts: 5
Joined: 13. Mar 2016, 15:47

Re: Nat network not starting

Post by mdlaat »

Thank you for your response perryg.
I will try to give you the information.
Thank you for your time.
Kind regards
Maurice

VBoxManage list natnets:
$ VBoxManage list natnets
NetworkName: NatNetwork
IP: 10.0.2.1
Network: 10.0.2.0/24
IPv6 Enabled: No
IPv6 Prefix:
DHCP Enabled: Yes
Enabled: Yes
loopback mappings (ipv4)
127.0.0.1=2

VBoxManage showvminfo <VM Name> --details

Name: Windows 10
Groups: /
Guest OS: Windows 10 (64-bit)
UUID: 0942a24b-75fd-453b-8c54-c778e415b5c6
Config file: /home/maurice/VirtualBox VMs/Windows 10/Windows 10.vbox
Snapshot folder: /home/maurice/VirtualBox VMs/Windows 10/Snapshots
Log folder: /home/maurice/VirtualBox VMs/Windows 10/Logs
Hardware UUID: 0942a24b-75fd-453b-8c54-c778e415b5c6
Memory size: 1893MB
Page Fusion: off
VRAM size: 64MB
CPU exec cap: 100%
HPET: off
Chipset: piix3
Firmware: BIOS
Number of CPUs: 2
PAE: off
Long Mode: on
Synthetic CPU: off
CPUID overrides: None
Boot menu mode: message and menu
Boot Device (1): Floppy
Boot Device (2): DVD
Boot Device (3): HardDisk
Boot Device (4): Not Assigned
ACPI: on
IOAPIC: on
Time offset: 0ms
RTC: local time
Hardw. virt.ext: on
Nested Paging: on
Large Pages: off
VT-x VPID: on
VT-x unr. exec.: on
State: powered off (since 2016-04-23T10:32:47.926000000)
Monitor count: 1
3D Acceleration: off
2D Video Acceleration: off
Teleporter Enabled: off
Teleporter Port: 0
Teleporter Address:
Teleporter Password:
Tracing Enabled: off
Allow Tracing to Access VM: off
Tracing Configuration:
Autostart Enabled: off
Autostart Delay: 0
Default Frontend:
Storage Controller Name (0): IDE
Storage Controller Type (0): PIIX4
Storage Controller Instance Number (0): 0
Storage Controller Max Port Count (0): 2
Storage Controller Port Count (0): 2
Storage Controller Bootable (0): on
Storage Controller Name (1): SATA
Storage Controller Type (1): IntelAhci
Storage Controller Instance Number (1): 0
Storage Controller Max Port Count (1): 30
Storage Controller Port Count (1): 1
Storage Controller Bootable (1): on
IDE (1, 0): /home/maurice/.config/VirtualBox/VBoxGuestAdditions_4.3.36.iso (UUID: 47686077-affe-44b8-b4a1-c05d1361432a)
SATA (0, 0): /home/maurice/VirtualBox VMs/Windows 10/Snapshots/{9cc137ca-5035-4dfb-b88c-8f49b83abd2a}.vdi (UUID: 9cc137ca-5035-4dfb-b88c-8f49b83abd2a)
NIC 1: MAC: 080027D0E2B5, Attachment: NAT Network 'NatNetwork', Cable connected: on, Trace: off (file: none), Type: 82540EM, Reported speed: 0 Mbps, Boot priority: 0, Promisc Policy: deny, Bandwidth group: none
NIC 2: disabled
NIC 3: disabled
NIC 4: disabled
NIC 5: disabled
NIC 6: disabled
NIC 7: disabled
NIC 8: disabled
Pointing Device: USB Tablet
Keyboard Device: PS/2 Keyboard
UART 1: disabled
UART 2: disabled
LPT 1: disabled
LPT 2: disabled
Audio: disabled
Clipboard Mode: disabled
Drag'n'drop Mode: disabled
VRDE: disabled
USB: enabled
EHCI: enabled

USB Device Filters:

Index: 0
Active: yes
Name: Apple Inc. iPhone [0310]
VendorId: 05ac
ProductId: 1297
Revision: 0310
Manufacturer: Apple Inc.
Product: iPhone
Remote: 0
Serial Number: bf574915480cf39b6896c943c32ed90abfb77935

Available remote USB devices:

<none>

Currently Attached USB Devices:

<none>

Bandwidth groups: <none>

Shared folders:

Name: 'One_Month_Bin', Host path: '/home/maurice/One Month Bin' (machine mapping), writable
Name: 'nas', Host path: '/media/nas' (machine mapping), writable

VRDE Connection: not active
Clients so far: 0

Video capturing: not active
Capture screens: 0
Capture file: /home/maurice/VirtualBox VMs/Windows 10/Windows 10.webm
Capture dimensions: 1024x768
Capture rate: 512 kbps
Capture FPS: 25

Guest:

Configured memory balloon size: 0 MB

Snapshots:

Name: Na installatie (UUID: 5eddc7bc-1086-4b7a-a668-b5e868a67cf0)
Name: Voor installatie iTunes (UUID: 107865b3-9f15-438a-b9be-0866bcb1df1a) *
Description:
31 maart 2016
Attachments
Windows 10-2016-04-23-12-32-48.log
Guest log file
(102.46 KiB) Downloaded 29 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: Nat network not starting

Post by Perryg »

Code: Select all

VirtualBox VM 4.3.36_Ubuntu r105129 linux.amd64 (Jan 27 2016 12:09:06) release log
00:00:00.532800 Package type: LINUX_64BITS_GENERIC (OSE)
You have installed the Ubuntu fork of VirtualBox and we don't support that. You would need to ask them what to do or remove theirs and install the official version from virtualbox.org.

From what I see in your posts it looks like it should be working but there is no way I can tell for sure with the Ubuntu fork.
mdlaat
Posts: 5
Joined: 13. Mar 2016, 15:47

Re: Nat network not starting

Post by mdlaat »

For the archives: upgraded to the official version 5.0 & it started working.
Thank you.
Post Reply