Hikvision NVR, basic network setup not getting a ipv4 gateway

arw01

Young grasshopper
Joined
Aug 13, 2016
Messages
31
Reaction score
0
in the quest to get email notifications going as I am having a failure related to a gateway not being setup according to remote access to the camera through the NVR.

My NVR details:

20160823_NVR_details.jpg

Camera page showing the lack of a gateway.

The ip is being managed by the NVR, clicking DHCP and rebooting did not change the settings. Putting in my guess of the NVR's nat gateway of 192.168.254.1 did not work either. not seeing in the NVR setup where it thinks the gateway should be for the camera to be able to send the emails.

20160823_camera_network.png

Not had success using the NVR to send the emails yet either, via gmail or the googlemail (it does not show TLS as an option for the later)
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,963
Reaction score
6,794
Location
Scotland
The ip is being managed by the NVR
Excuse the dumb question - but it's you that manages the IP configuration when you are not asking it to be supplied via DHCP.
It looks to me like you have customised the LAN interface IPv4 address to be in the same range as the PoE segment IPv4 address, which by default is 192.168.254.0.
If so there will be a networking conflict.
What is the IP address of your LAN router/gateway?
Often this is 192.168.1.1

I don't see in your post above that you have set the IP address and default gateway and clicked 'save'.
And by the way - if you are not going to use the DHCP service of your router/gateway, you do need to avoid assigning fixed addresses within it's DHCP pool, unless you are assigning them to the NVR MAC address via a 'reservation'.
 

arw01

Young grasshopper
Joined
Aug 13, 2016
Messages
31
Reaction score
0
I have NOT repeat NOT set the camera IP address, the NVR assigns that. It uses the 192.168.254.## range and skips around a little bit.

Part of my post was it was not saving the ip address, however after a reboot of the NVR and an upgrade of it's firmware the camera via remote is saving the gateway now. Email not working from the camera, but that appears to be another issue.

internal lan is in the 192.168.1.# range.

I will never have 180 devices on my home network so picking one up there was on purpose, should it become an issue I will fix the ip iwth the MAC.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,963
Reaction score
6,794
Location
Scotland
Well, I got that one totally wrong, sorry.
I was confused by the camera web GUI being identical to the NVR web GUI.
Plus I always configure the camera settings manually.
 

arw01

Young grasshopper
Joined
Aug 13, 2016
Messages
31
Reaction score
0
I am seeing some advantage to that and may put them onto the same subnet eventually to make life easier long term.

Going to have to plug in the laptop to see what the proper gateway is from the camera side, but one cannot tell if it's a gateway issue, a firmware issue with the cameras, a google issue or what is going on, lack of tools there for sure.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,963
Reaction score
6,794
Location
Scotland
Given the existence of Virtual Host in the NVR, and it being enabled, the addition of a static route on your LAN router/gateway will allow the PoE-connected cameras to be directly accessed from a PC on the LAN (not via Virtual Host, directly).
But the cameras will need to have a valid gateway set of the PoE interface IP address, usually 192.168.254.1, not the 192.168.1.1 (or the NVR LAN interface gateway) and be set to manual mode (not plug & play) for that to work.
 

arw01

Young grasshopper
Joined
Aug 13, 2016
Messages
31
Reaction score
0
Thank will, work on that for one camera to play with next, then it's off to see if the cable modem can handle a static route.
 

alastairstevenson

Staff member
Joined
Oct 28, 2014
Messages
15,963
Reaction score
6,794
Location
Scotland
The static route will be along the lines of :
"For network 192.168.254.0, route via NVR_LAN_interface_IP_address with some metric such as 2"
Then a ping and a tracert to a camera address such as 192.168.254.5 will demonstrate if it's working.
 

arw01

Young grasshopper
Joined
Aug 13, 2016
Messages
31
Reaction score
0
appears the cable modem cannot do a static route what so ever.
 

bhoth

n3wb
Joined
Jun 18, 2016
Messages
28
Reaction score
0
Location
Utah, USA
What brand of router are you using? I have a Netgear router and figured out the static route needed. Pm me and I am willing to help.
 
Top