Wrong prefix length is advertised

Sten Carlsen stenc at s-carlsen.dk
Tue Mar 29 18:39:06 UTC 2016


You will get both the gateway and the prefix from the RADV. If I understand correctly. You may have multiple prefixes.



> On 29 Mar 2016, at 18:46, Juergen Bachsteffel <juebac at web.de> wrote:
> 
> 
> Sten Carlsen <stenc at s-carlsen.dk> wrote:
> 
>> Just to point out that while in IP4 the DHCP gives all info needed, in
>> IP6 both DHCP and RADV are needed to have the full picture.
> 
> Yes, I know that for the default gateway. There is no option
> for the default gateway in DHCPv6. It is advertised through radvd and
> normally is the link-local-address from a router.
> 
> radvd.conf is:
> interface eth0
> {
> AdvSendAdvert on;
> AdvDefaultLifetime 0;
> prefix fda0:65da:e55a:0001::/64
> {
> };
> };
> 
> Both radvd and dhcpd6 are a running.
> 
> 
> On my Linux-Client with Network-Manager I have two options for IPv6.
> "Automatic" and "Automatic, DHCP only".
> 
> 
> WORKING:
> With 'Automatic' the client gets a IP-address from radvd and there is an
> entry when I type: ip -f inet6 route
> 
> fda0:65da:e55a:1::/64 dev enp0s25  proto kernel  metric 256  expires
> 86375sec
> 
> 
> NOT WORKING:
> With 'Automatic, DHCP only' the client gets an IP-address from the
> DHCP-Server and the entry is missing! (See the first output of ip -6 route).
> 
> When I understand your explanations right this could be the reason,
> why it isn't working. The client needs an route entry to know, who his
> neighbors are, right?
> 
> And, I have to find out why the entry is missing.
> 
> 
> Greetings,
>      Juergen
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> dhcp-users mailing list
> dhcp-users at lists.isc.org
> https://lists.isc.org/mailman/listinfo/dhcp-users



More information about the dhcp-users mailing list