Two network card

A place for discussion of topics that are not specific to ZoneMinder. This could include Linux, Video4Linux, CCTV cameras or any other topic.
Post Reply
sipi
Posts: 132
Joined: Wed Feb 14, 2007 5:18 pm

Two network card

Post by sipi »

Hello, I'd like use two network card that first interface communicates IP cams and second communicates LAN. First is record pictures and second is run http. Is it a good idea or not? How I make it? Thanks.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Sure it's a good idea, it keeps all the camera traffic off your network. Assign an IP to each nic or dhcp on the one for your network, use different subnets if you like and put the cams on one, and your network on the other.
sipi
Posts: 132
Joined: Wed Feb 14, 2007 5:18 pm

Post by sipi »

Thanks. I'd like dedicate interfaces to process but I don't know where and how can I sign what interface uses input IP packets from IP cams. It's right that I can modify apache setup where http runs. Can you help me? Thanks.
curtishall
Posts: 440
Joined: Sat Sep 25, 2004 12:45 am
Location: Fulton, MO

Post by curtishall »

Setup dhcpd to run on the selected interface (eth1 / eth0). If you have more then one DHCP daemon on that network that shares with the IP cameras either switch the IP cameras to static ips or manually add the mac addresses of the ip cameras into your dhcpd configuration and just access those cameras in zoneminder

I believe the default configuration for apache is to listen on all interfaces.
sipi wrote:Thanks. I'd like dedicate interfaces to process but I don't know where and how can I sign what interface uses input IP packets from IP cams. It's right that I can modify apache setup where http runs. Can you help me? Thanks.
--
Curtis Hall
Bluecherry
www.bluecherrydvr.com
store.bluecherry.net
sipi
Posts: 132
Joined: Wed Feb 14, 2007 5:18 pm

Post by sipi »

I've tested my zm with two network cards some times. Last month I probably it since three weeks. I set up apache config that zmapache listen on second card to solve http request.

My experience that it hasn't any effect on my zm but I hoped it can speed up my zm. I think that is it because all cards works same PCI bus but it is a tip.
Post Reply