Discussion:
[Dnsmasq-discuss] ff02:1:2 not being brought up
Jeff Ferland
2012-11-13 00:31:21 UTC
Permalink
The following command doesn't seem to bring up the ff02:1:2 address to respond to requests. Router advertisements are sent, but no client or ping requests are acknowledged.

Any thoughts or minimum configuration options that I'm missing?

sudo dnsmasq -F 2000:3000:4000:abc::,slaac -d -p 0 -O option6:dns-server,2001:4860:4860::8888

-Jeff
Simon Kelley
2012-11-13 16:15:52 UTC
Permalink
Post by Jeff Ferland
The following command doesn't seem to bring up the ff02:1:2 address to respond to requests. Router advertisements are sent, but no client or ping requests are acknowledged.
Any thoughts or minimum configuration options that I'm missing?
sudo dnsmasq -F 2000:3000:4000:abc::,slaac -d -p 0 -O option6:dns-server,2001:4860:4860::8888
Do you want to do DHCPv6? If so you need to provide a range of addresses, ie

sudo dnsmasq -F 2000:3000:4000:abc::100, 2000:3000:4000:abc::200,slaac
-d -p 0 -O option6:dns-server,2001:4860:4860::8888

Because you have only provided one address, dnsmasq is assuming you want
only router advertisements. RA happens over ICMP, hence the ff02:1:2 is
not needed and not created.


Cheers,

Simon.
Simon Kelley
2012-11-13 20:54:30 UTC
Permalink
I did some source code surfing on thew way to work this morning to
figure out why before receiving your message. It also appears that
setting ra-stateless in the place of slaac worked. What I'd
particularly like is to run the DHCP option with the router itself
advertising, though. This doesn't seem to be an option to run the
DHCP server to provide just options without providing a router
advertisement from the daemon.
Actually there is: just use "static" in place of ra-stateless or slaac.
Since you haven't defined any static addresses, address allocation by
DHCP will not happen, but replies to information-request packets will.

This is a sort-of unintended effect, and it might be good to add
"stateless" as a synonym for "static"


Cheers,

Simon.

Loading...