<div dir="ltr">After reading through the man page several times, reading similar posts and digging through things on the web: <a href="https://stackoverflow.com/questions/29453522/how-to-specify-two-or-more-gateways-in-dnsmasq">https://stackoverflow.com/questions/29453522/how-to-specify-two-or-more-gateways-in-dnsmasq</a> i have come up with this:<div><br></div><div><div>dhcp-range=set:net1,10.192.4.101,10.192.4.115,255.255.255.0,12h</div><div>dhcp-option=net:net1,3,10.192.4.1</div><div>dhcp-range=set:net2,10.192.5.101,10.192.5.150,255.255.255.0,12h</div><div>dhcp-option=net:net2,3,10.192.5.1</div><div>dhcp-range=set:net3,10.192.6.101,10.192.6.150,255.255.255.0,12h</div><div>dhcp-option=net:net3,3,10.192.6.1</div><div>dhcp-range=set:net4,10.192.9.101,10.192.9.150,255.255.255.0,12h</div><div>dhcp-option=net:net4,3,10.192.9.1</div></div><div><br></div><div>If I am understanding correctly this should apply to the ranges including the option 82 addresses, or do I need to modify the the Option 82 statements to add the GW? </div><div><br></div><div>Thanks,</div><div><br></div><div>Keith</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Jul 1, 2017 at 1:37 PM, Keith Lyons <span dir="ltr"><<a href="mailto:klyons45@gmail.com" target="_blank">klyons45@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">In a recent post I was asking about sending the correct gateway to the dhcp client, there were two options presented to me<div><br></div><div>do away with the dhcp-option=option-router statement, which I fear will render the clients un-pingable or learn how to use tags. </div><div><br></div><div>Since this is a production dhcp server and it is of the upmost priority that the clients remain online and reachable I wanted to post what i believe to be the solution with tagging to confirm I am heading in the correct direction.</div><div><br></div><div>So things to note, we are using dhcp relay on the switch (Juniper gear), I am only using one NIC and this is a Virtual Machine hosted on VMWare 6.x</div><div><br></div><div><br></div><div>This is what I think is correct:</div><div><br></div><div><div>dhcp-range=set:net1,10.192.4.<wbr>101,10.192.4.115,255.255.255.<wbr>0,12h</div><div>dhcp-option=net1,3,10.192.4.1</div><div>dhcp-range=set:net2,10.192.5.<wbr>101,10.192.5.150,255.255.255.<wbr>0,12h</div><div>dhcp-option=net2,3,10.192.5.1</div><div>dhcp-range=set:net4,10.192.9.<wbr>101,10.192.9.150,255.255.255.<wbr>0,12h</div><div>dhcp-option=net4,3,10.192.9.1</div></div><div><br></div><div>The clients are setup for Option 82, see below: (there are additional line's for the 10.192.5.X and 10.192.9.x subnets)</div><div><br></div><div><div>dhcp-circuitid=set:01_port_01,<wbr>temp-2b.plant.ldn01:ge-0/0/12.<wbr>0:pack1-5-302</div><div>dhcp-circuitid=set:02_port_02,<wbr>temp-2b.plant.ldn01:ge-0/0/6.<wbr>0:pack1-5-302</div><div>dhcp-circuitid=set:03_port_03,<wbr>temp-2b.plant.ldn01:ge-0/0/2.<wbr>0:pack1-5-302</div><div>dhcp-circuitid=set:04_port_04,<wbr>temp-2b.plant.ldn01:ge-0/0/18.<wbr>0:pack1-5-302</div><div>dhcp-circuitid=set:05_port_05,<wbr>temp-2b.plant.ldn01:ge-0/0/9.<wbr>0:pack1-5-302</div><div><br></div><div>dhcp-range=net:01_port_01,<wbr>temp-2b.plant.ldn01:ge-0/0/12.<wbr>0:pack1-5-302,10.192.4.11,10.<wbr>192.4.11,255.255.255.0</div><div>dhcp-range=net:02_port_02,<wbr>temp-2b.plant.ldn01:ge-0/0/6.<wbr>0:pack1-5-302,10.192.4.21,10.<wbr>192.4.21,255.255.255.0</div><div>dhcp-range=net:03_port_03,<wbr>temp-2b.plant.ldn01:ge-0/0/2.<wbr>0:pack1-5-302,10.192.4.31,10.<wbr>192.4.31,255.255.255.0</div><div>dhcp-range=net:04_port_04,<wbr>temp-2b.plant.ldn01:ge-0/0/18.<wbr>0:pack1-5-302,10.192.4.41,10.<wbr>192.4.41,255.255.255.0</div><div>dhcp-range=net:05_port_05,<wbr>temp-2b.plant.ldn01:ge-0/0/9.<wbr>0:pack1-5-302,10.192.4.51,10.<wbr>192.4.51,255.255.255.0</div></div><div><br></div><div><br></div><div>Any advice would be greatly appreciated.</div><div><br></div><div>Thanks!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Keith</div></font></span></div>
</blockquote></div><br></div>