The NVR PoE-connected cameras, when the NVR channel is set as Plug&Play (the default) and is given admin credentials for the cameras, manages them directly, so it can set the IP address, the default gateway, and many other configuration settings with no user intervention.
The NVR PoE ports operate on their own, largely separate, network segment with a different range of IP addresses, by default 192.168.254.x
This separation is a benefit in the security sense, but less convenient when direct access to the cameras is required (eg for detailed web GUI configuration), but this is mitigated by the 'Virtual Host' facility of the NVR that provides a NATed link to directly access the cameras via the NVR itself.
The NVR LAN port and the LAN-connected cameras operate on IP addresses that you decide, as part of the LAN IP address range.
You should assign these devices static addresses such that - you always know what they are, and they do not clash with other devices on the LAN, including those that will be assigned addresses from the DHCP server address pool that the router manages.
I hope that makes sense.