For a surveillance camera system, I am using a Hikvision NVR to store and serve video files over the network. This network device will only accept a static IP address on the 192.168.178.* subnet.
I have been using a 192.168.1.* forever now and I'd like to keep it that way.
Is there a way to allow my other devices to talk to this NVR on the 192.168.178.* subnet, while staying in the 192.168.1.* subnet?
Ideally I'd be able to assign an 192.168.1.* IP "alias" to that device so I can reach it on that 'fake' IP address.
Does your NVR have the ability to specify static routes?
Are you sure you can't change the subnet of the NVR?
You may be able to do this by setting up a network and then applying it to a firewall zone with masquerading enabled.
1 Like
Does your NVR have the ability to specify static routes?
No
Are you sure you can't change the subnet of the NVR?
I am quite sure of this, but have no access to the device right now to confirm this.
You may be able to do this by setting up a network and then applying it to a firewall zone with masquerading enabled.
This sounds interesting. Do you know if there's an example online on how to do this?
Probably not.
I can help, although I'm not positive if it will work... we'll try though.
Before we go too deep...
-
What is the address of the NVR itself?
-
If you're on the same subnet as the NVR, can you connect to it?
-
If you connect a computer to the NVR, does the NVR provide a DHCP lease to the computer? (if not, I assume the above is achieved by setting a static IP on your computer -- please make sure to indicate how addresses are assigned)
-
What address do you want the OpenWrt device to have on this NVR network (or should it get one via DHCP)?
-
Is the NVR ethernet connected? If so, what physical port on the OpenWrt device is used to connect to the NVR? (this should be directly connected -- no switches or anything between the router and the NVR)