Changes for checking DHCP before making entry