Set the IP address according to MAC address