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