VirtualBox

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

最後變更 在這個檔案從98549是 98549,由 vboxsync 提交於 2 年 前

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

  • 屬性 svn:eol-style 設為 native
  • 屬性 svn:keywords 設為 Author Date Id Revision
檔案大小: 1.4 KB
 
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>
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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