[Dnsmasq-discuss] Problem with multihomed interface
Marcus Better
marcus at better.se
Thu Dec 29 20:20:29 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
-------------- next part --------------
#log-queries
domain-needed
localise-queries
read-ethers
no-resolv
domain=home.better.se
server=/better.se/192.168.1.2
server=/dactylis.com/192.168.1.2
server=/100.168.192.in-addr.arpa/192.168.1.2
server=/102.168.192.in-addr.arpa/192.168.1.2
server=/1.168.192.in-addr.arpa/192.168.1.2
server=81.216.65.11
server=81.216.65.12
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
dhcp-host=00:40:8c:10:63:ab,axis,192.168.100.3
dhcp-host=00:00:e2:7e:f2:9a,kelev,192.168.100.4
dhcp-host=00:13:10:d6:1b:1b,slug,192.168.102.2
# NTP time server
dhcp-option=42,192.168.1.2
# Etherboot signature and options
dhcp-option=home,128,e4:45:74:68:00:00
dhcp-option=home,129,"gmt noscsi nfsdir=192.168.100.1:/fs/hemlix/hdboot";
# PXE options
#dhcp-option=home,vendor:PXEClient,1,192.168.102.2
#dhcp-boot=/pxelinux.0,boothost,192.168.102.2
# other useful options:
# default route(s): dhcp-option=3,192.168.1.1,192.168.1.2
# dns server(s): dhcp-option=6,192.168.1.1,192.168.1.2
#bogus-nxdomain=64.94.110.11
More information about the Dnsmasq-discuss
mailing list