[Dnsmasq-discuss] dhcp-range for ipv6
Simon Kelley
simon at thekelleys.org.uk
Sun Feb 17 17:50:39 GMT 2013
On 17/02/13 17:40, Robert M. Albrecht wrote:
> Hi,
>
> I simply don't get it:
>
> ifconfig
> em1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
> inet 192.168.0.220 netmask 255.255.255.0 broadcast 192.168.0.255
> inet6 fe80::92fb:a6ff:fe83:4b46 prefixlen 64 scopeid 0x20<link>
> inet6 2001:6f8:1d27:0:92fb:a6ff:fe83:4b46 prefixlen 64 scopeid 0x0<global>
^^^^^^^^^^^^^^^^
> ether 90:fb:a6:83:4b:46 txqueuelen 1000 (Ethernet)
> RX packets 37993 bytes 5283029 (5.0 MiB)
> RX errors 0 dropped 8741 overruns 0 frame 0
> TX packets 18842 bytes 4102652 (3.9 MiB)
> TX errors 0 dropped 0 overruns 0 carrier 1 collisions 0
>
> Feb 17 18:36:29 gutenberg dnsmasq[4275]: started, version 2.65 cachesize
> 150
> Feb 17 18:36:29 gutenberg dnsmasq[4275]: compile time options: IPv6
> GNU-getopt DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack
> Feb 17 18:36:29 gutenberg dnsmasq-dhcp[4275]: DHCP, IP range
> 192.168.0.20 -- 192.168.0.150, lease time 12h
> Feb 17 18:36:29 gutenberg dnsmasq-dhcp[4275]: DHCPv6 stateless on
> 2001:6f8:10ea::
> Feb 17 18:36:29 gutenberg dnsmasq-dhcp[4275]: DHCPv4-derived IPv6 names
> on 2001:6f8:10ea::
> Feb 17 18:36:29 gutenberg dnsmasq-dhcp[4275]: SLAAC on 2001:6f8:10ea::
> prefix valid 2h
>
> from the config-file:
> dhcp-range=2001:6f8:10ea::,ra-stateless,ra-names
^^^^^^^^^^^^^^
> dhcp-option=option6:dns-server,[fd00::92fb:a6ff:fe83:4b46],[fe80::92fb:a6ff:fe83:4b46]
>
>
> And I keep getting these:
>
> Feb 17 18:37:01 gutenberg dnsmasq-dhcp[4275]: no address range available
> for DHCPv6 request via em1
>
> Any ideas why this is failing ?
There is no address associated with em1 which has the same prefix as the
address in the dhcp-range you've specified.
The prefix length is 63, so either address on em1 should be
2001:6f8:10ea:0:92fb:a6ff:fe83:4b46
or the range should be
dhcp-range=2001:6f8:1d27::,ra-stateless,ra-names
>
> Originally I wanted to distribute the dns-information to some machines,
> but this does not seem to work without an dhcp-range ?
You need a dhcp-range to at least specify the prefix(es).
Cheers,
Simon.
>
> cu romal
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss
>
More information about the Dnsmasq-discuss
mailing list