IoT network segmentation