Project

General

Profile

Actions

Bug #11005

closed

IPv6 Prefix Delegation not requested if no interfaces set to track6

Added by Chris Linstruth over 1 year ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
DHCP (IPv6)
Target version:
Start date:
10/24/2020
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
Affected Architecture:

Description

Like #4544.

It appears that the bits to request a PD from upstream are not placed into /var/etc/dhcp6c_wan.conf unless the WAN is configured for DHCP6 with a PD and there is at least one interface set to track6.

With WAN set to DHCP6 and a /56 PD but without an interface set to track6:

interface vtnet1 {
    send ia-na 0;    # request stateful address
    send ia-pd 0;    # request prefix delegation
    request domain-name-servers;
    request domain-name;
    script "/var/etc/dhcp6c_wan_script.sh"; # we'd like some nameservers please
};
id-assoc na 0 { };

With WAN set to DHCP6 and a /56 PD and an interface set to track6:

interface vtnet1 {
    send ia-na 0;    # request stateful address
    send ia-pd 0;    # request prefix delegation
    request domain-name-servers;
    request domain-name;
    script "/var/etc/dhcp6c_wan_script.sh"; # we'd like some nameservers please
};
id-assoc na 0 { };
id-assoc pd 0 {
    prefix ::/56 infinity;
    prefix-interface vtnet0 {
        sla-id 0;
        sla-len 8;
    };
};
Actions

Also available in: Atom PDF