<br><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Dec 4, 2012 at 3:24 PM, Lovelady, Dennis E. <span dir="ltr"><<a href="mailto:dlovelady1@dtcc.com" target="_blank">dlovelady1@dtcc.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Isn’t routing ignored when the destination is on the local net? Would this really cause a loop? If so, wouldn’t routing be impossible, since any attempt to
route anything has to result in the same loop? Or don’t I understand the problem?<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u> </span></p></div></div></blockquote><div><br></div><div>Normally there's a route automatically created for the local net, which may have a special local flag or list the host's own local interface address as the gateway, triggering the end of routing lookup. But the OP mentioned a setup that uses a different gateway for the same local net.</div>
<div><br></div><div>(You might even say that the presence of such a terminal routing rule is what makes that net local, not the subnet mask. Consider VPN connections, where other hosts in the same subnet according to the mask test still are not local. A VPN implementation might add a rule making the VPN peer local, and another rule making the subnet reachable using the VPN peer as gateway. Communications in the opposite direction generally works because of proxy ARP.)</div>
<div><br></div><div>Have a look at your routing table. I think you'll find an automatically-generated route for the local subnet.</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple"><div><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"><u></u><u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss-bounces@lists.thekelleys.org.uk</a> [mailto:<a href="mailto:dnsmasq-discuss-bounces@lists.thekelleys.org.uk" target="_blank">dnsmasq-discuss-bounces@lists.thekelleys.org.uk</a>]
<b>On Behalf Of </b><a href="mailto:richardvoigt@gmail.com" target="_blank">richardvoigt@gmail.com</a><br>
<b>Sent:</b> Tuesday, December 04, 2012 3:20 PM<br>
<b>To:</b> Ritesh Nanda<br>
<b>Cc:</b> dnsmasq discussion list<br>
<b>Subject:</b> Re: [Dnsmasq-discuss] dnsmasq configuration<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Thu, Nov 29, 2012 at 8:31 AM, Ritesh Nanda <<a href="mailto:riteshnanda09@gmail.com" target="_blank">riteshnanda09@gmail.com</a>> wrote:<u></u><u></u></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">hello,<br>
<br>
I am working on openstack , which uses dnsmasq as a dhcp server.<br>
Here is a challenge what i am facing , using dnsmasq configuration file i am adding a default route to the vms that are created in this
<br>
enviornment, now challenge i am facing is i want to add two routes using dnsmasq configuration file.<br>
<br>
one route for a particular subnet so that it request get forwared to a gateway<br>
and one as a default route.<br>
eg.<br>
<br>
192.168.10.0 network request gets forwarded to gateway 192.168.10.6<br>
and all other request gets forwarded to 192.168.10.1<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">You may have some trouble implementing this particular routing table, because requests to 192.168.10.* are routed to 192.168.10.6, which is in 192.168.10.*, so it's reached via 192.168.10.6, which is in 192.168.10.*, and ad infinitum.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">The gateway address specified in the routing table should be on the local network, not the network the gateway is used to reach (this implies that every gateway should be multi-homed).<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
</div>
</div>
</div></div></div>
</div>
<br>_____________________________________________________________
<font><br>
DTCC DISCLAIMER: This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error, please notify us immediately and delete the email and any attachments from your system. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email.</font></blockquote>
</div><br></div>