NAT network questions

This is for discussing general topics about how to use VirtualBox.
Post Reply
tony-kennett
Posts: 1
Joined: 20. Feb 2011, 22:41
Primary OS: Solaris
VBox Version: OSE other
Guest OSses: Solaris

NAT network questions

Post by tony-kennett »

Hello,

I have a couple of questions related to a VM's NAT network address range.

1. How do I find out what the range is (other than booting the VM)? Is it possible to find it out using VBoxManage?

2. I tried changing the address range to 192.168/24 by running VBoxManage modifyvm "Solaris" --natnet1 192.168/24, which completed without reporting any errors. However, when I booted the VM it was still using the default (i.e. 10.0.2.x).

I am running VirtualBox 3.2.6 on Solaris 10.

Thanks,

Tony.
Sasquatch
Volunteer
Posts: 17798
Joined: 17. Mar 2008, 13:41
Primary OS: Debian other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows XP, Windows 7, Linux
Location: /dev/random

Re: NAT network questions

Post by Sasquatch »

The manual states which IP address the VM will get. By default, the first NIC will get 10.0.2.15, the second 10.0.3.15, etc.

As for the changed range, you probably made a mistake somewhere and forgot to add an option/parameter even though there was no error generated. The range you had to provide for example might have been 192.168.4/24.
Read the Forum Posting Guide before opening a topic.
VirtualBox FAQ: Check this before asking questions.
Online User Manual: A must read if you want to know what we're talking about.
Howto: Install Linux Guest Additions
Howto: Use Shared Folders on Linux Guest
See the Tutorials and FAQ section at the top of the Forum for more guides.
Try searching the forums first with Google and add the site filter for this forum.
E.g. install guest additions site:forums.virtualbox.org

Retired from this Forum since OSSO introduction.
Post Reply