dhclient

Dynamically obtain or release IP addresses

Supplementary instructions

dhclient command uses the dynamic host configuration protocol to dynamically configure the network parameters of the network interface.

grammar

dhclient(options)(parameters)

Options

0: Specify the port number that the dhcp client listens on;
-d: Always run the program in foreground mode;
-q: Quiet mode, no error messages are printed;
-r: Release the ip address.

Parameters

Network Interface: The network interface for the operation.

Example

dhclient -r #Release IP
dhclient #Get IP
继续阅读

接下来你可能需要这些内容

优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。