GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — linux-command/command/dhclient.md at master · javamickey/linux-command

Expand file tree

/

dhclient.md

Copy path
More file actions
More file actions

Latest commit

 

History

History
History
37 lines (24 loc) · 622 Bytes
/

dhclient.md

Copy path

File metadata and controls

37 lines (24 loc) · 622 Bytes
Raw
Copy raw file
Download raw file
Outline
Edit and raw actions

dhclient

动态获取或释放IP地址

补充说明

dhclient命令 使用动态主机配置协议动态的配置网络接口的网络参数。

语法

dhclient(选项)(参数)

选项

0:指定dhcp客户端监听的端口号;
-d:总是以前台方式运行程序;
-q:安静模式,不打印任何错误的提示信息;
-r:释放ip地址。

参数

网络接口:操作的网络接口。

实例

dhclient -r     #释放IP
dhclient        #获取IP
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.