Hello,
I'm trying to use "Delegated-ipv6-Prefix" from radius to give a /56 to my CPE with these configurations:
Delegated-ipv6-Prefix dont seem to be present in this link:
https://www.juniper.net/documentation/us/en/software/junos/subscriber-mgmt-getting-started/topics/topic-map/dynamic-profiles-predefined-variables.html
Dynamic profil:
set dynamic-profiles QinQ_Test_4000 interfaces demux0 unit "$junos-interface-unit" no-traps
set dynamic-profiles QinQ_Test_4000 interfaces demux0 unit "$junos-interface-unit" proxy-arp
set dynamic-profiles QinQ_Test_4000 interfaces demux0 unit "$junos-interface-unit" vlan-tags outer "$junos-stacked-vlan-id"
set dynamic-profiles QinQ_Test_4000 interfaces demux0 unit "$junos-interface-unit" vlan-tags inner "$junos-vlan-id"
set dynamic-profiles QinQ_Test_4000 interfaces demux0 unit "$junos-interface-unit" demux-options underlying-interface "$junos-interface-ifd-name"
set dynamic-profiles QinQ_Test_4000 interfaces demux0 unit "$junos-interface-unit" family pppoe duplicate-protection
set dynamic-profiles QinQ_Test_4000 interfaces demux0 unit "$junos-interface-unit" family pppoe dynamic-profile DP_PPPoE_QinQ_Test_4000
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" interface "$junos-interface-name"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options rib "$junos-ipv6-rib" access route $junos-framed-route-ipv6-address-prefix qualified-next-hop "$junos-interface-name"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options rib "$junos-ipv6-rib" access route $junos-framed-route-ipv6-address-prefix metric "$junos-framed-route-ipv6-cost"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options rib "$junos-ipv6-rib" access route $junos-framed-route-ipv6-address-prefix preference "$junos-framed-route-ipv6-distance"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options access route $junos-framed-route-ip-address-prefix next-hop "$junos-framed-route-nexthop"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options access route $junos-framed-route-ip-address-prefix metric "$junos-framed-route-cost"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options access route $junos-framed-route-ip-address-prefix preference "$junos-framed-route-distance"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options access route $junos-framed-route-ip-address-prefix tag "$junos-framed-route-tag"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 routing-instances "$junos-routing-instance" routing-options access route $junos-subscriber-ip-address qualified-next-hop "$junos-interface-name"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces interface-set "$junos-svlan-interface-set-name" interface pp0 unit "$junos-interface-unit"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" actual-transit-statistics
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" ppp-options chap challenge-length maximum 16
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" ppp-options pap
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" ppp-options authentication pap
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" ppp-options authentication chap
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" ppp-options initiate-ncp ip
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" ppp-options mtu use-lower-layer
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" pppoe-options underlying-interface "$junos-underlying-interface"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" pppoe-options server
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" keepalives interval 30
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" family inet unnumbered-address "$junos-loopback-interface"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 interfaces pp0 unit "$junos-interface-unit" family inet6 unnumbered-address "$junos-loopback-interface"
set dynamic-profiles DP_PPPoE_QinQ_Test_4000 protocols router-advertisement interface "$junos-interface-name" prefix $junos-ipv6-ndra-prefix
RADIUS:
MariaDB [radius]> select * from radreply where username like "%CPE_QinQ_4000@covage-bpea%";
+----------+---------------------------+--------------------------+----+-----------------------+
| id | UserName | Attribute | op | Value |
+----------+---------------------------+--------------------------+----+-----------------------+
| 36722581 | CPE_QinQ_4000@covage-bpea | Class | = | 0 |
| 36722582 | CPE_QinQ_4000@covage-bpea | Service-Type | = | Framed-User |
| 36722583 | CPE_QinQ_4000@covage-bpea | Framed-Routing | = | Listen |
| 36722584 | CPE_QinQ_4000@covage-bpea | Framed-Protocol | = | PPP |
| 36722585 | CPE_QinQ_4000@covage-bpea | Framed-IP-Address | = | 62.213.175.52 |
| 36722586 | CPE_QinQ_4000@covage-bpea | Framed-IP-Netmask | = | 255.255.255.255 |
| 36789577 | CPE_QinQ_4000@covage-bpea | Unisphere-Virtual-Router | = | PROD_TEST |
| 36789837 | CPE_QinQ_4000@covage-bpea | Jnpr-CoS-Parameter-Type | = | T02 1000m |
| 36859436 | CPE_QinQ_4000@covage-bpea | Delegated-IPv6-Prefix | = | fc00:aaaa:bbbb::/48 |
+----------+---------------------------+--------------------------+----+-----------------------+
The problem is I can't verify if it's working:
-->
Type: PPPoE
User Name: CPE_QinQ_4000@covage-bpea
IP Address: 62.213.175.52
IP Netmask: 255.255.255.255
IPv6 Prefix: fc00:aaaa:bbbb::/56
Logical System: default
Routing Instance: PROD_TEST
Interface: pp0.3221230850
Interface type: Dynamic
Interface Set: xe-2/0/1-4000
Underlying Interface: demux0.3221225548
Dynamic Profile Name: DP_PPPoE_QinQ_Test_4000
Dynamic Profile Version: 5
MAC Address: 18:fd:74:7f:e5:fa
State: Active
Radius Accounting ID: 6025
Session ID: 6025
PFE Flow ID: 6626
Stacked VLAN Id: 4000
VLAN Id: 2100
Login Time: 2024-07-04 16:34:57 CEST
IPv6 Framed Interface Id: 0:0:0:9
Accounting interval: 0
Dynamic configuration:
junos-cos-shaping-rate: 1000m
CPE configuration:
CPE (audiocode):
on pppoe 0 interface:
interface pppoe 0
firewall enable
napt
mtu 1452
ppp user CPE_QinQ_4000@covage-bpea obscured-pass $$$$$$$$$$$$
ppp authentication chap
ppp authentication ms-chap
ppp authentication ms-chap-v2
ppp authentication pap
ppp lcp-echo 6 5
no ppp compression
ip address auto
ipv6 enable
ipv6 address autoconfig
ip dns server static
ip name-server 85.158.112.41 85.158.112.139
underlying GigabitEthernet 0/0.4085
no shutdown
exit
ipv6 is enabled + autoconfig (slaac)
the CPE dont receive IPv6 from LNS.
Thank you for your help!
------------------------------
NOC NETWORK
------------------------------