[Dnsmasq-discuss] Problem with multihomed interface

Simon Kelley simon at thekelleys.org.uk
Thu Dec 29 21:40:14 GMT 2005


> Hello,
>
> I am running dnsmasq on a Linksys WRT54GS router running OpenWRT. I seem
> to have the same problem as other people here with multiple IP addresses
> on one network interface.
>
> I have enabled the DHCP server on these interfaces:
>   br0      192.168.100.0/24
>   vlan1    aa.bb.cc.dd/17, 192.168.102.1/24 (multihomed)
>
> On br0 everything works, but DHCP clients connected on vlan1 lead only
> to these log messages:
>
>   dnsmasq[8343]: no address range available for DHCP request via vlan1
>
> My dnsmasq.conf (see below) has the lines
>
>   dhcp-range=192.168.100.32,192.168.100.128
>   dhcp-range=192.168.102.32,192.168.102.254
>
> I've tried dnsmasq 2.22 and 2.24, with identical results. The kernel
> version is 2.4.30 (from the OpenWRT distribution).
>
> Any ideas on what is wrong?
>
> Thanks,
>
> Marcus
>
> ------------8<dnsmasq.conf-------------------------------------------
> domain-needed
> localise-queries
> read-ethers
> no-resolv
> domain=home.better.se
>
> dhcp-leasefile=/tmp/dhcp.leases
> dhcp-authoritative
> dhcp-range=192.168.100.32,192.168.100.128
> dhcp-range=192.168.102.32,192.168.102.254

There is a known bug in all released versions which _might_ be the cause
of this.

If you could pick up a test version from
http://www.thekelleys.org.uk/dnsmasq-test and let me know if it works
better, that would be great.


Cheers,

Simon.






More information about the Dnsmasq-discuss mailing list