<div dir="ltr">Hello richard,<div><br></div><div>Thanks for your help, in openstack there would be a bridge created for each network , that acts as a gateway, so all virtual machine in that network route there </div><div>traffic through that gateway and even reach internet through that, but in my case i want to make a physical interface act as a gateway, to provide vpn connectivity for that network.</div>
<div>So here is the scenerio</div><div><br></div><div>192.168.10.1 (bridge gateway) which provides internet access to the vms</div><div>192.168.10.6(physical gateway) to provide vpn connectivity.</div><div><br></div><div>
now i want to make routing table entries in such a way that,</div><div><br></div><div>When vms make any request other than 192.168.10.0 network it goes through gateway 192.168.10.1 , rest would be from 192.168.10.6.</div>
<div><br></div><div>Is it possible?</div><div><br></div><div>Your help would be really appreciated </div><div><br><div class="gmail_quote">On Wed, Dec 5, 2012 at 1:49 AM, <a href="mailto:richardvoigt@gmail.com">richardvoigt@gmail.com</a> <span dir="ltr"><<a href="mailto:richardvoigt@gmail.com" target="_blank">richardvoigt@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br><div class="gmail_extra"><br><br><div class="gmail_quote"><div class="im">On Thu, Nov 29, 2012 at 8:31 AM, Ritesh Nanda <span dir="ltr"><<a href="mailto:riteshnanda09@gmail.com" target="_blank">riteshnanda09@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">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<br><br></blockquote><div><br></div></div><div>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.</div>
<div><br></div><div>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).</div><div><br></div>
<div> </div></div></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"><b><span style="font-size:10pt;font-family:Arial"> With Regards <br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)">
<b><span style="font-size:10pt;font-family:Arial"> Ritesh Nanda<br></span></b></p><p style="margin:0cm 0cm 0pt;color:rgb(0,0,153)"></p><p style="margin:0cm 0cm 0pt;color:rgb(51,51,51)"><span style="color:rgb(0,0,153)"></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"></span></b></span></span><span style="font-size:9pt;color:rgb(51,51,51);font-family:Arial"><span style="color:rgb(51,51,255)"><b><span style="color:rgb(0,0,153)"><br>
</span></b></span></span></p><a href="http://www.ericsson.com/" target="_blank"></a><p style="margin:0cm 0cm 0pt"><span style="font-size:9pt;font-family:Arial"><br><br></span></p><br>
</div></div>