Difference between revisions of "check dhcp client lease time"

From thelinuxwiki
Jump to: navigation, search
(Created page with "dhcp client is dhcpcd. to view lease information run dhcpcd --dumplease <interface_name> example # '''dhcpcd --dumplease eth1''' broadcast_address=192.168.1.255 dhcp_l...")
 

Latest revision as of 04:33, 27 June 2014

dhcp client is dhcpcd. to view lease information run

dhcpcd --dumplease <interface_name>

example

# dhcpcd --dumplease eth1
broadcast_address=192.168.1.255
dhcp_lease_time=604800
dhcp_message_type=5
dhcp_server_identifier=192.168.1.21
domain_name=1scom.net
domain_name_servers='4.2.2.2'
ip_address=192.168.1.1
network_number=192.168.1.0
routers=192.168.1.254
subnet_cidr=24
subnet_mask=255.255.255.0