cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

ASR9k BNG IPv6 configuration not working

ttakacs
Level 1
Level 1

Hello, 

I am new in BNG and ASR9K topic but with some guideline I configured the device as BNG.

The authentication is via RADIUS, for IPv4 it is working but for IPv6 I have problem, the CPE doesn't get IPv6 address from the selected pool.

I run a lot of debug and found one alert: 

DHCPV6 SERVER ERROR: TP3692: dhcpv6_daps_alloc_by_pool: DAPS: daps_ipv6_alloc_by_pool: Failed rc='ip-daps' detected the 'warning' condition 'Warning: Invalid arguments passed'

 
My ASR9K uses 5.1.1 sw version, but with same config there are a lot is working in our network but using 4.3. 
 
Here is the relevant configuration part (I have changed the IP addresses):
 

pppoe bba-group global

 ac name adsl

 service selection disable

 sessions mac limit 3

 sessions mac throttle 3 30 100

!

class-map type control subscriber match-any bng-ppp

 match protocol ppp 

 end-class-map

!

!

policy-map type control subscriber bng-control

 event session-start match-first

  class type control subscriber bng-ppp do-until-failure

   10 activate dynamic-template bng-login

  !

 !

 event session-activate match-first

  class type control subscriber bng-ppp do-until-failure

   10 authenticate aaa list bng

   20 activate dynamic-template bng-template

  !

 !

 end-policy-map

 

pool vrf all ipv6 v6_lan_pool

 prefix-length 56

 prefix-range 2012:3456:7:4000:: 2012:3456:7:7f00::

!

pool vrf all ipv6 v6_framed_pool

 prefix-length 64

 prefix-range 2012:3456:7:1800:: 2012:3456:7:1bff::

!

pool vrf default ipv4 PPPoE_internet

 address-range 192.168.10.32 192.168.10.63

!

dhcp ipv6

 profile bng-v6 server

  dns-server 2012:3456:1::1 2012:3456:2::1

 !

 interface subscriber-pppoe profile bng-v6

!

dynamic-template

 type ppp bng-login

  ppp authentication pap

  ppp lcp delay 0 100

  ipv4 mtu 1492

  ipv6 mtu 1492

 !

 type ppp bng-template

  ppp authentication pap

  ppp timeout absolute 43201 0

  accounting aaa list bng type session periodic-interval 360

  ipv4 mtu 1492

  ipv4 unnumbered Loopback0

  ipv6 nd other-config-flag

  ipv6 mtu 1492

 

interface Bundle-Ether10004.932

 service-policy type control subscriber bng-control

 pppoe enable bba-group global

 encapsulation dot1q 932

 

From RADIUS the BNG got the followings:

default Cleartext-Password := "***********"

        Cisco-AVPair = "ip:addr-pool=PPPoE_internet",

        Cisco-AVPair += "ip:dns-servers=xx.yy.zz.gg",

        Cisco-AVPair += "subscriber:ipv6-enable=1",

        Cisco-AVPair += "ipv6:stateful-ipv6-address-pool=v6_framed_pool",

        Cisco-AVPair += "ipv6:delegated-ipv6-pool=v6_lan_pool"

 

Have any of you got the same problem?

 

Thanks

Tamas

 

Who Me Too'd this topic