summaryrefslogtreecommitdiffstats
path: root/help-install/zh_CN/main::opt::network.html
blob: 13fc7b17c06266edc3d1e0168ecb9e2f244c2671 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
<a name="o_hostip"/>
<a name="o_netmask"/>
<a name="o_gateway"/>

<h3>
<a name="network">安装程序选项:网络选项</a>
</h3>

<p>
It is possible to configure the network interface right now. The
hardware will be detected later by YaST2. The minimum set of options
to configure your network card consists of host IP and netmask. For
example:
<ul>
  <li>hostip=192.168.0.10 netmask=255.255.255.0</li>
</ul>
</p>

<p>
or in a shorter form:
<ul>
  <li>hostip=192.168.0.10/24</li>
</ul>
</p>

<p>
If you specified a <a href="#o_install">基于网络的安装</a> and do
not specify both of these options, the installer tries to configure
the network interface with <em>dhcp</em>. If you need a default
gateway, specify this with the option <em>网关</em>. For
example:
<ul>
  <li>gateway=192.168.0.8</li>
</ul>
</p>