Full MikroTik MTCRE - ECMP (Quick and Easy Load balancing)

Поделиться
HTML-код
  • Опубликовано: 26 июл 2024
  • Hello and welcome! In this video we will be discussing what ECMP is, some of its downsides as well as how to configure ECMP on a device. This mechanism has various uses from easy load-balancing for home users to network availability for ISP networks.
    Timestamps:
    📕00:00 - Introduction
    📕00:36 - ECMP Overview
    📕02:54 - ECMP Configuration
    Support the Channel:
    ⭐Become a Patreon: / thenetworkberg
    ⭐Become a RUclips Member: / @thenetworkberg
    Social Media:
    🌏 / thenetworkberg
    🌏 / bergnetwork
    🌏 / the-network-berg-39451...
    MTCRE Playlist:
    • Free MTCRE RoSv6
    MTCNA Playlist:
    • Free MTCNA RoSv6
    Thanks again for watching

Комментарии • 57

  • @gintarasp2
    @gintarasp2 2 года назад +11

    Mikrotik have some cool cheap hardware, yet not much *quality* tutorials on how to make stuff happen, you are on the right path.

  • @Sean_Cockrell
    @Sean_Cockrell 2 года назад +5

    The webpages struggling to open is not so much the 1M limit on the trial key but more so the fact that ECMP and SSL sites dont "play well" as you infact mentioned earlier, this was a good demonstration of the ECMP shortfall with SSL.

    • @leratoradebe6438
      @leratoradebe6438 Год назад

      Would Per-Traffic Load Balancing be the better method?

  • @aliraad9958
    @aliraad9958 2 года назад +3

    Keep moving brother

  • @kresimirpecar4925
    @kresimirpecar4925 2 года назад +1

    The Network Berg - Bringing enterprise level equipement to simple user level. I can already see it, everyone with fast fiber connections start building their own ISP 🤣🤣

  • @itzizag2280
    @itzizag2280 2 года назад +2

    Thank you So much.

  • @sNsReal
    @sNsReal 2 года назад +1

    I like the way you draw the netwokring diagrams!!.
    Diagrams aside, if you are given the task to load balance over multiple wan links dont waste your time and go with PCC, since it doesnt brake SSL and it is not so hard to setup

  • @ahmedehfida4935
    @ahmedehfida4935 2 года назад +1

    thank you keep going

  • @danielfedeles2527
    @danielfedeles2527 Год назад +2

    How can we do ECMP in RouterOS 7.6?

  • @saifullucky
    @saifullucky 2 года назад +4

    u have to mark connection for wan1 & wan 2 then have to do mark routing, and add 2 more static route with mark routing tag, otherwise u can't access to that mikrotik from the wan1 or wan2 in real case scenario

    • @TheNetworkBerg
      @TheNetworkBerg  2 года назад

      100% correct.

    • @rds0009
      @rds0009 2 года назад

      @@TheNetworkBerg is it possible to Bond 2 ISP? Constant bonded dual ISP.

  • @shokowillard
    @shokowillard 5 месяцев назад

    Please may you make a video of routing vrf and ecmp working together

  • @saintset
    @saintset 2 года назад +2

    There is not new gateway option on OS 7.1.3 for ECMP

  • @m19mesoto
    @m19mesoto Год назад

    it would be interesting to explore ecmp for ingress traffic and load-balance web server via multiple routes or links or isp's.

  • @hassanammad1606
    @hassanammad1606 2 года назад

    How to use load balancing for two IP sec tunnels using two different WAN interfaces ?

  • @BlackICE1973
    @BlackICE1973 10 месяцев назад

    just now saw this video. in ROS 7.x it looks different. I can not make second route in the same route rule. Instead I have to make second route entry. Any other differences I should take care of?

  • @KenMarfilla
    @KenMarfilla 2 года назад +2

    Is there a way to set this up in ROS7?

    • @TheNetworkBerg
      @TheNetworkBerg  2 года назад +1

      The process should be relatively the same, once a Long-Term release comes out with all bugs and features ironed out I will definitely revisit this topic on v7 since things can still potentially change how they are done on v7 and I do not want to make a video now that becomes irrelevant in a few months.

    • @KenMarfilla
      @KenMarfilla 2 года назад

      @@TheNetworkBerg So difference in v7 is that one just need to add another route and set the same distance.
      So aside from recursive failover, I now also have recursive ECMP. The later is for the on device DNS server which I find hard to mangle.

  • @markasena
    @markasena 2 года назад +2

  • @raajseeker
    @raajseeker 2 года назад

    What is the main differences between masquerade and passthrough?
    In both rule i can break up the internet.

  • @AlexPebodyGM
    @AlexPebodyGM 3 месяца назад +1

    Without Mangle Prerouting ISP1 and ISP2?

    • @nejcsu
      @nejcsu 3 месяца назад

      Yes, it’s not possible, many services failes, since routing decision is not connection based but rather packet based. This is the reason traceroute does not work as well.
      Policy based routing is the only solution here, if you manage to make it dynamic as well, you will almost get SD Wan featureset :)

  • @winstonscentraltechnology4238
    @winstonscentraltechnology4238 Год назад

    can you do one on PPC please?

  • @SavannahTL
    @SavannahTL 2 года назад

    If the internet is down on wan 1 but can reach wan 1 gateway, wouldn’t it be best to setup netwatch and have it ping an external IP address like google dns verify the internet can reach out beyond the gateway in?

    • @TheNetworkBerg
      @TheNetworkBerg  2 года назад +1

      You could do that with Netwatch, or a recursive route, either way works fine. This is a demonstration on ECMP itself, you can watch the recursive route video I did before this one and incorporate the two fundamentals together if you want to provide some sort of failover in the event of an internet path going down but the gateway remains up.

  • @practicaltraining1487
    @practicaltraining1487 2 года назад

    please make a video tutorial for VRF BGP without MPLS in MikroTik. advanced thanks.

  • @itzizag2280
    @itzizag2280 2 года назад

    which load balancing is best for an organization.
    1- PCC
    2- NTH
    3- ECMP
    is any other load balancing is available in this.
    and
    thank you so much again.

    • @sNsReal
      @sNsReal 2 года назад +2

      PCC is the best

    • @itzizag2280
      @itzizag2280 2 года назад

      @@sNsReal Thank you

  • @darryndw
    @darryndw 9 месяцев назад

    can you update this for router os 7

  • @David-bq2qh
    @David-bq2qh Год назад

    Just got a mikrotik for my dual WAN both isps are DHCP how would I apply this for dual DHCP connection?

    • @TheNetworkBerg
      @TheNetworkBerg  Год назад +1

      Hi David, for stuff like dynamic connections it is recommended to use PCC for load balancing. I still need to create a video covering the topic, however I can recommend using the MikroTik documentation to setup.
      v6:
      wiki.mikrotik.com/wiki/Manual:PCC
      v7
      help.mikrotik.com/docs/display/ROS/Per+connection+classifier

    • @David-bq2qh
      @David-bq2qh Год назад

      @@TheNetworkBerg Thank you for pointing me in right direction I actually just took and finished a class on the different load balance on Mikrotik and pcc looks like the way to go.

  • @cyrilathletic309
    @cyrilathletic309 Год назад

    Hey bud I'm cyril from india I'm a Class C ISP I'm newly built. And my dought is I have a 2 type of bandwith. One is the airtel and one is the tata
    Im using a different routers but I'll connect the one switch so lot of issues I'm facing especially I'm configure a client under airtel but it's working under tata. But i want two internet for two type of customers. airtel is a wireless customers another one for fiber connections so how can fix this. Or any possible to work a one router on two intermet...... Kindly rply me and solve my issue...

  • @ivanvidal9565
    @ivanvidal9565 8 месяцев назад

    Hi, ECMP can be used as a failover config?

    • @TheNetworkBerg
      @TheNetworkBerg  8 месяцев назад

      Yes, ECMP can be used in a fail-over scenario, however, most often it is used for load balancing. If a gateway drops it will mark it as down and only use any other available gateways to route out traffic.

  • @TheNetworkBerg
    @TheNetworkBerg  2 года назад +5

    (Note: ECMP works in a round robin way, a gateway is chosen randomly PER CONNECTION and ECMP can function is different routing tables)
    ECMP References:
    wiki.mikrotik.com/wiki/Manual:IP/Route
    wiki.mikrotik.com/wiki/ECMP_load_balancing_with_masquerade
    help.mikrotik.com/docs/display/ROS/Load+Balancing

    • @aliraad9958
      @aliraad9958 2 года назад

      If random, what’s going on If ISP have internal IPTV 🥰 ?? Simple i create mangle rule and route mark with distention IP address must be goes through ISP1 , just add in your video will be more useful to your subscribers

  • @estiaanhorn4597
    @estiaanhorn4597 2 года назад

    Could you do a mpls video?

    • @TheNetworkBerg
      @TheNetworkBerg  2 года назад +1

      I have some older videos on how to configure MPLS, I also covered MPLS on my livestreams, though those videos are pretty lengthy, but do cover A LOT of aspects around building an ISP Network
      MPLS Video:
      ruclips.net/video/kA1eUNrmItg/видео.html
      Live Stream playlist:
      ruclips.net/p/PLJ7SGFemsLl3nVZ7c-IoeZgR5VDZPKq6d

    • @estiaanhorn4597
      @estiaanhorn4597 2 года назад

      @@TheNetworkBerg Thanks, much appreciated!

  • @kashifkhan8277
    @kashifkhan8277 Год назад

    hey
    ECMP is not same to work in router OS7

  • @vesalgasht3037
    @vesalgasht3037 Год назад

    what if both connection is PPPOE connation? NO IP to Route here

  • @kresimirpecar4925
    @kresimirpecar4925 2 года назад

    One question, not realted to this topic, are you planning to do CAPsMAN tutorial ?

    • @TheNetworkBerg
      @TheNetworkBerg  2 года назад +1

      Not right now, but I am considering getting a few Mikrotik APs to potentially make a video some day.

    • @kresimirpecar4925
      @kresimirpecar4925 2 года назад +1

      @@TheNetworkBerg It would be great if you do that, i think CAPsMAN is great Mikrotik option, especially if you have large house with multiple AP.

  • @itzizag2280
    @itzizag2280 2 года назад

    is speeed is merge 10mb + 10 mb = 20mb like this?

    • @TheNetworkBerg
      @TheNetworkBerg  2 года назад +2

      Sort of, this is not bonding but load balancing. If multiple connections to a destination can occur then you could potentially get 20Mbps out from two 10Mbps connections. Although if only a single connection is made to the remote side then you would still be capped to 10Mbps.

    • @itzizag2280
      @itzizag2280 2 года назад

      @@TheNetworkBerg Thank you so much

  • @tekniqal2639
    @tekniqal2639 Год назад

    This will not work for me as I have dynamic addresses from my ISP.

    • @TheNetworkBerg
      @TheNetworkBerg  Год назад

      In your case I would recommend checking out PCC on the MikroTik wiki it offers another way to load balance for dynamic connections.

    • @tekniqal2639
      @tekniqal2639 Год назад

      @@TheNetworkBerg I'll check it out. Thanks.