dhclient
Command Function
This command is used to set and view dhclient parameters.
Syntax
dhclient <netif name>
dhclient -x <netif name>
dhclient -gb <netif name>
dhclient -sv <vendor>
dhclient -gv
dhclient -gd <index>
dhclient -sd <dns_ip>
Parameter Description
Table 1 Parameters
Starts the DHCP request of the network interface card (NIC). |
||
Vendor information (The value is a string of 32 characters.) |
||
Obtains information about the DNS server at the specified index. |
||
Usage
dhclient eth0
dhclient -x eth0
dhclient -gb eth0
dhclient -sv MFSI
dhclient -gv
dhclient -gd 0
dhclient -sd 8.8.8.8
Example
Output
Table 2 Output description
Indicates that the IP address of the DNS server is 192.168.1.100. |