Streaming across different subnets

From The Imaging Source Knowledgebase
Jump to navigation Jump to search

If the GigE camera is located in one subnet, but the software with which the video is to be displayed is located on a PC in another subnet, then some configurations must be done.

The The Imaging Source GigE camera is used with the GenTL Producer from The Imaging Source Download

An example network configuration can look like this:

Computer with the display program:

Network adapter IP is 192.168.2.7

Default gateway for network adapters: 192.168.2.1

The router between the subnets has the IP 192.168.2.1

The camera has the IP 192.168.3.44

The Router connects the network 192.168.2 with 192.168.3

The driver on the PC with the display program is configured as follows so that it can send Unicast Discovery packets to the camera:

ic4-ctrl.exe prop --interface 0 DiscoverUnicastIPAddress=192.168.3.44

Now you can open the camera in ic4-demoapp or a corresponding display program. This works correctly if only one network card is active in the computer. If two network cards are active and both have a gateway set, Windows does not know which network it should send the packets to and makes the wrong decision. For this reason, you must create an entry in the routing table in Windows as an administrator:

<route add 192.168.3.0 MASK 255.255.255.0 192.168.2.1

This tells Windows that addresses 192.168.3.x are to be found behind the gateway 192.168.2.1. Please refer to Multiple default gateways cause connectivity problems - Windows Server | Microsoft Learn

For further questions, please use our contact form