Dynamically obtain or release IP addresses
dhclient command uses the dynamic host configuration protocol to dynamically configure the network parameters of the network interface.
dhclient(options)(parameters)
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.
Network Interface: The network interface for the operation.
dhclient -r #Release IP
dhclient #Get IP
优先推荐相关内容,同时保留你的阅读轨迹和收藏入口。