I have a question about the IPv6 PD for Junos Subscriber Management. Is there a way to get the subnet for the prefix delegation directly from the radius server without being forced to configure the pool locally on the MX router? That is, I don't want to get the pool name from the radius, but directly the subnet to be delegated.
Thanks in advance,
You can assign the DHCPv6 IAPD using below CLI.
labroot@jtac-mx960-r2032-re1# set system services dhcp-local-server dhcpv6 overrides delegated-pool ?Possible completions:<delegated-pool> Delegated pool name for inet6
Ok I misunderstood. You need assign IAPD address from radius rather than sending the pool name from radius.
Did you tried below radius attribute?
When the BNG needs to obtain a prefix for DHCPv6 prefix delegation, it uses the values in one of the following RADIUS attributes:
Delegated-IPv6-Prefix—The attribute (123) contains an IPv6 prefix that the BNG can send to the CPE.
Jnpr-IPv6-Delegated-Pool-Name—The attribute (VSA 26-161) contains the name of an address-assignment pool configured on the BNG from which the BNG can select a prefix to send to the CPE.
Both attributes are sent from the RADIUS server to the BNG in RADIUS Access-Accept messages.
Framed-IPv6-Prefix = 200X:X:XXX:X::/64,
Delegated-IPv6-Prefix = 200X:X:X::/56,
labroot@test-re0> show subscribers
Interface IP Address/VLAN ID User Name LS:RI
demux0.3221225474 0x8100.128 0x8100.7 default:default
pp0.3221225475 200X:X:X::/56 TEST default:default
Thank you very much Mayar,
yes, that is what I was looking for, the "delegated ipv6 prefix" attribute should be supported by junos, I still need to try it but thank you for your prompt anser 🙂
Have a nice day!