Stumped on a particular setup

Apr 16, 2016
6
0
Hello I have a hikvision 7608e28p nvr, it has its own poe ports built in. I have cameras setup manually on this nvrs ports with ip in the 192.168.254.xxx range. All are working fine. In the same building another nvr connected to a router that the 7608 is connected to can't see the cameras stream. The router is not connected to the internet. Some how I have to find a way to see one camera stream from the 7608 nvr. I know the problem has something to do with port forwarding setup. Originally, I pluged the lan port of the second nvr into an open channel on the 7608 nvrs poe ports this worked to see the camera feeds but affects the 7608 in a way where it will restart after a few hours. So I'm trying to setup a router in between both nvrs to access the stream that way. Has anyone tried this? The router gateway is 192.168.0.1. The ip address for the 7608 is 192.168.0.100 and the other nvr at 192.168.0.102. Nvr 7608 internal gateway ip is 192.168.254.1. I want to access the stream from camera 1 which is ip 192.168.254.2. What ip address do I tell the second nvr to see the stream i want? Do I add the colon and port number after the ip address? There is no internet access in this setup and I don't know if that matters. Both nvrs are plugged into the router via their lan ports.
 
I'm sure there are people more knowledgeable that I am, but I think I see the issue you are having. It sounds like you want 2 NVRs to record one of the cameras. I don't know how well that will work, but let me explain a few things.

Internet is irrelevant. You have 2 private networks, 192.168.0.x and 192.168.254.x. The second NVR can't access the network behind the 1st NVR since the NVR can't route. The NVR only does a virtual host thing. I wouldn't go plugging non-PoE stuff into PoE ports, as you may damage something.

You can make the camera accessible to the LAN of both NVRs by connecting that camera to a on the same 192.168.0.x LAN. You may need a PoE injector to get power to it.
 
I know the problem has something to do with port forwarding setup.
No - it's actually a routing requirement.
The second NVR can't access the network behind the 1st NVR since the NVR can't route.
Actually it can, that's how I have my 2 NVRs and QNAP Surveillance Station set up.

By default, there is no IP forwarding (not to be confused with port forwarding) between the NVR LAN interface and the NVR PoE interface.
But if you have Virtual Host, and enable it, ip_forwarding is implicitly activated for you.
Then, all you need is to ensure that the PoE-connected cameras can send traffic via the NVR by having their default gateway correctly set to the NVR PoE port IP address, by default 192.168.254.1
And add a static private route to the LAN gateway / router so that packets destined for the 192.168.254.0 network (ie the cameras on it) are sent to the NVR LAN interface IP address.
Then you can directly access the PoE-connected cameras by their native 192.168.254.x IP address.

There are quite a few posts on this topic - some recent for example:
https://www.ipcamtalk.com/showthrea...bnet-as-cameras-issue?highlight=private+route
https://www.ipcamtalk.com/showthrea...amera-connected-to-NVR?highlight=static+route

If the NVR does not have telnet access (to enable the routing) or Virtual Host, there is another way to directly gain access to the encode video streams as opposed to gaining direct access to the camera.
The NVR should be providing RTSP streams that you could connect to on the other NVR using a 'Generic RTSP' connection, for example:
NVR_17.jpg
 
Thanks guys for the quick responses, I'll have try the generic rtsp because my nvr doesn't have telnet or virtual host. When I had the second nvr plugged into an empty channel on the poe ports I disconnected pins 4578 which I believe was power lines, and I changed one end of the wire to a crossover. To Do rtsp forwarding What gateway should I set the router too? Should it be the same as the nvrs internal that way when I plug in the second nvr to the router I look for ip 192.168.254.2:554 (554 being the rtsp port)?
 
When I had the second nvr plugged into an empty channel on the poe ports I disconnected pins 4578 which I believe was power lines, and I changed one end of the wire to a crossover.
You don't need to do this for 802.3af PoE PD devices - standards-compliant devices ensure that no power will be supplied unless it's requested by the consuming device.

To Do rtsp forwarding What gateway should I set the router too?
With respect, you're mixing things up.
If you don't have Virtual Host - no need to add any routes on your router. Port forwarding is only if you want to take the risk of exposing your network to the world wild web.

