Change device ip range?

Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Change device ip range?

Post by Silly Car »

I need to change the IP address of my laptop (currently in 192.168.1.x range) to within the same range as my cctv cameras (192.168.254.x range) so I can change them into the same range as the router (192.168.1.x).

The reason for this is it impractical to extend all of the network cabling to allow us to move the NVR to another room and the nvr allows cameras to be remotely added via a separate Poe switch.

Is this simply a case of connecting the laptop to the home network via Ethernet and manually setting the laptop ip address to within the correct range?

Or is there a better way?
User avatar
weeksy
Site Admin
Posts: 23417
Joined: Sat Mar 14, 2020 12:08 pm
Has thanked: 5450 times
Been thanked: 13085 times

Re: Change device ip range?

Post by weeksy »

well that's a question. if it works and connects to the internet et on 192.168.1.* then that's goof.

But who's configured the 192.168.254 range....

That range may not be configured to see outside... So your laptop will only be able to see the cameras... nothing else. If all you need is that, then that's fine and good...

What you're looking to do is perfectly fine.... but you need to know the Subnet Mask and default gateway settings too. If your 254 network is DHCP enabled, as soon as you connect the laptop it'll get an IP address from DHCP which will also include these.

Go to a command prompt and type ipconfig (then enter)

If it doesnt, then you'll need to know these... you'll also need to know the address you pick isn't being used by anything else.

go to a command prompt and type ping 192.168.254.* and it'll come back with a reply, or request timed out..

Configure it with one that's request timed out.
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

The NVR has set the cameras to its “internal” ip range of 192.168.254.* and I’m guessing it has a default gateway of 192.168.254.1 as the available range starts at 192.168.254.2 The NVR is dchp enabled so I’ll plug the laptop straight into that and give it a go

As soon as the cameras as switched into the correct range, I’ll have no need to access the NVR range again as future cameras can be configured into the correct range straight out of the box.

Thanks
User avatar
weeksy
Site Admin
Posts: 23417
Joined: Sat Mar 14, 2020 12:08 pm
Has thanked: 5450 times
Been thanked: 13085 times

Re: Change device ip range?

Post by weeksy »

you can't guess :) DG and SM settings need to be exact.... your assumption of 254.1 is fairly likely.... but still... you can't guess :D
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

Subnet is definitely 255.255.255.0 as the software to change the camera ip address reports that but doesn’t show the default gateway. I’m pretty sure the NVR user interface shows all of the settings.

I assume dchp should take care of those anyway
Le_Fromage_Grande
Posts: 11233
Joined: Mon Mar 16, 2020 6:40 pm
Location: The road of many manky motorcycles
Has thanked: 607 times
Been thanked: 4124 times

Re: Change device ip range?

Post by Le_Fromage_Grande »

Are the cameras on the same physical network or vlan as the 192.168.1.0/24 network?
Honda Owner
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

