Community discussions

MikroTik App
 
mwpmo
just joined
Topic Author
Posts: 17
Joined: Thu Sep 22, 2005 12:09 pm

Help on QoS

Wed Oct 08, 2008 8:07 pm

I am a beginner on RouterOS

Just installed RouterOS in an old PC as the router of my home network to share internet (6M/640k ADSL) with several PCs and a linux server (mail/web).

I can share the internet among those PCs and the my mail / web server can be access from Internet.

Everything is fine first until I start using BT,

Evertimes I started BT, all the web surfing will become very slow.
I already limited the download / upload speed of BT (to 300KB/s / 10KB/s) and check the overall bandwidth usage is less than the 6M/640k limit.

---------------------------------
I wish to set http/ftp traffic with the highest priority and BT traffic with the lowest priority

From reading the software document, I think I need to use "Mangle" and "Queue" Function in RouterOS but after reading the hole document, I still don't know how to do it.

Anyone can teach me how to do it in RouterOS?
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: Help on QoS

Wed Oct 08, 2008 10:49 pm

 
mwpmo
just joined
Topic Author
Posts: 17
Joined: Thu Sep 22, 2005 12:09 pm

Re: Help on QoS

Thu Oct 09, 2008 2:49 am

Thanks a lot!
I will try.
 
mwpmo
just joined
Topic Author
Posts: 17
Joined: Thu Sep 22, 2005 12:09 pm

Re: Help on QoS

Thu Oct 09, 2008 4:52 am

Just set up those packet marking and queue tree.
But I found that there is some problem on the Simple Queue. :(
(I use 3.14 and package "Xen" was not installed)

Since I have limited upload speed (640k) of my broadband line and I got a web/mail server, so I setup up a Simple Queue to limited the upload speed of the IP of the server to 256k only.

Everything was find before and I can check the upload speed and the queue status of my server in the Simple Queue Windows.

However, After I marked the packet and use Queue Tree, everything was fine in Queue Tree and I can check the speed of each queue in the Queue Tree windows.

But the speed stated in Simple Queue become zero!

1) Is that normal?
2) Is the Simple Queue to limit the upload speed of server is still functioning?
3) If the Simple Queue is not functioning, how can I fix it?
 
User avatar
gustkiller
Member
Member
Posts: 419
Joined: Sat Jan 07, 2006 5:15 am
Location: Brazil
Contact:

Re: Help on QoS

Fri Oct 10, 2008 2:44 am

can you paste your simple queue configuration here?

type "/queue simple export " copy the result and paste here
 
mwpmo
just joined
Topic Author
Posts: 17
Joined: Thu Sep 22, 2005 12:09 pm

Re: Help on QoS

Fri Oct 10, 2008 2:55 am

After some try and error, I found that after I change the "global-in" and "global-out" to my physical interface "eth1" and "WAN1", the simple queue is looking good.

Anyway I paste the configure file here for your review.
Am I set it correctly?
(3 types of packet, high, normal and P2P)

Cause I feel even I setup the queue, the web-surfing speed is still very slow after I started BT
(I already patched the TCPIP.SYS file of XP)

-------------------------------------------------

/queue simple
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
0/0 max-limit=512000/0 name=WORK parent=none priority=1 queue=\
default-small/default-small target-addresses=192.168.1.131/32 \
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
0/0 max-limit=512000/0 name=INTEL parent=none priority=4 queue=\
default-small/default-small target-addresses=192.168.1.141/32 \
total-queue=default-small
add burst-limit=0/0 burst-threshold=0/0 burst-time=0s/0s comment="" \
direction=both disabled=no dst-address=0.0.0.0/0 interface=all limit-at=\
0/0 max-limit=256000/0 name=WDD parent=none priority=8 queue=\
default-small/default-small target-addresses=192.168.1.175/32 \
total-queue=default-small

/queue tree
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=200000 \
max-limit=640000 name=Upload packet-mark="" parent=WAN1 priority=4 queue=\
default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=U_High packet-mark=high parent=Upload priority=1 queue=\
default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=U_Normal packet-mark=normal parent=Upload priority=6 \
queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=150000 \
max-limit=300000 name=U_P2P packet-mark=P2P parent=Upload priority=8 \
queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
4000000 max-limit=7000000 name=Download packet-mark="" parent=ether1 \
priority=4 queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=D_High packet-mark=high parent=Download priority=1 \
queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=0 \
max-limit=0 name=D_Normal packet-mark=normal parent=Download priority=6 \
queue=default-small
add burst-limit=0 burst-threshold=0 burst-time=0s disabled=no limit-at=\
3000000 max-limit=6000000 name=D_P2P packet-mark=P2P parent=Download \
priority=8 queue=default-small
 
Radius
just joined
Posts: 2
Joined: Sun Oct 12, 2008 8:48 pm

Re: Help on QoS

Sun Oct 12, 2008 9:35 pm


I don' t see any diference, with or without...

have somebody better qos or shaping, p2p "crashes" my inet connection

Who is online

Users browsing this forum: billyerasmus101, jaclaz, vk2mpj and 209 guests