Cannot connect LAN device to router, static IP

Hello gents, cant get a connection on a HikVision NVR when connected to Nighthawk R7800 running OpenWrt 24.10.0 r28427-6df0e3d02a / LuCI openwrt-24.10 branch 25.014.55016~7046a1c

I have plugged it into the lan1 port, in Lucy I can see that its active.

The WAN interface is DHCP Address: 192.168.8.108/24

What am I doing wrong? I have assigned the NVR an ip address of 192.168.8.128 and I cant ping it from the internal network.

can't have WAN and LAN use the same subnets.

2 Likes

So this is wrong? Should I change the internet router IP? To a different subnet

depends on what you want to achieve, but yes.

if you don't need to keep the NVR separated from the rest of the LAN, move the WAN port cable to one of the LAN ports, and disable the DHCP on the R7800, as described in https://openwrt.org/docs/guide-user/network/wifi/wifiextenders/bridgedap.

Wifi devices are working fine. I will try to change the internet modem ip to 192.168.10.xx
I want to keep the NVR on same LAN (192.168.8.xx) as other devices as I have some cameras on the network connected as well via WIFI.

WAN is the port for incoming internet, sorry I misunderstood...will the internet work if incoming cable is plugged into the LAN port?

I would also like to add that the R7800 is part of a mesh network with 2 other (3 in total) routers connected with each other via 5ghz backbone.

1 Like

192.168.8.X is a private subnet, there got to be an additional router between your R7800 and the internet.
if the upstream device isn't at your place, then you probably shouldn't move the WAN port cable, but change the LAN subnet on the R7800 instead.

1 Like

yes, there is an ISP router between. Should I change its LAN address to something else so the R7800 WAN address is something different than 192.168.8.X ?

Then no, there's no point in double NATing, unless thats what you want, to create two subnet?

No its fine then I will leave it, but why cant I get a connection on the NVR?

then you should set it up as bridged AP, following the link provided earlier.

Does that apply if my setup is based on the below video?

Just the main router is connected with cable to the ISP router. The rest two routers are in a mesh network via wifi using 5ghz backbone and transmitting 2.4ghz.

The NVR is connected to the main router.

if it is, where does/how the R7800 come into the picture ?

Sorry, I mean main router within the mesh, the R7800 with IP 192.168.8.2
...not the ISP router. Pardon.

Alright, update. I disconnected the cable from lan1 port and plugged it into lan2 port.
The connection became active and I found the IP 192.168.8.128 under Status - Routing - IPv4 Neighbours

I checked the System log and the following is logged:

Mon Jun 30 19:06:35 2025 daemon.notice netifd: Network device 'lan1' link is down
Mon Jun 30 19:06:35 2025 kern.info kernel: [156874.086262] br-lan: port 1(lan1) entered disabled state
Mon Jun 30 19:06:35 2025 kern.info kernel: [156874.087103] qca8k 37000000.mdio-mii:10 lan1: Link is Down
Mon Jun 30 19:06:40 2025 kern.info kernel: [156879.456247] qca8k 37000000.mdio-mii:10 lan2: Link is Up - 1Gbps/Full - flow control off
Mon Jun 30 19:06:40 2025 kern.info kernel: [156879.456316] br-lan: port 2(lan2) entered blocking state
Mon Jun 30 19:06:40 2025 kern.info kernel: [156879.463482] br-lan: port 2(lan2) entered forwarding state
Mon Jun 30 19:06:40 2025 daemon.notice netifd: Network device 'lan2' link is up

Everything is working so far again. Why did it get blocked last time I dont know...is it possible because there is a lot of traffic going though the NVR that there is a limit on the port or something?