uTools-Manuals/docs/linux/dhclient.html
2019-04-08 23:22:26 +08:00

18 lines
784 B
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<h1 id="dhclient">dhclient</h1>
<p>动态获取或释放IP地址</p>
<h2 id="补充说明">补充说明</h2>
<p><strong>dhclient命令</strong> 使用动态主机配置协议动态的配置网络接口的网络参数。</p>
<h3 id="语法">语法</h3>
<pre><code>dhclient(选项)(参数)</code></pre>
<h3 id="选项">选项</h3>
<pre><code>0指定dhcp客户端监听的端口号
-d总是以前台方式运行程序
-q安静模式不打印任何错误的提示信息
-r释放ip地址。</code></pre>
<h3 id="参数">参数</h3>
<p>网络接口:操作的网络接口。</p>
<h3 id="实例">实例</h3>
<pre><code>dhclient -r #释放IP
dhclient #获取IP</code></pre>
<!-- Linux命令行搜索引擎https://jaywcjlove.github.io/linux-command/ -->