VirtualBox

source: vbox/trunk/doc/manual/en_US/dita/topics/nat-address-config.dita@ 105293

Last change on this file since 105293 was 98549, checked in by vboxsync, 2 years ago

Docs: bugref:10302. Uploading .dita user manual files we received from the doc team on 25th Jan.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.4 KB
Line 
1<?xml version='1.0' encoding='UTF-8'?>
2<!DOCTYPE topic PUBLIC "-//OASIS//DTD DITA Topic//EN" "topic.dtd">
3<topic xml:lang="en-us" id="nat-address-config">
4 <title>Configuring the Address of a NAT Network Interface</title>
5
6 <body>
7 <p>
8 In NAT mode, the guest network interface is assigned to the IPv4
9 range <codeph>10.0.<varname>x</varname>.0/24</codeph>
10 by default where <varname>x</varname> corresponds to the
11 instance of the NAT interface +2. So
12 <varname>x</varname> is 2 when there is only one NAT
13 instance active. In that case the guest is assigned to the
14 address <codeph>10.0.2.15</codeph>, the gateway is set to
15 <codeph>10.0.2.2</codeph> and the name server can be found at
16 <codeph>10.0.2.3</codeph>.
17 </p>
18 <p>
19 If the NAT network needs to be changed, use the following
20 command:
21 </p>
22 <pre xml:space="preserve">$ VBoxManage modifyvm <varname>VM-name</varname> \
23--natnet1 "192.168/16"</pre>
24 <p>
25 This command would reserve the network addresses from
26 <codeph>192.168.0.0</codeph> to
27 <codeph>192.168.254.254</codeph> for the first NAT network
28 instance of <varname>VM-name</varname> The guest IP
29 would be assigned to <codeph>192.168.0.15</codeph> and the
30 default gateway could be found at
31 <codeph>192.168.0.2</codeph>.
32 </p>
33 </body>
34
35</topic>
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette