[Dnsmasq-discuss] Re: Problem with multihomed interface

Lutz Pressler Lutz at Pressler.DE
Sun Jan 1 21:04:05 GMT 2006


Marcus Better wrote:
> Yes, it works if I remove the other address.
> As a temporary fix, is it possible to force dnsmasq to answer requests?

Your compiled binary probably lacks RTNETLINK support
(check with strings /usr/sbin/dnsmasq |grep netlink_init).
On OpenWRT something like the following patch is necessary.
Than 2.25test3 works as expected in regard to multiple networks/ranges
on one physical interface now, thanks Simon.
I don't know if RTNETLINK support in UCLIBC has to be differenciated
somehow, though. Please fix that in config.h appropriately. 

(Ask if you have use for dnsmasq_2.25test3-2_mipsel.ipk.)


--- dnsmasq-2.25test3.orig/src/config.h      2005-12-31 15:47:57.000000000 +0200
+++ dnsmasq-2.25test3/src/config.h   2005-12-31 15:47:57.000000000 +0200
@@ -246,6 +246,7 @@
 #  else
 #    undef HAVE_GETOPT_LONG
 #  endif
 #define HAVE_RANDOM

Lutz Preßler, Immanuel-Kant-Str. 17, D-37083 Göttingen, +49 551 7700178

More information about the Dnsmasq-discuss mailing list