hi @avir1203! theoretically you only need to configure the correct subnet in your firewall / DHCP server or in your laptops / edge devices network settngs
Firstly, it seems like all your devices are already on the same subnet, i.e., they all have IP addresses of the form 10.1.xx.xx. This is a good starting point because it means they should all be able to communicate with each other, assuming there's no network security (like firewall rules) preventing them from doing so.
Let's use the following details based on your information:
IoT device IP: 10.1.99.xx
Subnet Mask: 255.255.0.0
This subnet mask (255.255.0.0) is a typical one for a Class B network which allows for up to 65,534 hosts on the same network. Given this configuration, your IoT device and all the PLCs would be on the same network and should be able to communicate with each other.
Ensure that the "xx" in your IoT device IP address doesn't conflict with any other devices on your network to avoid IP address conflict.
Also, your IoT device will need to know the gateway's IP address. The gateway is typically the router or switch that connects your local network to other networks (like the internet). The exact address will depend on your network configuration, but it might be something like 10.1.0.1 or 10.1.1.1.
Lastly, you need to make sure there are no firewall rules or other security measures that would prevent your IoT device from connecting to the PLCs.