[Dnsmasq-discuss] No RA when router sollicitation sended

Daniel tech at tootai.net
Thu Mar 18 08:51:00 UTC 2021


Hello

Le 18/03/2021 à 09:12, Geert Stappers via Dnsmasq-discuss a écrit :
> On Wed, Mar 17, 2021 at 04:01:48PM +0100, Daniel via Dnsmasq-discuss wrote:
>> Hi,
>>
>> I'm setting up a only ipv6 POC and face problem that dnsmasq soesn't answer
>> to router sollicitation. Here is the output of dnsmasq
>>
>> dnsmasq: started, version 2.84rc2 cachesize 2048
>> dnsmasq: compile time options: IPv6 GNU-getopt DBus no-UBus no-i18n IDN DHCP
>> DHCPv6 Lua TFTP conntrack ipset auth cryptohash DNSSEC loop-detect inotify
>> dumpfile
>> dnsmasq-dhcp: DHCP, IP range 192.168.12.190 -- 192.168.12.191, lease time 2m
>> dnsmasq-dhcp: DHCP, IP range 192.168.10.195 -- 192.168.10.199, lease time 2m
>> dnsmasq-dhcp: DHCP, IP range 192.168.210.100 -- 192.168.210.104, lease time 2m
>> dnsmasq-dhcp: DHCP, IP range 192.168.10.50 -- 192.168.10.54, lease time 2m
>> dnsmasq-dhcp: DHCPv4-derived IPv6 names on fd53:9b48:337:8b38::
>> dnsmasq-dhcp: router advertisement on fd53:9b48:337:8b38::
>> dnsmasq-dhcp: IPv6 router advertisement enabled
>> dnsmasq-tftp: TFTP root is /tftpboot
>> dnsmasq: reading /etc/resolvPrivate.conf
>> dnsmasq: using nameserver 2001:db8:1298::#53
>> dnsmasq: read /etc/hostsPrivate - 12 addresses
>>
>> ip -6 a lan (relevant part)
>>      inet6 fd53:9b48:337:8b38::254/64 scope global
>>         valid_lft forever preferred_lft forever
>>      inet6 fe80::5054:ff:fe12:3511/64 scope link
>>         valid_lft forever preferred_lft forever
>>
>> tcpdump output from a RS which never get answered
>>
>> 15:54:09.204222 IP6 (flowlabel 0x8f8d5, hlim 255, next-header ICMPv6 (58)
>> payload length: 16) fe80::5054:ff:fee5:338a > ff02::2: [icmp6 sum ok] ICMP6,
>> router
>> solicitation, length 16
>>            source link-address option (1), length 8 (1): 52:54:00:e5:33:8a
>>              0x0000:  5254 00e5 338a
>>
>> I also tried with constructor in dnsmasq.conf like
>>
>> dhcp-range=::1,::ffff:ffff, constructor=lan*,ra-names,64,2m
>>
>> but no changes.
>>
>> Any clue ?
> At least share with us if --enable-ra  is inplace.

Yes, sorry.

listen-address=127.0.0.1,::1,fd53:9b48:337:8b38::254,192.168.10.254,192.168.12.254,192.168.210.254
dhcp-range=set:computer,192.168.10.50,192.168.10.54,255.255.255.0,2m
dhcp-range=set:computer6,fd53:9b48:337:8b38:ff9b::,ra-names,slaac,2m
enable-ra

-- 
Daniel



More information about the Dnsmasq-discuss mailing list