Junos
Junos

Problem With PPPoE Dual-Stack NDRA + DHCPv6 when using Activate-Service radius Attribute

[ Edited ]
‎06-10-2019 07:55 AM

Hello Everyone,

 

I've been using the Activate-Service attribute to provide dynamic bandwidth parameters for a while. So far I tested only with IPv4, though the config was in theory, ready for ipv6. Now I am trying to certify that our config works for ipv6-enabled subscribers also, but I am facing a weird problem: When my radius server provides the Activate-Service attribute, the BRAS does not send any ipv6 router-advertisements on the subscriber interface:

 

> show subscribers user-name testeti01              

Interface             IP Address/VLAN ID                      User Name                      LS:RI

pp0.3222097896        A.B.C.D                         testeti01                 default:default      

*                     XXX::/56

*                     YYY::/64

 

hubsoft@PWN-PPPoE> show ipv6 router-advertisement interface pp0.3222097896    

 

hubsoft@PWN-PPPoE>

 

 

I also noticed that the dynamic configuration state stays at the "Init" state:

 

hubsoft@PWN-PPPoE> show subscribers user-name testeti01 extensive

Type: PPPoE

User Name: testeti01

IP Address: A.B.C.D

IP Netmask: 255.255.255.255

Primary DNS Address: A.B.C.D

Secondary DNS Address: A.B.C.D

IPv6 Prefix: XXX:/56

IPv6 User Prefix: YYY::/64

Logical System: default

Routing Instance: default

Interface: pp0.3222097896

Interface type: Dynamic

Underlying Interface: xe-0/0/2.3105

Dynamic Profile Name: ISP-PADRAO

Dynamic Profile Version: 3

MAC Address: d8:0d:17:43:75:a5

Session Timeout (seconds): 86400

Idle Timeout (seconds): 7200

Idle Timeout Ingress Only: FALSE

State: Active

Radius Accounting ID: 5974047

Session ID: 5974047

PFE Flow ID: 874514

VLAN Id: 3105

Login Time: 2019-06-10 11:24:39 BRT

Service Sessions: 1

IP Address Pool: CGNAT01

IPv6 Framed Interface Id: 4ce7:77a3:b487:2fb2

Accounting interval: 600

Dynamic configuration:

  junos-ipv6-ndra-prefix: XXX::/64

 

   Service Session ID: 5974049

   Service Session Name: Custom-Rate-Limit2

   Service Session Version: 2

   State: Init                          

   Service session type: Service-Profile

   Service Activation time: 2019-06-10 11:24:40 BRT

   Dynamic configuration:               

     down-rate: 50000k                  

     filter-down: filter-down_UID2153   

     filter-up: filter-up_UID2155       

     shaper-down: shaper-down_UID2152   

     shaper-up: shaper-up_UID2154       

     up-rate: 50000k                 

 

 

If I stop sending of the Activate-Service attribute, and let the subscriber authenticate without any filter/shaper, it works correctly:

 

hubsoft@PWN-PPPoE> show subscribers user-name testeti02                       

Interface             IP Address/VLAN ID                      User Name                      LS:RI

pp0.3222097602        A.B.C.D                          testeti02                 default:default      

*                     XXX::/56

*                     YYY::/64

 

hubsoft@PWN-PPPoE> show ipv6 router-advertisement interface pp0.3222097602    

Interface: pp0.3222097602

  Advertisements sent: 6, last sent 0:01:53 ago

  Solicits received: 0

  Advertisements received: 0

 

hubsoft@PWN-PPPoE>

 

In this case, the CPE receives both IPv6 prefixes (WAN and PD) perfectly, something that doesn't happen when I send the Activate-Service to enable traffic-shapping.

 

I did'nt post any config here just to avoid being verbose. If anybody could help me with this, I can post the relevant configuration.

 

Thanks a lot.

1 REPLY 1
Highlighted
Junos

Re: Problem With PPPoE Dual-Stack NDRA + DHCPv6 when using Activate-Service radius Attribute

‎06-10-2019 12:20 PM

Hello,

 

I discovered the error. I was using the same UID variable to reference both filter families (INET and INET6). After creating a new uid variable to reference our inet6 family filters, it worked correctly.