Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Bandwidth control approach - Cisco vs Mikrotik on Multitenancy


All the content of this website is informative and non-commercial, does not imply a commitment to develop, launch or schedule delivery of any feature or functionality, should not rely on it in making decisions, incorporate or take it as a reference in a contract or academic matters. Likewise, the use, distribution and reproduction by any means, in whole or in part, without the authorization of the author and / or third-party copyright holders, as applicable, is prohibited

  • Be the first to comment

  • Be the first to like this

Bandwidth control approach - Cisco vs Mikrotik on Multitenancy

  1. 1. Bandwitdh Control Approaches Cisco versus Mikrotik on Multitenancy Abril de 2016 Olaf Reitmaier <olafrv@gmail.com>
  2. 2. Cisco - QoS Enterprise Design http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoS-SRND-Book/QoSDesign.html http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoS-SRND-Book/WANQoS.html Acc. → Policy ↔ Agg. → Shaping
  3. 3. Cisco – QoS Multi-Tenancy Bandwitdh Provisioning Real-Time (i.e. Defaulto → VoIP) Best-Effort (i.e. Default → Data) What about Multi-tenancy?
  4. 4. Quality of Service (QoS) http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_55_se/configuration/guide/scg_2960/swqos.html http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoS-SRND-Book/QoSIntro.html
  5. 5. QoS – On What? Uni-VLAN (Acceso) L2 L2 Multi-VLAN (Troncal) L2 L2 Inter-VLAN (Ruta) L2 (Mark) -> L2 (Action) (QoS per Frame) L2 (Mark) -> L2 (Action) (QoS per Frame) Routed-VLANs (L3/IP->Packets) Bridge-VLANs (L2/Ethernet->Frames) Inter-VLAN (Ruta) L3 (Label) -> L3 (Action) (QoS per Packet) L3 (Label) -> L3 (Action) (QoS per Packet) Inter-VLAN (Ruta) L2 (Label) -> L3 (Action) (QoS per Frame/Packet) L2 (Label) -> L3 (Action) (QoS per Frame+Packet) Policy/ Shape
  6. 6. QoS - Labels for Classification and Marking http://www.cisco.com/c/en/us/td/docs/switches/lan/catalyst2960/software/release/12-2_55_se/configuration/guide/scg_2960/swqos.html http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoS-SRND-Book/QoSIntro.html http://www.cisco.com/c/en/us/products/ios-nx-os-software/network-based-application-recognition-nbar/index.html → Layer 2 (Ethernet/MAC/VLAN) → Class of Services (CoS) → 2^3 bits → 8 variations → Layer 3-4 (IP/TCP/UDP) → Type of Services (ToS), IP Precedence (IPP), Diff. Service Code Points (DSCP), IP Explicit Congestion Notification (ECN). → 2^6 bits →64 variations (w/ IP-ECN) → SRC/DST IP or Port → ∞ → Layer 7 (Application) → Network Based Application Recongnition (NBAR) → App Payload Signature (Propietary)
  7. 7. Cisco - QoS HW Escalability Traffic Flow Direction Ingress != Egress Egress Queue Quantity → Per Port →Maximum 4
  8. 8. Cisco - QoS Model (Defaults) http://www.cisco.com/c/en/us/td/docs/solutions/Enterprise/WAN_and_MAN/QoS_SRND/QoS-SRND-Book/ QoSIntro.html
  9. 9. Cisco – QoS Label → Mappings
  10. 10. Cisco - Traffic Policing vs Shapping for Bandwitdh Control http://www.cisco.com/c/en/us/support/docs/quality-of-service-qos/qos-policing/19645-policevsshape.html http://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/command/reference/fqos_r/qrfcmd1.html#wp1017391 http://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/command/reference/fqos_r/qrfcmd6.html http://www.cisco.com/c/en/us/td/docs/ios/12_2/qos/command/reference/fqos_r/qrfcmd9.html#wp1102948 In/Out-Bound Max-Limits Excess Drop Excess Re-Mark (DSCP/IPP) Lower Priority Outbound Memory Buffers Queues Scheduling → Based Weighted Fair Queuing (CBWFQ) → Low Latency Queuing (LLQ). Later Transmission
  11. 11. Policing rate-limit → on interface → ACL → ACL := MAC, IPP, MPLS EXP → ACL → kbps policy-map-class (bandwidth) → on interface → POLICY → POLICY → CLASS → CLASS → kbps XOR %port Shaping policy-map-class (shape) → average → peak → cir (comm. info. rate) → bc (comm. burst size) → be (excess burst) Warning policy & priority => shape → priority overrides police!!! Cisco - Traffic Policing vs Shapping
  12. 12. Mikrotik (RouteBand) ● Letonian Company ● Router OS Linux (Licensed, Never Expire) – http://wiki.mikrotik.com/wiki/Manual:License ● Layer 2 (Bridger) ↔ Layer 3 (Router) ● Hierachical Token Bucket (Multi-Queue Tree) ● Disable Connection Tracking for all the router or by interfaces when is not needed NAT or Stateful Firewall to avoid asimetric routed traffic drop (BGP).
  13. 13. Mikrotik – Network Layers
  14. 14. Mikrotik – Layer 2 - Bridging
  15. 15. Mikrotik – Layer 3 - Routing
  16. 16. Mikrotik – Traffic Flow
  17. 17. Mikrotik – Queueing
  18. 18. Mikrotik – HTB Queue Example
  19. 19. Mikrotik – QoS Design Layer 2 – Bridge Filter/Firewall
  20. 20. Mikrotik – Layer 2 – Ethernet Frame
  21. 21. Mikrotik – Bridge Filter – Properties General Properties
  22. 22. Mikrotik – Bridge Filter - VLAN Advanced Properties
  23. 23. Mikrotik – Bridge Filter - Actions
  24. 24. Mikrotik – QoS Design Layer 3 – IP Filter / Firewall
  25. 25. Mikrotik – Layer 3 - Packet Header L3 TCP Header (L2 Frame Payload)
  26. 26. Mikrotik – IP Filter - Properties Advanced Properties General Properties
  27. 27. Mikrotik – IP Filter - Actions
  28. 28. Mikrotik – QoS Design ● Traffic Queue Engineering: ● Parent Queue → Max-At: 100 Mbps ● Children Queues →Limit-At: X<100 Mbps ● Bandwidth Control L2/L3: ● In→ Interface (Iface) VLAN ID (~ any physical) ● Bridge Filter (Mark DSCP → Iface VLAN ID) ● Route Filter – Iface VLAN ID & Mark DSCP & Address (Src): 0.0.0.0 – Connection-Mark → Child Queue #1
  29. 29. Mikrotik – QoS Design
  30. 30. Mikrotik – QoS Design
  31. 31. Mikrotik – Alternatives ● NetEqualizer → NetEqualizer 1000/5000 ● Exinda → Exinda 4000/6000/8000/10000 ● Blue Coat → Packet Shaper 3500/7500/12000 ● Allot Communications → Service Gateway Tera/9500/Virtual Edition/NetXplorer
  32. 32. APPENDIX A. Cisco QoS Extras
  33. 33. QoS Flows
  34. 34. Clasif./Mark./Policing - Ingress QoS http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html
  35. 35. Clasif./Mark./Policing - Ingress QoS http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html
  36. 36. Congestion Managment http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html
  37. 37. Congestion Managment http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html
  38. 38. Congestion Managment http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html
  39. 39. Congestion Managment http://www.cisco.com/c/en/us/support/docs/switches/catalyst-3750-series-switches/91862-cat3750-qos-config.html

    Be the first to comment

    Login to see the comments

All the content of this website is informative and non-commercial, does not imply a commitment to develop, launch or schedule delivery of any feature or functionality, should not rely on it in making decisions, incorporate or take it as a reference in a contract or academic matters. Likewise, the use, distribution and reproduction by any means, in whole or in part, without the authorization of the author and / or third-party copyright holders, as applicable, is prohibited

Views

Total views

1,147

On Slideshare

0

From embeds

0

Number of embeds

4

Actions

Downloads

19

Shares

0

Comments

0

Likes

0

×