[OpenWrt-Devel] Recommended settings ip6 DNS server / dnsmasq

Jean-Michel Pouré - GOOZE jmpoure at gooze.eu
Wed Aug 19 05:27:05 EDT 2015


Le mardi 18 août 2015 à 18:30 +0200, Steven Barth a écrit :
> It is not possible, DHCPv6 doesn't carry routes. So you still need 
> RAs even with ra_management set to 2.

Sorry for this garbage, I just resend my email :

I spotted a problem with ra_management = 2

First configuration: stateful only configuration/

sbin/route -A inet6 

noyauDestination                    Next Hop                   Flag Met
Ref Use If2a01:e35:xxxx:xxxx::3/128      ::                         U  
  256 0     0 eth0fe80::/64                      ::                    
     U    256 1     4 eth0::/0                           ::            
             !n   -1  1 11892 lo::1/128                        ::      
                   Un   0   11   101 lo2a01:e35:xxxx:xxxx::3/128     
 ::                         Un   0   1    15
lofe80::5642:49ff:xxxx:xxxx/128  ::                         Un   0   1 
   39 loff00::/8                       ::                         U   
 256 3     0 eth0::/0                           ::                     
    !n   -1  1 11892 lo

There is no unique gateway (no Next Hop for ::/0).
The unique gateway should be the local address of the OpenWRT gateway.

As a result, ping6 does not work (network unreachable).

Second configuration: static IPv6 configuration

If i set the IPv6 staticly with correct gateway, the routing table
becomes:

/sbin/route -A inet6 
noyauDestination                    Next Hop                   Flag Met
Ref Use If2a01:e35:xxxx:xxxx::7/128      ::                         U  
  256 0     0 eth0fe80::ea94:f6ff:xxxx:xxxx/128  ::                    
     U    100 0     3 eth0fe80::/64                      ::            
             U    256 0     0 eth0::/0                          
 fe80::ea94:f6ff:xxxx:xxxx  UG   100 7     0 eth0::/0                  
         ::                         !n   -1  1 11937 lo::1/128         
               ::                         Un   0   11   107
lo2a01:e35:xxxx:xxxx::7/128      ::                         Un   0   1 
   38 lofe80::5642:49ff:xxxx:xxxx/128  ::                         Un  
 0   1     9 loff00::/8                       ::                       
  U    256 2     0 eth0::/0                           ::               
          !n   -1  1 11937 lo
fe80::ea94:f6ff:xxxx:xxx is the correct UG. ping6 works.

To me, it seems that when using stateful only configuration, IPv6
gateway is not broadcasted. How can this be configured/fixed?

Kind regards,
Gnutella
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5640 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/openwrt-devel/attachments/20150819/2df654f9/attachment.bin>
-------------- next part --------------
_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list