Community discussions

MikroTik App
 
AlexN
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Feb 18, 2010 11:02 am

Problem with shaping through pptp

Fri Nov 05, 2010 4:45 pm

I am using pptp-server on RouterOS. If it works with encryption then all traffic that shapes with queue-tree and packet mark shapes correctly: if I set max-limit 1Mbps, I get 1Mbps. If it works with no encryption then if I set max-limit 1Mbps, I get 512Kbps. But queue shows me that it consumes 1Mbps. This happens when parent queue attached to global-out. If it attached to pptp interface, traffic shapes correctly. With pptp-encryption it's no difference to what interface attached parent queue. In case of pppoe it's no difference between using enryption or not and no matter to what interface attached parent queue.
I tried it with different routerboards (RB433, RB433AH, RB1000) and different versions of RouterOS (3.x till 5.0rc3).

What differences between encrypted or not enrcypted pptp from the shaper point of view?
Thank you.
 
AlexN
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Feb 18, 2010 11:02 am

Re: Problem with shaping through pptp

Sat Nov 06, 2010 10:30 am

Guys from the staff, is it a bug? Please, give comments for this matter.
 
AlexN
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Feb 18, 2010 11:02 am

Re: Problem with shaping through pptp

Tue Nov 09, 2010 12:28 pm

Anybody? It's realy big problem for me now! Please, help.
Thank you.
 
fewi
Forum Guru
Forum Guru
Posts: 7717
Joined: Tue Aug 11, 2009 3:19 am

Re: Problem with shaping through pptp

Tue Nov 09, 2010 3:19 pm

I would send an email to support@mikrotik.com.
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: Problem with shaping through pptp

Tue Nov 09, 2010 5:43 pm

I am using pptp-server on RouterOS. If it works with encryption then all traffic that shapes with queue-tree and packet mark shapes correctly: if I set max-limit 1Mbps, I get 1Mbps. If it works with no encryption then if I set max-limit 1Mbps, I get 512Kbps. But queue shows me that it consumes 1Mbps. This happens when parent queue attached to global-out. If it attached to pptp interface, traffic shapes correctly. With pptp-encryption it's no difference to what interface attached parent queue. In case of pppoe it's no difference between using enryption or not and no matter to what interface attached parent queue.
I tried it with different routerboards (RB433, RB433AH, RB1000) and different versions of RouterOS (3.x till 5.0rc3).

What differences between encrypted or not enrcypted pptp from the shaper point of view?
Thank you.
It's interesting that traffic is exactly half. Can you show your mangle rules?
 
AlexN
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Feb 18, 2010 11:02 am

Re: Problem with shaping through pptp

Tue Nov 09, 2010 6:08 pm

/ip firewall mangle add chain=forward src-address-list=shape_list action=mark-packet new-packet-mark=upload passthrough=no
/ip firewall mangle add chain=forward dst-address-list=shape_list action=mark-packet new-packet-mark=download passthrough=no
Also, using pppoe and the same rules and queues shaping works perfect with or without encryption.
Thank you, guys, for replying :)
 
rmichael
Forum Veteran
Forum Veteran
Posts: 718
Joined: Sun Mar 08, 2009 11:00 pm

Re: Problem with shaping through pptp

Wed Nov 10, 2010 11:52 pm

Does it make a difference if you mangle in prerouting chain?
 
AlexN
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Feb 18, 2010 11:02 am

Re: Problem with shaping through pptp

Thu Nov 11, 2010 10:39 am

No, it doesn't. Nor postrouting chain too.
 
AlexN
Frequent Visitor
Frequent Visitor
Topic Author
Posts: 82
Joined: Thu Feb 18, 2010 11:02 am

Re: Problem with shaping through pptp

Thu Nov 18, 2010 12:42 am

Looks like the only chance to get answer on this question is to send mail to support. I'll write about it.
 
devicebusy
just joined
Posts: 4
Joined: Mon Feb 08, 2010 8:32 pm

Re: Problem with shaping through pptp

Fri Aug 12, 2011 11:07 am

Hi guys, MT 433AH, ROS 4.11, exactly the same problem, w/o encryption in pptp tunnel queue tree shape traffic to exactly a half of setup, for example - 5M queue show that its full with real 2.5mbit/s traffic, so its a bug i think. I've try mangle by src/dst IP and by in/out iface (pptp tunel iface in this case), results are the same. So WTF?

Who is online

Users browsing this forum: kleshki, sindy and 43 guests