Getting multiple /64 prefixes from ATT NVG599

2016 December 6
by Daniel Lakeland

So, it turns out that the NVG599 doesn't seem to hand out big prefixes like /60 or /61 but it will hand out several individual /64 prefixes.

So, now I have full native speed ipv6, with up to 15 prefixes for internal networks (the 16th is for the WAN side network that the ATT router "owns")

Example config in wide-dhcpv6, if you have WAN on eth0 and LAN on eth1 and you want eth1.10 vlan to have its own prefix.

The line "ia-pd 0" and "ia-pd 1" define two requests for prefixes

 

# Default dhpc6c configuration: it assumes the address is autoconfigured using
# router advertisements.

profile default
{
  information-only;

  request domain-name-servers;
  request domain-name;

  script "/etc/wide-dhcpv6/dhcp6c-script";
};

interface eth0 {
    send rapid-commit;

    send ia-na 0;
    send ia-pd 0; ## request our main prefix
    send ia-pd 1; ## request a second prefix
};

id-assoc na 0 {
## puts an address on the wan side eth0
};

## define the prefix we want for our main prefix
id-assoc pd 0 {
    prefix ::/64 infinity;

    # Internal interface (LAN)
    prefix-interface eth1 {
        sla-len 0;
        sla-id 1;
        ifid 1;
    };
};

## define the prefix we want for our second one
id-assoc pd 1 {
    prefix ::/64 infinity;

    # Internal interface (LAN)
    prefix-interface eth1.10 {
        sla-len 0;
        sla-id 1;
        ifid 1;
    };
};


 

No comments yet

Leave a Reply

Note: You can use basic XHTML in your comments. Your email address will never be published.

Subscribe to this comment feed via RSS