High Availability on MikroTik RouterOS



Similar documents
M2M Series Routers. Virtual Router Redundancy Protocol (VRRP) Configuration Whitepaper

MikroTik RouterOS Introduction to MPLS. Prague MUM Czech Republic 2009

Digi Certified Transport Technician Training Course (DCTT)

Copyright 2008 Link Technologies,Inc. A Proud Vendor Member of the

CHAPTER 10 LAN REDUNDANCY. Scaling Networks

Course Contents CCNP (CISco certified network professional)

Network Architecture Validated designs utilizing MikroTik in the Data Center

Objectives. Explain the Role of Redundancy in a Converged Switched Network. Explain the Role of Redundancy in a Converged Switched Network

MikroTik Training Module Understanding VLAN Translation/Rewrites using Switches and Routers

Webinar - MikroTik RouterOS Statefull Firewall Howto

Troubleshooting and Maintaining Cisco IP Networks Volume 1

Understanding VLAN Translation/Rewrites using Switches and Routers

CCNP SWITCH: Implementing High Availability and Redundancy in a Campus Network

RESILIENT NETWORK DESIGN

Formación MTCUME. MikroTik Certified User Manager Engineer. Pre-requisitos: - Certificación MTCNA

Networking and High Availability

WISP 101. The DO s and DON T s of becoming a Wireless ISP

Implementation IPV6 in Mikrotik RouterOS. by Teddy Yuliswar

Networking and High Availability

Juniper Networks Certified Internet Specialist Fast Track

VLAN in MikroTik. By Mohammed Khomeini Bin ABU MUM Indonesia, 2013

TechBrief Introduction

Switching in an Enterprise Network

Vocia MS-1 Network Considerations for VoIP. Vocia MS-1 and Network Port Configuration. VoIP Network Switch. Control Network Switch

This How To Note describes one possible basic VRRP configuration.

Chapter 4. Distance Vector Routing Protocols

BGP as an IGP for Carrier/Enterprise Networks

Redundancy and load balancing at L3 in Local Area Networks. Fulvio Risso Politecnico di Torino

MPLS for ISPs PPPoE over VPLS. MPLS, VPLS, PPPoE

Redundancy Design Best Practices

High Availability Failover Optimization Tuning HA Timers PAN-OS 6.0.0

Cisco Certified Network Associate Exam. Operation of IP Data Networks. LAN Switching Technologies. IP addressing (IPv4 / IPv6)

CHAPTER 6 DESIGNING A NETWORK TOPOLOGY

Interconnecting Cisco Networking Devices Part 2

MikroTik RouterOS Workshop Load Balancing Best Practice. Warsaw MUM Europe 2012

Redundancy and load balancing at L3 in Local Area Networks. Fulvio Risso Politecnico di Torino

Voice Over IP. MultiFlow IP Phone # 3071 Subnet # Subnet Mask IP address Telephone.

16-PORT POWER OVER ETHERNET WEB SMART SWITCH

Burning Bridges - Routing Your Bridged WISP Network With MikroTik

Objectives. The Role of Redundancy in a Switched Network. Layer 2 Loops. Broadcast Storms. More problems with Layer 2 loops

: Interconnecting Cisco Networking Devices Part 2 v1.1

Configuring a Gateway of Last Resort Using IP Commands

Quality of Service in wireless Point-to-Point Links

Juniper Exam JN0-343 Juniper Networks Certified Internet Specialist (JNCIS-ENT) Version: 10.1 [ Total Questions: 498 ]

: Interconnecting Cisco Networking Devices Part 1 v2.0 (ICND1)

Simulation of High Availability Internet Service Provider s Network

Chapter 12 Configuring VRRP and VRRPE

DATA CENTER. Best Practices for High Availability Deployment for the Brocade ADX Switch

Bridgewalling - Using Netfilter in Bridge Mode

MikroTik Certified Network Associate (MTCNA) Training outline

Redundancy and load balancing at L3 in Local. Fulvio Risso Politecnico di Torino

Datacenter Rack Switch Redundancy Models Server Access Ethernet Switch Connectivity Options

Cisco Networking Academy CCNP Multilayer Switching

Multihoming and Multi-path Routing. CS 7260 Nick Feamster January

Layer 3 Routing User s Manual

Router and Routing Basics

MikroTik RouterOS v3. New Obvious and Obscure Mikrotik RouterOS v3.x features

ASM Educational Center (ASM) Est. 1992

VRRP Technology White Paper

Configuring the Transparent or Routed Firewall

Juniper / Cisco Interoperability Tests. August 2014

Exterior Gateway Protocols (BGP)

Configuring Switch Ports and VLAN Interfaces for the Cisco ASA 5505 Adaptive Security Appliance

