The invention discloses a network video recorder (NVR) and an automatic IPC (
Internet Protocol Camera)
access method thereof. The NVR comprises a device discovery module, a
network configuration module and a
configuration management module. The method comprises the steps: sending an ARP (
Address Resolution Protocol) broadcast message, and receiving response messages fed back from all IPCs, wherein the response messages carry own IP (
Internet Protocol) addresses of the IPCs, subnet masks and port numbers; judging whether the
IP address of each IPC sending the corresponding response message and the
IP address of an own network card of the corresponding IPC are located in the same
network segment or not according to the received IPC response messages, and going to next step if the
IP address of each IPC sending the corresponding response message and the IP address of the own network card of the corresponding IPC are located in the same
network segment; adding a
virtual IP address, which is located in the same
network segment of the IP address of each IPC sending the corresponding response message, to the own network card of the corresponding IPC if the IP address of each IPC sending the corresponding response message and the IP address of the own network card of the corresponding IPC are not located in the same network segment, binding the corresponding IPC and the added
virtual IP address to the corresponding own network card, and going to the next step; adding corresponding IPCs in a
unicast mode. According to the NVR and the automatic IPC
access method thereof, the access of the IPCs which do not support IP modification is subjected to IP removal, and the IPCs and the NVR can be in interconnected use in a zero configuration manner.