1 line
6.8 KiB
JSON
1 line
6.8 KiB
JSON
|
{"path":"01-Documentation/Routers/Mikrotik - Network Redes/adjuntos/presentation_6896_1554712741.pdf","text":"Bandwidth Control Brian Horn MikroTik MUM – Austin, TX April 2019 Why implement bandwidth control? • You have finite bandwidth that you pay for based on capacity • You have to distribute that bandwidth to your AP sites • What do you for your backbone links? • Licensed full duplex or unlicensed half duplex • What is your download/upload ratio • Typically upload is 10% of download (network average) • Streaming devices can use bandwidth 24 x 7 • E.g. Roku video streaming, it does not know if you are watching Optimize bandwidth utilization and associated revenue 2 Benefits of Bandwidth Control • Create different service levels to meet customer requirements • Residential Services • Asymmetric services • Upload speed 25% of download speed • Business Services • Symmetric bandwidth • Usage Based Billing or Unlimited Usage • Where do you set limits? • Is the revenue generated worth the effort? • UBB can be used as a marketing message against you 3 Bandwidth Control Tiers • Residential Services • R3 – 3 Mbps • R6 – 6 Mbps • R9 – 9 Mbps • R12 – 12 Mbps • R18 – 18 Mbps • R25 – 25 Mbps • Contract term - Monthly 4 • Business Services • B25 – 25 Mbps • B50 – 50 Mbps • B100 – 100 Mbps • Contract term – 1 to 3 years Do not leave money on the table Where do you implement Bandwidth Control? • Data Center (NOC) - Ingress Point • Control download bandwidth utilization to customer • Customer Router - Egress Point • Control upload bandwidth utilization from customer • Ingress and Egress Points • Optimum but requires configuration of multiple devices • Not worth the effort as upload traffic is typically 10% of download traffic Implement bandwidth control at Data Center (NOC) 5 Bandwidth Control Implementation Options • Simple Queues • Simplest way to limit data rates for specific IP address and/or subnets • Can be used to build advanced QoS applications • Each rule checks IP header of every packet to check for match • Mangle + Queue Trees • Uses connection marks and packet marks eliminating need to check every packet • Results in lower CPU utilization 6 MikroTik Router Implementation Packet flow diagram in routed environment without IPSEC 7 PHYSICAL IN-INTERFACE PHYSICAL OUT-INTERFACE PREROUTING FORWARD POSTROUTING ROUTING DECISION Bandwidth Control – Simple Queues Packet Flow Chains 8 Bandwidth Control – Simple Queues • Only Target and Max Limits required • Queue Type can limit performance – recommend ethernet-default 9 Bandwidth Control – Simple Queues 10 Simple Queue – Pros and Cons • Pros • Simple to configure • Utilizes multiple cores in multi-core router e.g. CCR1036 • Basic bandwidth control can be enhanced with: • Traffic prioritization • Bursting • Time based limits • Data rate limitation by protocols, ports, … • Cons • Each packet has to be checked against each queue rule to find out if there is a match and an action that has to be applied 11 Bandwidth Control – Mangle + Queue Trees Packet Flow Chains 12 Bandwidth Control – Mangle + Queue Trees 13 • Configuration sequence for each service level • Mark Connection • Mark Packets • Create Queue Trees • Create Queue Types • Create Address Lists How do we handle router interfaces? Data Center (NOC) Configuration • Internet • Two connections • BGP • Router • Could be redundant configuration • Distribution Network • P2P backbone links • OSPF • Wireless AP 14 Internet Distribution Network NOC Router Dual Internet Connections Mangle + Queue Trees Configuration Inbound Connections • Two Internet connections • Need to be able to view as one interface • Create an Interface List “Inbound” /interface list add name=Inbound /interface list member add interface=ether1 list=Inbound add interface=ether2 list=Inbound 15 Mangle + Queue Trees Configuration Outbound Connections • Three distribution connectio
|