<div dir="ltr"><div><div><div><div><div><div><div><div><div><div><div><div><div>Hi All,<br><br></div>I have read quite a bit of old postings on this, and have not been able to make this work. Some help would be appreciated.<br>
<br>Our lab does multiple camera tracking using ethernet camers. Each computer has 4-8 cameras connected (via a POE switch) to<br>a camera.<br><br>Currently I manually assign to a private subnet, one camera and one port of each card.<br>
<br></div><div>I would like to move to a system where I can assign these cameras via DHCP.<br><br></div><div>This is the current setup.<br></div><div><br></div>I have a debian machine running dnsmasq acting as a gateway.<br>
</div>eth0 connects to the internet<br></div>eth1 connects to the local 192.168.1.X network<br><br></div><div></div><div></div>On the local network are the tracking machines; many machines with the following configuration<br>
</div>eth0 gets 192.168.1.X<br></div>eth1 192.168.21.1 <br></div>eth2 192.168.22.1<br></div>eth3 192.168.23.1<br><br></div>etc. and cameras<br><br>192.168.21.2<br>192.168.22.2<br>192.168.23.2<br><br></div>etc.<br><br></div>
I cannot seem to configure dnsmasq to hand out addresses on anything other than 192.168.1.X. Here is the relevant parts of the dnsmasq configuration. Can anyone help?<br><br>#(192.168.88.X is like the 192.168.2X.X ones above)<br>
<br></div>#this line works as expected, <br><div>dhcp-range=interface:eth1,set:lan,192.168.1.100,192.168.1.255,255.255.255.0,2h<br></div><div><br>#if only this line is present then the 88.1 address never gets handed out<br>
#no address range available for DHCP request via eth1<br></div><div>dhcp-range=interface:eth1,set:lan,192.168.88.1,static<br><br>dhcp-host=00:1e:8c:3d:ae:a6,set:lan,192.168.88.1<br><br></div><div>Regards,<br><br></div><div>
John<br></div><div><br></div></div>