[Dnsmasq-discuss] Two instances of Dnsmasq on one VPN network

J Silverman g1powermac at yahoo.com
Thu Aug 9 17:21:42 BST 2007

Hello Simon,

I was just researching this a bit more and was thinking of using except-interface=<openvpn_interface>.  Would the no-dhcp-interface be a better choice?

J Silverman

Simon Kelley <simon at thekelleys.org.uk> wrote: J Silverman wrote:
> Hi All,
> Here's my situation:  I have two Openwrt running routers that have a
> openvpn bridged network setup between them.  Both routers also have
> dnsmasq running on them, which seems to create some problems.  I have
> it set that each dnsmasq has a separate IP range so I don't get
> duplicate IPs on the network.  However, from what I can tell, a race
> condition seems to happen between the two dnsmasq instances.  Every
> so often, a computer hooked up to the one router will get an IP
> address (and default gateway info) from the other router running
> dnsmasq.  This causes issues with the VPN network since that computer
> will now route all its traffic to the remote router and internet
> connection.  So basically, I want to have each instance of dnsmasq
> only service the local lan and not over the VPN bridge.  Is there a
> way to do this?

add something like


to /etc/dnsmasq.conf in each router. That should stop them from reacting
to DHCP broadcasts coming over VPN from the other router.



> Thanks, J Silverman
> --------------------------------- Need a vacation? Get great deals to
> amazing places on Yahoo! Travel.
> ------------------------------------------------------------------------
> _______________________________________________ Dnsmasq-discuss
> mailing list Dnsmasq-discuss at lists.thekelleys.org.uk 
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss

Looking for a deal? Find great prices on flights and hotels with Yahoo! FareChase.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.thekelleys.org.uk/pipermail/dnsmasq-discuss/attachments/20070809/672ea4cc/attachment.htm

More information about the Dnsmasq-discuss mailing list