pppoe+ radius+ rate limit

Hello

I got PPPOoE server and RADIUS that works fine in basic setting but i want add rate-limit for the user and that won`t work ;/ . Do you know what is bad in my settings, how to solve it?

INCLUDE Default.dic
INCLUDE WISPr.dic

#
# Mikrotik Extensions
#
#ATTRIBUTE Mikrotik             26       [vid=14988 type1=1 len1=+2 data=string]

# VENDOR Mikrotik 14988
ATTRIBUTE Recv-Limit            26       [vid=14988 type1=1 len1=+2 data=integer]
ATTRIBUTE Xmit-Limit            26       [vid=14988 type1=2 len1=+2 data=integer]
ATTRIBUTE Group                 26       [vid=14988 type1=3 len1=+2 data=string]
ATTRIBUTE Wireless-Forward      26       [vid=14988 type1=4 len1=+2 data=integer]
ATTRIBUTE Wireless-Skip-Dot1x   26       [vid=14988 type1=5 len1=+2 data=integer]
ATTRIBUTE Wireless-Enc-Algo     26       [vid=14988 type1=6 len1=+2 data=integer]
ATTRIBUTE Wireless-Enc-Key      26       [vid=14988 type1=7 len1=+2 data=string]
ATTRIBUTE Rate-Limit            26       [vid=14988 type1=8 len1=+2 data=string]
ATTRIBUTE Realm                 26       [vid=14988 type1=9 len1=+2 data=string]
ATTRIBUTE Host-IP               26       [vid=14988 type1=10 len1=+2 data=ipaddr]
ATTRIBUTE Mark-Id               26       [vid=14988 type1=11 len1=+2 data=string]
ATTRIBUTE Advertise-URL         26       [vid=14988 type1=12 len1=+2 data=string]
ATTRIBUTE Advertise-Interval    26       [vid=14988 type1=13 len1=+2 data=integer]
ATTRIBUTE Recv-Limit-Gigawords  26       [vid=14988 type1=14 len1=+2 data=integer]
ATTRIBUTE Xmit-Limit-Gigawords  26       [vid=14988 type1=15 len1=+2 data=integer]

ATTRIBUTE MTK-Total-Limit       26       [vid=14988 type1=17 len1=+2 data=integer]
ATTRIBUTE MTK-Total-Limit-Gigawords  26  [vid=14988 type1=18 len1=+2 data=integer]



#
#       Additional Values
#

VALUE           Wireless-Enc-Algo       No-encryption   0
VALUE           Wireless-Enc-Algo       40-bit-WEP      1
VALUE           Wireless-Enc-Algo       104-bit-WEP     2



[Mikrotik]
Dictionary=Mikrotik.dic
IgnoreAcctSig=Yes
UniquePorts=No
BW:User-Service-Type=Login-User,Rate-Limit=$bwrate
Packet-Of-Disconnect:Client-Id=$Client-Id,Acct-Session-Id=$Acct-Session-Id,User-Name=$User-Name,Framed-Address=$Framed-Address

Turn on RADIUS debug logging on the router and authenticate, and see what the logs show.

Beyond that you’ll have to be more descriptive. You don’t even mention what RADIUS server you are using, and are just showing that you’re passing a variable for the rate limit attribute. There is no indication if that variable is in the right format as you aren’t showing its value.

Ok I resolve this problem.

Only one left with PoD