mikrotik quality of service in wireless point-to-point links · 2018-02-02 · my successful...
TRANSCRIPT
![Page 1: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/1.jpg)
MIKROTIKQUALITY OF SERVICE IN
WIRELESSBRIDGE PTP LINK
By
Muhammad Zishan Shaukat
Tristar Technologies
MikroTik User Meeting, 30th January 2018
Nairobi (Kenya)
![Page 2: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/2.jpg)
![Page 3: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/3.jpg)
![Page 4: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/4.jpg)
OUTLINES
1. Wireless Problems in Congested Environment.
2. Solution with MikroTik ROS
3. How does it work in MikroTik?
4. Configuration to be used
5. My Successful Project Story
6. MikroTik ROS Configuration Steps
7. Conclusion
![Page 5: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/5.jpg)
WIRELESS BRIDGE PTP LINK????
Wireless point to point links are widely used as
• quick-to-deploy
• cost effective
• Less Maintenance Time
• Troubleshoot free
• More..
![Page 6: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/6.jpg)
CONGESTED ENVIRONMENT
![Page 7: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/7.jpg)
![Page 8: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/8.jpg)
WIRELESS PROBLEMS IN CONGESTED ENVIRONMENT
![Page 9: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/9.jpg)
SOLUTION WITH MIKROTIK OS
MikroTik Router OS offer a very powerful and
extremely flexible QoS in wireless environment.
•Nstream v2 (NV2) Protocol
•Queues Management
•Frame-Priority
![Page 10: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/10.jpg)
FTP Server
with priority 3
Mail Server
with priority 6
IP Phone
with priority 7
HOW DOES IT WORKS IN MIKROTIK
![Page 11: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/11.jpg)
NV2 PROTOCOL
• Nstream v2 (NV2) is TDMA technology (Time
Division Multiple Access) based Wireless
PROTOCOL
• You can configure Nv2 in the Wireless menu.
• The most important benefits of Nv2 are:
• Increased speed
• More client connections in Point to multi point
environments
• Lower latency
• No distance limitations
• No penalty for long distances.
![Page 12: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/12.jpg)
NV2 WITH QUEUES
• By default (nv2-qos=default) NV2 use two
queues (nv2-queue=2).
• In this mode, all outgoing packets are
handled by the integrated QoS algorithm
based on packet type and size.
QoS settings are only done on
the AP!
There is no need at station
end
![Page 13: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/13.jpg)
NV2 QUEUES MANAGEMENT
• We can use 2 (RouterOS default), 4 or 8 separate queues inside a NV2 link for
individual traffic classes.
• ‘Packet to queue’ depends on the selected number of available NV2 queues (2, 4 or
8 queues)
![Page 14: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/14.jpg)
QUEUES BEHAVIOR
To understand this behavior, we have to take a deeper look in the IEEE Standard for
802.1D-2004 Bridge definitions!
Hig
her
![Page 15: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/15.jpg)
THE FRAME-PRIORITY OPTION
• If the built-in rules do not
apply, also in this mode
the queuing mechanism
use the Frame-Priority
field.
![Page 16: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/16.jpg)
THE FRAME-PRIORITY FIELD
• This can easily be done using the
‘action=set-priority’ functionality inside
the powerful firewall subsystem of
RouterOS which is available for
• Layer2 (in Bridge Filter)
• Layer3 (in IP Firewall Mangle)
![Page 17: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/17.jpg)
CONFIGURATION TO BE USED…
VOIP FTP
SQL base Software
![Page 18: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/18.jpg)
MY PROJECT PLACEGULBERG III LAHORE
PAKISTAN
Wireless device: MikroTik SXT 5 AC
Wireless Environment: Congested & Smoked
WIRELESS PTP LINK 5 km
Data Throughout put: 50 Mbps
Highest priority set: IP Phone / IP PBX
![Page 19: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/19.jpg)
BRIDGE & BRIDGE
STATION LINK STABILITY
![Page 20: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/20.jpg)
GOAL ACHIEVED
UDP protocol with
priority 3
TCP protocol with
priority 6
ICMP protocol
with priority 7
![Page 21: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/21.jpg)
NV2 QUEUES WITH
HIGHEST FRAME
PRIORITY (7)
(IP PHONE)
TCP LOGS
![Page 22: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/22.jpg)
MIKROTIK OS WIRELESS BRIDGE CONFIGURATION
![Page 23: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/23.jpg)
BRIDGE CONFIGURATION
• First of all make a bridge interface and add ether1 port & wlan1 port on
Both Devices one by one
![Page 24: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/24.jpg)
AP BRIDGE END CONFIGURATION
![Page 25: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/25.jpg)
STATION BRIDGE END CONFIGURATION
![Page 26: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/26.jpg)
IP ADDRESS TO BRIDGE INTERFACES
AP bridge End IP address
10.0.0.1/24 Station bridge End IP
address
10.0.0.2/24
![Page 27: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/27.jpg)
METHOD 1
FRAME PRIORITY WITH LAYER 2.
IN BRIDGE FILTERS
![Page 28: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/28.jpg)
UDP FRAME PRIORITY
![Page 29: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/29.jpg)
TCP FRAME PRIORITY
![Page 30: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/30.jpg)
ICMP (PING) FRAME PRIORITY
![Page 31: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/31.jpg)
LOG SETTING TO CONFIRM ICMP PRIORITY IN BRIDGE FILTER RULE
![Page 32: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/32.jpg)
LOGS
![Page 33: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/33.jpg)
METHOD 2
FRAME PRIORITY WITHLAYER 3
IN IP FIREWALL MANGLE
![Page 34: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/34.jpg)
UDP FRAME PRIORITY
![Page 35: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/35.jpg)
TCP FRAME PRIORITY
![Page 36: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/36.jpg)
ICMP (PING) FRAME PRIORITY
![Page 37: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/37.jpg)
LOG SETTING TO CONFIRM ICMP PRIORITY IP FIREWALL FILTER
![Page 38: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/38.jpg)
USE OF FIREWALL IN BRIDGE
![Page 39: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/39.jpg)
LOGS
![Page 40: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/40.jpg)
CONCLUSION
MikroTik OS Base Wireless Bridge is more
reliable, Stronger & Faster than all existing
Wireless PTP Bridge Link in Congested
Environment as I`ve Tested
![Page 41: MikroTik Quality of Service in wireless Point-to-Point Links · 2018-02-02 · My Successful Project Story 6. MikroTik ROS Configuration Steps 7. Conclusion . WIRELESS BRIDGE PTP](https://reader033.vdocuments.site/reader033/viewer/2022041708/5e461ca091668d7c0967a820/html5/thumbnails/41.jpg)
THANK YOU
ANY QUESTION PLEASE