You can represent an IP address as an aggregate, and this aggregate will ensure that an IP address is associated with only device.