Automatically assigns the proper device based on the IP address