[Dnsmasq-discuss] No dynamic addresses to unknown hosts
ms at webstollen.de
ms at webstollen.de
Mon Jan 19 12:54:56 GMT 2009
Hi,
when I try to get a dynamic IP address via DHCP, dnsmasq outputs "no
address available" (see below). When I do the same from a machine whose
MAC address is registered in dnsmasq.conf, then dnsmasq can give me an
IP address (see below). I'm using virtual VLAN interfaces eth0.3, eth0.4
and eth0.6, but I think that's not the problem because dnsmasq receives
DHCPDISCOVER requests on these interfaces. So, how can I manage sending
IP addresses to unregistered hosts?
You can see `dnsmasq -d` and dnsmasq.conf below:
root at slug:/etc$ dnsmasq -d
dnsmasq: started, version 2.38 cachesize 150
dnsmasq: compile time options: IPv6 GNU-getopt no-ISC-leasefile no-DBus
no-I18N TFTP
dnsmasq: DHCP, IP range 192.168.6.101 -- 192.168.6.200, lease time 1d
dnsmasq: DHCP, IP range 192.168.4.101 -- 192.168.4.200, lease time 1d
dnsmasq: DHCP, IP range 192.168.3.101 -- 192.168.3.200, lease time 1d
dnsmasq: reading /etc/resolv.conf
dnsmasq: using nameserver 192.168.4.2#53
dnsmasq: read /etc/hosts - 6 addresses
dnsmasq: DHCPDISCOVER(eth0.4) 169.254.250.46 00:21:86:60:30:13 no
address available
dnsmasq: DHCPDISCOVER(eth0.4) 169.254.250.46 00:21:86:60:30:13 no
address available
dnsmasq: DHCPDISCOVER(eth0.4) 169.254.250.46 00:21:86:60:30:13 no
address available
dnsmasq: DHCPDISCOVER(eth0.4) 169.254.250.46 00:21:86:60:30:13 no
address available
dnsmasq: DHCPREQUEST(eth0.4) 192.168.4.134 00:19:99:52:c5:e0
dnsmasq: DHCPACK(eth0.4) 192.168.4.134 00:19:99:52:c5:e0 ms.webstollen.de
root at slug:/etc$ cat dnsmasq.conf
domain-needed
bogus-priv
filterwin2k
listen-address=192.168.3.1
listen-address=192.168.4.1
listen-address=192.168.6.1
# IP-Adressvergabe
dhcp-range=net:meeting,192.168.3.101,192.168.3.200,24h
dhcp-range=net:webstollen,192.168.4.101,192.168.4.200,24h
dhcp-range=net:dockland,192.168.6.101,192.168.6.200,24h
# Host-Namen zu MAC-Adressen zuordnen
dhcp-host=00:19:99:4E:5A:5D,net:webstollen,s.webstollen.de
dhcp-host=00:18:F3:2A:A5:6A,net:webstollen,b.webstollen.de
dhcp-host=00:17:31:67:BA:9E,net:webstollen,b.webstollen.de
dhcp-host=00:10:DC:AA:F8:51,net:webstollen,s1.webstollen.de
dhcp-host=00:19:99:52:C5:E0,net:webstollen,ms.webstollen.de
dhcp-host=00:12:3F:A3:97:55,net:webstollen,s2.webstollen.de
dhcp-host=11:22:33:44:55:66,net:webstollen,s3.webstollen.de
# Sub-Netzmasken
dhcp-option=meeting,1,255.255.255.0
dhcp-option=webstollen,1,255.255.255.0
dhcp-option=dockland,1,255.255.255.0
# Default Router
dhcp-option=meeting,3,192.168.3.1
dhcp-option=webstollen,3,192.168.4.1
dhcp-option=dockland,3,192.168.6.1
# DNS Servers
dhcp-option=meeting,6,192.168.3.1
dhcp-option=webstollen,6,192.168.4.1
# Domains
dhcp-option=webstollen,15,webstollen.de
dhcp-option=meeting,15,meeting.lan
# Verschiedene Einstellungen
dhcp-option=webstollen,19,0
dhcp-option=webstollen,44,192.168.4.10
dhcp-option=webstollen,45,192.168.4.10
dhcp-option=webstollen,46,8
dhcp-option=webstollen,47
Greetings,
Manfred
More information about the Dnsmasq-discuss
mailing list