Dahua Cameras Stuck on 192.168.1.108 During Initialization

Published by John on November 15, 2024 Under Security Camera Systems

Recently, while working on a Dahua CCTV Camera system, I ran into an issue initializing cameras via the NVR where even with DHCP enabled during the setup process, the cameras were stuck on the default IP address of 192.168.1.108 after being initialized.

Short on time, here is the solution:

  1. During initialization on the NVR, select the Static IP option and enter the correct IP Range and Gateway, using an IP that is not in use.
  2. After changing the IP on the initialization screen, switch to the DHCP option.
  3. Click next to finish camera initialization and when it is finished, it should have an IP Address provided by the DHCP server.

With this particular NVR, the cameras ship with a default IP of 192.168.1.108 and you can initialize them directly via the network video recorder, which changes the default password and also allows you to set the IP of the camera at the same time.

For this particular setup, the network is not using a 192.168.1.X network range and the router is being used to manage IP’s, by using DHCP and then setting static/reserved IP addresses on the router level.

However, I ran into an issue where when selecting DHCP during the initialization, the initialization would work and after selecting DHCP, the option to change the IP address would go away. However, the IP address of the camera’s IP Address would remain at 192.168.1.108 after it was initialized.

On the router level, I observed that a DHCP lease was handed out for the camera, which was obvious by looking at the MAC Address, and it was in the correct range. However, the camera itself remained stuck at 192.168.1.108. Rebooting the camera and resetting the camera had no effect on this.

If a static IP was selected during initialization, it would work correctly, However, I did not want to use static IP’s on the NVR level and would prefer to handle this on the router side of things.

While it is possible to directly connect to the camera by changing your computer’s IP address to match the 192.168.1.X range, using their camera config tool on your laptop, manually setting the IP to be static instead of using DHCP, or, of course, just changing the IP range of the router to match, my preference was to do it all on the NVR and initialize multiple cameras at once.

The Fix

After some debugging, I found a work around that fixed the issue:

  1. When setting the IP and with static selected, enter an IP address and Gateway that matches your IP range and is not currently in use. On this particular setup, there are around 50 ips outside of the DHCP pool, so I just use one of those.
  2. Next, change the option from static to DHCP and click ‘Next’
  3. The camera should go offline briefly and when it comes back, use the correct DHCP address provided by the router’s DHCP server.

No Comments |

Add a Comment