[Dnsmasq-discuss] dnsmasq doesn't send RA

Stéphane Guedon stephane at 22decembre.eu
Thu Mar 27 08:58:42 UTC 2014


Hello

I would like to use dnsmasq to replace radvd and serve dns ipv6 
queries on lan.

But as I setup the daemon, it doesn't seem to send ra and none of my 
network hosts receive ra.

#########

I am using this version :
Dnsmasq version 2.69rc1-6-g4e1fe44  Copyright (c) 2000-2014 Simon 
Kelley
Compile time options: IPv6 GNU-getopt no-DBus no-i18n no-IDN DHCP 
DHCPv6 no-Lua TFTP no-conntrack no-ipset auth no-DNSSEC

#########

I am on openbsd. Here is my network :

re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
        lladdr bc:5f:f4:73:a7:e0
        priority: 0
        groups: egress
        media: Ethernet autoselect (1000baseT full-
duplex,rxpause,txpause)
        status: active
        inet6 fe80::be5f:f4ff:fe73:a7e0%re0 prefixlen 64 scopeid 0x1
        inet6 2001:16d8:dd00:8207::2 prefixlen 64
        inet6 2001:16d8:dd00:8207:be5f:f4ff:fe73:a7e0 prefixlen 64
        inet6 2001:16d8:dd00:8207:be5f:f4ff:fe73:a7e0 prefixlen 64
        inet 192.168.87.2 netmask 0xffffff00 broadcast 192.168.87.255
        inet6 2001:16d8:dd00:8207::3 prefixlen 64
tun0: flags=8051<UP,POINTOPOINT,RUNNING,MULTICAST> mtu 1280
        priority: 0
        groups: tun egress
        status: active
        inet6 fe80::be5f:f4ff:fe73:a7e0%tun0 ->  prefixlen 64 scopeid 
0x5
        inet6 fe80::14d8:dd00:207:2%tun0 ->  prefixlen 64 scopeid 0x5
        inet6 2001:16d8:dd00:207::2 -> 2001:16d8:dd00:207::1 prefixlen 
128

##########

I use the adress 192.168.87.3 and ipv6::3 for private purpose. i have 
an other nameserver (authoritative for my public domain 22decembre.eu) 
listening on the public adress. Both nameservers are running fine, 
totally ignoring each other and answering requests on their respective 
address.

Here is the config (I supress most of the comments to make it shorter) 
:

###############

domain-needed
bogus-priv

local=/22decembre.eu/
listen-address=2001:16d8:dd00:8207::3
listen-address=::1
listen-address=127.0.0.1
listen-address=192.168.87.3

expand-hosts
domain=22decembre.eu

dhcp-range=192.168.87.50,192.168.87.200,255.255.255.0,12h
dhcp-range=192.168.87.0,static


# Do DHCP and Router Advertisements for this subnet. Set the A bit in 
the RA
# so that clients can use SLAAC addresses as well as DHCP ones.

dhcp-range=2001:16d8:dd00:8207::100, 2001:16d8:dd00:8207::8000, 
slaac,ra-names
enable-ra

dhcp-host=00:23:8b:75:2e:ce,luciole,192.168.87.20
dhcp-host=00:24:2b:72:d1:df,luciole-wifi,192.168.87.21

dhcp-option=option:router,192.168.87.1
dhcp-option=option:ntp-server,0.0.0.0
dhcp-option=option:dns-server,192.168.87.3,208.67.222.222

dhcp-option=option6:dns-server,[2001:16d8:dd00:8207::3],2620:0:ccd::2
dhcp-option=option6:ntp-server,[::]

dhcp-authoritative

# Set the cachesize here.
cache-size=250

cname=www,blackblock
cname=biblib,blackblock
cname=photos,blackblock

log-dhcp

#########

thanks in advance for any help.





More information about the Dnsmasq-discuss mailing list