check for dhcp