Get current machine IP and MAC address.