Hikvision have an app, SADP tool which allows you to find their devices anywhere on the network, the tool reports the NVR and one camera in the 192.168.1 range. This camera has never been connected to the NVR via ‘plug and play’ and worked with the NVR remotely (ie plugged in via a separate POE switch on the 192.168.1 LAN

The other four cameras were added to the NVR fresh out of the box via “plug and play” and worked seamlessly, all in the NVR ip range of 192.168.254

I’m saying worked as I had to carry out a factory reset on the NVR yesterday as I’d lost the admin password and now I can’t see any cameras FFS! Ordinarily I’d just do a factory reset on the cameras but the two I can physically reach don’t appear to have a reset button on them….!
User avatar
wheelnut
Posts: 2229
Joined: Mon Mar 16, 2020 4:36 pm
Has thanked: 907 times
Been thanked: 1001 times

Re: Change device ip range?

Post by wheelnut »

Silly Car wrote: Fri Apr 14, 2023 6:44 am The NVR has set the cameras to its “internal” ip range of 192.168.254.* and I’m guessing it has a default gateway of 192.168.254.1 as the available range starts at 192.168.254.2 The NVR is dchp enabled so I’ll plug the laptop straight into that and give it a go

As soon as the cameras as switched into the correct range, I’ll have no need to access the NVR range again as future cameras can be configured into the correct range straight out of the box.

Thanks
If you change the range on the cameras you’ll need to change it on the dvr as well otherwise they won’t be able to talk to each other.

Bring the dvr and cameras into the same 192.168.1.x range as the rest of the home network but you’ll need to switch off dhcp on the dvr.
User avatar
wheelnut
Posts: 2229
Joined: Mon Mar 16, 2020 4:36 pm
Has thanked: 907 times
Been thanked: 1001 times

Re: Change device ip range?

Post by wheelnut »

Silly Car wrote: Fri Apr 14, 2023 8:07 am Hikvision have an app, SADP tool which allows you to find their devices anywhere on the network, the tool reports the NVR and one camera in the 192.168.1 range. This camera has never been connected to the NVR via ‘plug and play’ and worked with the NVR remotely (ie plugged in via a separate POE switch on the 192.168.1 LAN

The other four cameras were added to the NVR fresh out of the box via “plug and play” and worked seamlessly, all in the NVR ip range of 192.168.254

I’m saying worked as I had to carry out a factory reset on the NVR yesterday as I’d lost the admin password and now I can’t see any cameras FFS! Ordinarily I’d just do a factory reset on the cameras but the two I can physically reach don’t appear to have a reset button on them….!
I suspect after the reset the dvr has gone back to the default IP (probably 192.168.1.something) and some of the cameras are stuck on the .254. Switch them off and on again at the Poe switch and they should pick up the new ip from the dvr and then see where you want to go from there.
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

wheelnut wrote: Fri Apr 14, 2023 8:21 am
Silly Car wrote: Fri Apr 14, 2023 8:07 am Hikvision have an app, SADP tool which allows you to find their devices anywhere on the network, the tool reports the NVR and one camera in the 192.168.1 range. This camera has never been connected to the NVR via ‘plug and play’ and worked with the NVR remotely (ie plugged in via a separate POE switch on the 192.168.1 LAN

The other four cameras were added to the NVR fresh out of the box via “plug and play” and worked seamlessly, all in the NVR ip range of 192.168.254

I’m saying worked as I had to carry out a factory reset on the NVR yesterday as I’d lost the admin password and now I can’t see any cameras FFS! Ordinarily I’d just do a factory reset on the cameras but the two I can physically reach don’t appear to have a reset button on them….!
I suspect after the reset the dvr has gone back to the default IP (probably 192.168.1.something) and some of the cameras are stuck on the .254. Switch them off and on again at the Poe switch and they should pick up the new ip from the dvr and then see where you want to go from there.
That would be the common sense approach, ip addresses appear to be locked on the cameras and even though I can ping them and open their browser page, I can’t log in as I don’t know, and can’t find, the username & passwords… :angry-cussingblack:
User avatar
wheelnut
Posts: 2229
Joined: Mon Mar 16, 2020 4:36 pm
Has thanked: 907 times
Been thanked: 1001 times

Re: Change device ip range?

Post by wheelnut »

If you Google the make and model of the dvr you should be able to find the default login/pw and IP it will be in the paperwork you got with it (which you should find online as well).
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

Default passwords didn’t work either.

Thankfully, Hikvision UK tech support are on the case and we have one camera back on line via the Poe switch, just 3 more to go…
User avatar
Count Steer
Posts: 11805
Joined: Mon Jul 19, 2021 4:59 pm
Has thanked: 6376 times
Been thanked: 4751 times

Re: Change device ip range?

Post by Count Steer »

Silly Car wrote: Fri Apr 14, 2023 12:05 pm Default passwords didn’t work either.

Thankfully, Hikvision UK tech support are on the case and we have one camera back on line via the Poe switch, just 3 more to go…
They're probably fixing it remotely from their Chinese data centre. :lol:
Doubt is not a pleasant condition.
But certainty is an absurd one
.
Voltaire
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

Count Steer wrote: Fri Apr 14, 2023 1:03 pm
Silly Car wrote: Fri Apr 14, 2023 12:05 pm Default passwords didn’t work either.

Thankfully, Hikvision UK tech support are on the case and we have one camera back on line via the Poe switch, just 3 more to go…
They're probably fixing it remotely from their Chinese data centre. :lol:
They are more than welcome to watch the squirrels shagging in the trees if they wish :D
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

And inevitably…

I’ve had to change the cameras back to the original “internal” ip range of the NVR as the cameras were gobbling up the LAN bandwidth and I was getting complaints from the Doris that her streaming was being impacted.

Thankfully, I will still be able to relocate the NVR as it is possible to plug the cameras directly into the POE switch and then connect that to one of the POE ports on the NVR, I just need to either run a cable from point A to B, or can set up a separate WI-FI network to run on the 192.168.254 ip range reserving the 192.168.1 range for non-cctv traffic.

A cable is my preferred option given the 9” walls and distance involved, thankfully, there are two redundant RJ45 sockets on the same floor as my office which I can repurpose to provide access to both LANs in my home office even if it means moving two wardrobes and lifting a few floorboards :(
User avatar
weeksy
Site Admin
Posts: 23417
Joined: Sat Mar 14, 2020 12:08 pm
Has thanked: 5450 times
Been thanked: 13085 times

Re: Change device ip range?

Post by weeksy »

What are the cameras for?
Le_Fromage_Grande
Posts: 11233
Joined: Mon Mar 16, 2020 6:40 pm
Location: The road of many manky motorcycles
Has thanked: 607 times
Been thanked: 4124 times

Re: Change device ip range?

Post by Le_Fromage_Grande »

weeksy wrote: Tue Apr 18, 2023 3:28 pm What are the cameras for?
Watching things :D
Honda Owner
Silly Car
Posts: 854
Joined: Mon Mar 16, 2020 7:53 pm
Has thanked: 143 times
Been thanked: 497 times

Re: Change device ip range?

Post by Silly Car »

Home CCTV system, there were a spate of thefts / petty vandalism in the area a while back so I installed cameras around the outside to deter ne’er dowells which seems to have worked* Neighbours did the same so you can’t enter the street without being spotted.

They record 24-7 so use a lot of bandwidth which has never been noticed as they’ve run on their own network.

* the other reason crime has gone down is one such scrote happened to attempt to break into the ‘wrong’ persons car in a neighbouring area, got chased into our street and promptly received some ‘restorative justice’. Strangely, the crime rate has since gone down…