Routing in Small Networks. Internet Routing Overview. Agenda. Routing in Large Networks

MikroTik Invisible Tools. By : Haydar Fadel 2014

EXINDA NETWORKS. Deployment Topologies

Balancing and Gateway Failover

MLAG on Linux - Lessons Learned. Scott Emery, Wilson Kok Cumulus Networks Inc.

How To Load Balance On A Cisco Cisco Cs3.X With A Csono Css 3.X And Csonos 3.5.X (Cisco Css) On A Powerline With A Powerpack (C

CCNP Switch Questions/Answers Implementing High Availability and Redundancy

Bell Aliant. Business Internet Border Gateway Protocol Policy and Features Guidelines

Layer 3 Network + Dedicated Internet Connectivity

Abstract. MEP; Reviewed: GAK 10/17/2005. Solution & Interoperability Test Lab Application Notes 2005 Avaya Inc. All Rights Reserved.

Chapter 3. Enterprise Campus Network Design

GregSowell.com. Mikrotik Routing

Building Effective Firewalls with MikroTik P R E S E N T E D B Y: R I C K F R E Y, N E T W O R K E N G I N E E R I P A R C H I T E C H S O P E R AT I

DD2491 p Load balancing BGP. Johan Nicklasson KTHNOC/NADA

June Bridge & Switch. Pietro Nicoletti Piero[at]studioreti.it. Bridge-Switch-Engl - 1 P. Nicoletti: see note pag. 2

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

New Obvious and Obscure MikroTik RouterOS v5 features. Budapest, Hungary MUM Europe 2011

Implementing L2 at the Data Center Access Layer on Juniper Networks Infrastructure

ICANWK613A Develop plans to manage structured troubleshooting process of enterprise networks

Feature catalog. Q1-Q MikroTik RouterOS

Leased Line + Remote Dial-in connectivity

Description: Objective: Upon completing this course, the learner will be able to meet these overall objectives:

Magnum Network Software DX

The Use of Mikrotik Router Boards With Radius Server for ISPs.

Brocade to Cisco Comparisons

Scenario 1: One-pair VPN Trunk

Fast Fault Recovery in Switched Networks for Carrying IP Telephony Traffic

Management Software. Web Browser User s Guide AT-S106. For the AT-GS950/48 Gigabit Ethernet Smart Switch. Version Rev.

Elfiq Networks Vital for Hospitality

A New Approach to Developing High-Availability Server

Datagram-based network layer: forwarding; routing. Additional function of VCbased network layer: call setup.

Table of Contents. Cisco How Does Load Balancing Work?

Top-Down Network Design

GregSowell.com. Mikrotik Basics

Low cost secure VPN MikroTik SSTP over OpenIXP (Indonesian Internet) ASTA INFORMATICS Faisal Reza

How To. Configure Multiple Spanning Tree Protocol (MSTP) Introduction. Overview of MSTP. Extension of RSTP

Transcription:

High Availability on MikroTik RouterOS GUILHERME RAMIRES

About me Nome: Guilherme Ramires System Analyst CTO of Alive Solutions Trainings, Consulting and Network Projects CEO of Alive Store Resale of Mikrotik Products Mikrotik Consultant since 2009 MTCNA, MTCTCE, MTCWE, MTCRE, MTCUME and MTCINE Mikrotik Training Partner since 2010 2

Introduction Index Resources to provide high avaibility Virtual Routing VRRP Some Examples of VRRP Resources available on RouterBoards Final remarks 3

Introduction High availability is a system ability to shape physical or logic changes in order to maintain the network UP the maximum possible time. It is possible to provide high avaibility on MikroTik RouterOS by using several protocols and techniques. We also can find some interesting resources on RouterBoards. 4

Bonding STP Let s see what we can use to Static Routing Dynamic Routing provide high avaibility Virtual Routing (VRRP) ByPass On RouterBoards Redundant Power On RouterBoards 5

Cont All these resources you can use together or maybe you can apply one of them according to the problem you need to solve. In most cases you need to use more than one to reach satisfactory results. First step is understand the network topology. 6

Bridged network ISP 1 Only one ISP Only one gateway LAN No routing 7

Bonding Bonding works putting together two or more interfaces in order to aggregate links or provider failover. However in some cases the failover system can take more than 20 seconds to work. 8

Bonding Positives: Default configuration is very easy, several modes to aggregate and it is possible to use it with EoIP tunnels. Negatives: Too slow to detect topology changes and some problems with excessive retransmissions in some modes. 9

(R)STP Spanning tree Protocol is used to provide loop free bridge networks. In the first moment the protocol elects a root bridge and than starts to calculate loop free paths. If a loop is detect trough any port the protocol disable this specific port or put it on standby mode. 10

STP Positives: You do not need to worry about L2 filters or use Split Horizon to avoid loops. The protocol will analyze the topology and do all the hard work to you. Negatives: If you have a huge network is important to make some adjusts in order to make it work smoothly. Security problems too. More information about security problems with STP you can find here: http://mum.mikrotik.com/presentations/br09/seguranca_camada2_maia.pdf 11

Routed network OSPF RIP ISP 1 BGP ISP 2 BGP At least two ISP`s Several gateways LAN Segmented network 12

Static Routing It is possible to provide high availability using static routing too. However you need to forecast all possible problems that can happen. 13

Static Routing Positives: Can solve some specific problems that could be more complicate to solve by changing your dynamic protocol setup or even not possible to solve because the dynamic routing protocol just fail. Negatives: Human fail will happen on huge networks. Some failover solutions are very difficult to get in some cases. 14

Dynamic Routing We can solve the static routing hard working by using dynamic routing protocols as: RIP, OSPF, MME, BGP, etc The dynamic routing protocols are able to announce physical or logical changes and according to their algorithms they can make the necessary modifications on the routing table in order to keep traffic flow. 15

Dynamic Routing Positives: These protocols can do the hard work for you. Easy to create one way flow to UPLOAD and other to DOWNLOAD without lose redundancy. Negatives: These algorithms needs some cpu usage and make changes to the routing table very often. 16

VRRP O Virtual Router Redundancy Protocol (VRRP) is a network protocol that provides automatic assignment of routers available to participating hosts. This increases the availability and confiability of routing paths by selecting default gateways automatically. The protocol accomplishes this by creating virtual router groups, which are an abstract representation of multiple routers. The default gateway of a host participant is assigned to the virtual router instead of a physical router. 17

VRRP If the physical router that routes packets on behalf of the virtual router fails, another physical router is automatically selected to replace him. The physical router that does the routing of packets in a given time is called the master router. 18

VRRP Routers have priorities between 1-255 and the router with the highest priority will be the master one. When a planned withdrawal of a master router is about to happen you may change its priority. Which means that the backup router will preempt the master router status instead of having to wait the timeout. This reduces the "black hole effect. 19

VRRP The default VRRP implementation is very simple. Advanced parameters should be adjusted in order to get some desired results like: Suppose you want the router R1 to be always the master one. You have to give it a bigger priority than R2 and you must set Preampetable Mode=yes. I have one live demonstration that can be found on tiktube page: http://www.tiktube.com/video/defh3almggghlicpigqtpzpudleopeni= 20

For Router R1: Soft configuration #1 /interface vrrp add interface=ether1 vrid=49 priority=150 /ip address add address=192.168.1.1/24 interface=ether1 /ip address add address=192.168.1.254/32 interface=vrrp1 For Router R2: /interface vrrp add interface=ether1 vrid=49 priority=100 /ip address add address=192.168.1.2/24 interface=ether1 /ip address add address=192.168.1.254/32 interface=vrrp1 21

Its is possible to make load balance using VRRP. In this case you need to create two virtual routing groups with different IDs. Soft configuration #2 22

For Router R1: Soft configuration #2 /ip address add address=192.168.1.1/24 interface=ether1 /interface vrrp add interface=ether1 vrid=49 priority=150 /interface vrrp add interface=ether1 vrid=77 priority=100 /ip address add address=192.168.1.253/32 interface=vrrp1 /ip address add address=192.168.1.254/32 interface=vrrp2 For Router R2: /ip address add address=192.168.1.2/24 interface=ether1 /interface vrrp add interface=ether1 vrid=49 priority=100 /interface vrrp add interface=ether1 vrid=77 priority=150 /ip address add address=192.168.1.253/32 interface=vrrp1 /ip address add address=192.168.1.254/32 interface=vrrp2 23

VRRP Positives: Fast response in case of physical failure, easy way to replace devices without black hole periods and no routing table modification. Negatives: In Nated networks some connections you will reset. 24

Resources on RouterBoards ByPass 25 Here you will find a great solution to redundant access points in your tower: http://mum.mikrotik.com/presentations/pl12/grifonline.pdf

Resources on RouterBoards Power Redundancy The RouterBoards can be fed simultaneously with DC jack and POE Injector. This way you can replace power suply without lose the uptime. The higher voltage is chosen. 26

Final considerations We conclude that a single redundancy feature may be not enough not perform high availability. However the mutual cooperation of all these techniques allows us to provide high availability. All these features and techniques used in this presentation are available in MikroTik RouterOS and the RouterBoards. 27

Questions?? Guilherme Ramires ramires@alivesolutions.com.br www.fb.com/gmramires www.fb.com/alivesolutions 28

Thanks!! Hvala!!