[Dnsmasq-discuss] dnsmasq configuration
Ritesh Nanda
riteshnanda09 at gmail.com
Sun Dec 9 10:09:37 GMT 2012
Hello richard,
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
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.
So here is the scenerio
192.168.10.1 (bridge gateway) which provides internet access to the vms
192.168.10.6(physical gateway) to provide vpn connectivity.
now i want to make routing table entries in such a way that,
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.
Is it possible?
Your help would be really appreciated
On Wed, Dec 5, 2012 at 1:49 AM, richardvoigt at gmail.com <
richardvoigt at gmail.com> wrote:
>
>
>
> On Thu, Nov 29, 2012 at 8:31 AM, Ritesh Nanda <riteshnanda09 at gmail.com>wrote:
>
>> hello,
>>
>> I am working on openstack , which uses dnsmasq as a dhcp server.
>> 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
>> enviornment, now challenge i am facing is i want to add two routes using
>> dnsmasq configuration file.
>>
>> one route for a particular subnet so that it request get forwared to a
>> gateway
>> and one as a default route.
>> eg.
>>
>> 192.168.10.0 network request gets forwarded to gateway 192.168.10.6
>> and all other request gets forwarded to 192.168.10.1
>>
>>
> 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.
>
> 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).
>
>
>
--
* With Regards
*
* Ritesh Nanda
*
***
*
<http://www.ericsson.com/>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20121209/ba7e46bd/attachment.html>
More information about the Dnsmasq-discuss
mailing list