Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a general setup I'd like to do with some IP cameras. This seems like it will work but I think I may be missing something. Our system consists of a video recorder PC connected to a switch which is connected to a number of IP cameras. I'd like to connect this system into an existing network but I want it on a different subnet. The main reason is that the cameras use a lot of bandwidth that I don't want slowing down the existing network.

My idea was to install 2 NICs on the video recorder pc. 1 NIC connects to the existing network on 192.169.1.x for example, and the other NIC connect to the switch with the cameras. This NIC would be 192.168.100.x.

Then we could remote to the video recorder PC with a GoToMyPC type thing for administration via the existing network.

I've included a diagram of how I see this working but I'm a little fuzzy on the setup of the NICs (if this can work at all).

My problem may be trying to deal with 2 subnets without a router but It really doesn't seem like it's necessary in this situation.

BTW, gliffy is cool. alt text

share|improve this question

2 Answers 2

up vote 1 down vote accepted

One fairly common configuration error in this kind of setup is assigning gateway IPs on both NICs. In the diagram above, the netmasks for both NICs would be 255.255.255.0 and the gateway IP should be assigned on eth0 (probably 192.168.1.1) and left empty on eth1. Otherwise should be fine.

share|improve this answer
    
So it should be-- eth0:: ip: 192.168.1.100 (outside existing network DHCP range) snmask: 255.255.255.0; gateway: (whatever gateway of existing network is) eth1:: ip: 192.168.100.1; snmask: 255.255.255.0; gateway: [blank] ? –  Jeff Apr 23 '10 at 20:32
    
That's correct, assuming your existing eth0 subnet is 192.168.1.0/24. –  nedm Apr 23 '10 at 20:52
    
That's the only subnet I know so I'm sure it is :-) –  Jeff Apr 24 '10 at 3:13

This is definitely possible. Just set each nic with the appropriate network configuration.

Depending on your OS, you can specify internet traffic to be routed through eht0.

share|improve this answer
    
+1 Should work like a charm. –  Dave M Apr 23 '10 at 20:17
1  
To route the traffic through the PC , as a gateway, just enable connection sharing on the NICs –  djangofan Apr 23 '10 at 20:28

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.