Automatically set the IP addresses of any number of cameras to be in the same subnet as the provided IP address of the network interface. parser.add_argument ...
These are very generic—you get one set of instructions for all versions of Windows, for instance—but there are some pluses (IPv6 as well as IPv4 details) and you should be able to figure it out.