This is one of the most common technology in the ISP domain .
Sometimes you can see most of the customers are facing the traffic dropped issues in Video streaming .
I want to give the high priority bandwidth to all my users when they are accessing any video server
over the internet . And as i tested if you are using the Google connection form these service provider like Mumbai CH and Extreeme and also you can choose anyone service provider but this is the rule will help you out to filter video streaming traffic in your network and easily you can set the bandwidth to your customers for video traffic only .
And as per the my experience it also works fine for facebook videos,youtube videos .
Here i am using this below scenario .
Lets start the configuration ..
I am not configuring the basic configuration here . because already i have posted some basic technologies about Mikroitk .like ,IP address configuration , Default Route , NAT etc etc ...
Step-1
Goto IP>Firewall>Layer 7
You can use the below command to add the scri
/ip firewall layer7-protocol
add comment="" name=ALL_Video regexp="videoplayback|video"
Step-2
Then Crete the Mangle rule to mark the Video streaming packets .
Use the below command to create the mangle rule.
/ip firewall mangle
add action=mark-packet chain=forward layer7-protocol=ALL_Video new-packet-mark=\
Video_Streaming passthrough=yes
Step-3
Create the Queue .
This is completely depends on you because as per your requirement you can give the bandwidth to all the customers .
You can give same bandwidth for all the users .and also you can select a specific amount of bandwidth for this video streaming users .
If you want to give the same speed to each users then you have to create the PCQ .
Here I am going to give extra 2mbps more for all my Video streaming traffic .
Create the PCQ first using this below command .
/queue type
add kind=pcq name=2mbps_UP pcq-classifier=src-address pcq-dst-address6-mask=64 \
pcq-rate=2M pcq-src-address6-mask=64
add kind=pcq name=2mbps_DN pcq-classifier=dst-address pcq-dst-address6-mask=64 \
pcq-rate=2M pcq-src-address6-mask=64
Create a simple queue using the packet marks .
After configuring the above things you will be able to see the traffic against of your created queue for video streaming .
No comments:
Post a Comment