Turn off DHCP in the network settings of the cameras and allocate each of them a fixed ip. Configuration>Advanced Configuration>Network>TCP/IP is the menu you are after.
Are the cameras on PoE ports on the NVR?
What are the IP addresses of the cameras, in what way are they 'bad'?
Are the cameras connecting OK to the NVR, showing video and recording OK?