The RTSP streams should be available to any LAN-connected device from the NVR that the cameras are connected to.
I'm assuming both NVRs are on the LAN.
An easy way to verify the availability of the RTSP stream would be to use VLC media player on a PC on the LAN, and under 'open network stream' use a URL such as:
rtsp://192.168.1.211:554/PSIA/Streaming/channels/401
replacing the IP address with your NVR IP address, and the channel 4 as appropriate.

Should it be the same as the nvrs internal that way when I plug in the second nvr to the router I look for ip 192.168.254.2:554 (554 being the rtsp port)?
Again - if you don't have Virtual Host you won't have any active internal routing in the NVR, so the PoE addresses are not available. I'm assuming on this that the telnet method of activating it isn't something you should do.
 
Well, I did say there were people more knowledgeable than me. I thought the virtual host only allowed web access via the forwarded port. I had been accessing my cameras via the NVR and forwarded port. I just set it up so I can access them directly. Thanks Alastair.

As for virtual host, it's set on the NVR the cameras are connected to, and that should be an option on the 7608. Then you need to add a route the 192.168.254.x network to your router. Then access the camera, and add the default gateway (192.168.254.1) to it. Then your second NVR should have full access to the camera via the 192.168.254.x IP.

As for PoE, it's supposed to not deliver voltage unless the device requests it, but better safe than sorry. It should be in those pins. You shouldn't have needed to make it a cross over cable, auto-negotiation fixed it for you anyway.
 
Last edited by a moderator:
Yeah, I'm new to this. Someone on cctvforum told me to disable the power pins and crossover the wire. I'm learning as I go, I guess maybe that's outdated info now.bguy- My 7608 is version 3.3.4 with build 150616. I'm unable to find virtual host option in any of the settings menus. Alistair- both nvrs are plugged into the router, router is not connected to world wide web. I'm just confused how it shares it's feeds this way without virtual host to tie in the other internal gateway. Should I plug a cat5 cable into an open camera channel on the 7608 poe port and feed that to the routers lan port?
 
Not to sidetrack the OP's topic, but I have a Laview NVR, which is a re-branded Hikvision. I added the route to the PoE network to my router hoping I could access the cameras. When that didn't work, I contacted their support asking how to access them. They gave me the instructions on enabling virtual host and the virtual link, but they didn't mention routing, so I didn't realize it did that. I haven't found the virtual host option in NVR console menu, it seems it's only available in the web interface menu, and buried deep. I'm not 100% sure the OP's NVR has the option, but it should.

If it does, go to the web interface, Configuration, Network, Advanced settings, Other. There should be a check box for virtual host.
 
  • Like
Reactions: alastairstevenson
I'm just confused how it shares it's feeds this way without virtual host to tie in the other internal gateway
The Linux kernel (ie what's inside the NVR) does natively provide packet routing between it's interfaces when there is more than one.
But this feature is configured as off by default.
Should I plug a cat5 cable into an open camera channel on the 7608 poe port and feed that to the routers lan port?
You can do that - but you still have to deal with the cameras being on another IP address segment, and it can affect how the normal traffic flows.
Have another look for Virtual Host - it's a bit hard to find if you don't know where to look.

Not to sidetrack the OP's topic,
You didn't - you contributed to it - and helpfully specified the menu path for Virtual Host, if it's available on the specific NVR model.
but they didn't mention routing, so I didn't realize it did that.
I doubt they know about that ... just us nerds.

So you gained direct access to your cameras? Well done.
From my point of view, Virtual Host is pretty good for setting or updating the camera's detailed configuration items the NVR doesn't support.
But I needed direct access so I could pull the camera in its full native form, not just an RTSP stream, for other destinations.
This was the original post, when Virtual Host was less available : https://www.ipcamtalk.com/showthrea...l-host-or-extra-wiring?highlight=extra+wiring
 
Well I got virtual host enabled through the web interface, I can now see the second nvr in the camera feeds section of the 7608 nvr. However I can't see any cameras on the second nvr. I went back to the 7608 and installed the cameras manually with onvif protocol instead of the factory hikvision, and under each camera you can set a port path address of each stream I gave it rtsp://192.168.0.105:554/ch1/main/av_stream. The ip address 192.168.0.105 is the 7608 nvr on the network the second nvr is connected to. The second nvr looks for onvif cameras but does not find any. I know I must be missing something here.