Mikrotik-Rate-Limit not working

Shaper related questions
Post Reply
hashbang
Posts: 63
Joined: 12 Jul 2015, 10:28

Mikrotik-Rate-Limit not working

Post by hashbang » 31 Dec 2019, 06:31

we had got a working radius server. I was testing accel-ppp but m not getting mikrotik-rate-limit attributes in logs.
added mikrotik dictionary in /usr/share/accel-ppp/radius/dictionary
radius is already working many mikrotiks
defined in shaper

vendor=mikrotik
attr=Mikrotik-Rate-Limit
rate-multiplier=0.001

ifname | username | calling-sid | ip | rate-limit | type | comp | state | uptime
--------+----------+-------------------+--------------+------------+-------+------+--------+----------
pppoe0 | megademo | e4:8d:8c:0a:95:e0 | 100.90.48.57 | | pppoe | | active | 01:46:22



2019-12-31 01:23:15]: info: pppoe0: disconnected
[2019-12-31 01:23:15]: info: recv [RADIUS(1) Accounting-Response id=5]
[2019-12-31 01:23:15]: warn: eth1.121: radius:packet: vendor 26 not found
[2019-12-31 01:23:15]: info: eth1.121: recv [RADIUS(1) Access-Accept id=1 <MS-CHAP2-Success 0x01533d36364644353733353538343433333346433534433439343435433030383936464544353334394441> <MS-MPPE-Recv-Key 0xa70c1d3756f15a5a6e6aa68fd44cf4af11af908219e1dbeae1d5bbb0d8529ef0a02f> <MS-MPPE-Send-Key 0xad2e32a67872ab3accdcd84282e47f6fa9129a0f54ec99649cd3372c20407b745304> <MS-MPPE-Encryption-Policy 1> <MS-MPPE-Encryption-Type 6> <Vendor-Specific 0x00003a8c081331303438353736302f3130343835373630> <Session-Timeout 4258845> <Acct-Interim-Interval 1800>]
[2019-12-31 01:23:15]: info: ppp0: connect: ppp0 <--> pppoe(e4:8d:8c:0a:95:e0)
[2019-12-31 01:23:15]: info: ppp0: megademo: authentication succeeded
help would be appreciated
thnks

dimka88
Posts: 703
Joined: 13 Oct 2014, 05:51
Contact:

Re: Mikrotik-Rate-Limit not working

Post by dimka88 » 31 Dec 2019, 13:56

Hi hashbang. I think you need set correct vendor

Code: Select all

[shaper]
vendor=Mikrotik
attr=Mikrotik-Rate-Limit
rate-multiplier=0.001

hashbang
Posts: 63
Joined: 12 Jul 2015, 10:28

[SOLVED]Re: Mikrotik-Rate-Limit not working

Post by hashbang » 01 Jan 2020, 06:53

ty, its working
I'd to restart accel-ppp
reload was not loading the new config (looks like)

Next problem in next section :?:

nik247
Posts: 108
Joined: 11 Oct 2014, 15:57

Re: Mikrotik-Rate-Limit not working

Post by nik247 » 02 Jan 2020, 15:37

dimka88 wrote:
31 Dec 2019, 13:56
Hi hashbang. I think you need set correct vendor

Code: Select all

[shaper]
vendor=Mikrotik
attr=Mikrotik-Rate-Limit
rate-multiplier=0.001
And Tx and Rx from "Mikrotik-Rate-Limit" is opposite to accel-ppp.
If TX=RX it's not problem

dimka88
Posts: 703
Joined: 13 Oct 2014, 05:51
Contact:

Re: Mikrotik-Rate-Limit not working

Post by dimka88 » 03 Jan 2020, 15:27

nik247, should we fix this?

hashbang
Posts: 63
Joined: 12 Jul 2015, 10:28

Re: Mikrotik-Rate-Limit not working

Post by hashbang » 18 May 2020, 10:01

yes I'm having the same problem. Plz fix it

thanks

nik247
Posts: 108
Joined: 11 Oct 2014, 15:57

Re: Mikrotik-Rate-Limit not working

Post by nik247 » 19 May 2020, 18:25


Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests