How to Connect Network Devices in the Internet of Things