Policy Based Routing + Failover - RouterOS v7

Sdílet
Vložit
  • čas přidán 20. 02. 2022
  • #mikrotik #routeros7 #mikrotikTutorial
    Policy based routing (PBR) is a technique that forwards and routes data packets based on policies or filters. In this video, we will configure PBR from scratch in RouterOS v7.
    Menu
    0:00 Introduction
    Network Diagram + Config Backups at
    thenetworktrip.blog
    Check more videos on my channel
    / @thenetworktrip
    Connect with Wilmer Almazan
    LinkedIN: / wilmeralmazan
    Facebook: / nsswilmeralmazan
    Twitter: / wilmer_almazan
    Instagram: / wilmer_almazan
    Personal Blog: thenetworktrip.blog
    mikrotik
    routeros 7
    ospf
    mtcna
    mtcre
    cybersecurity
    routing
    cloud computing
    virtualization
    switching
    network automation
  • Věda a technologie

Komentáře • 64

  • @chilli9129
    @chilli9129 Před rokem +1

    Dziękuje bardzo za dobry film !

  • @Joshv918
    @Joshv918 Před rokem +1

    spent two days trying to get this to work, After slowly watching your video it worked perfectly! THANK YOU!!

  • @Serg_B.
    @Serg_B. Před rokem +1

    Thank you very much! Very informative tutorial. Great work!

  • @maksimsignatovs8218
    @maksimsignatovs8218 Před 6 měsíci

    Very detailed explanation.
    When I tried to make a similar configuration, everything immediately worked as it should. Great educational video!👍

  • @diegozupo-btcaas3009
    @diegozupo-btcaas3009 Před rokem +1

    Thank you man, it was a great video and a good class. Keep going 💪

  • @mikkio5371
    @mikkio5371 Před 7 měsíci +1

    beautiful . i have been seeing this but did not take a look at it until today

  • @ivanpetkov5365
    @ivanpetkov5365 Před 2 lety +1

    Thank You! This video was very helpfull. Thank You again and hope to see more interesting movies.

  • @luisgutierrez-kb8re
    @luisgutierrez-kb8re Před 2 lety

    gracias por compartir la info ya logre configurar en modo PBR, saludos

  • @sunilmahajan7
    @sunilmahajan7 Před 10 měsíci +1

    Very clear and easy to understand. thank you for sharing this information..

  • @thesoulofmusic168
    @thesoulofmusic168 Před 2 lety

    Thank you, I like your Videos.

  • @undukunduk3432
    @undukunduk3432 Před 10 měsíci +1

    Thank you, your explanation is very easy to understand,

  • @jeytis72
    @jeytis72 Před 4 měsíci

    Very informative and useful. Please more videos about policy routing, especially about routing rules possibly. Thanks

  • @omargayle6634
    @omargayle6634 Před rokem +1

    muchas gracias por el video!!

  • @OfficialRoot
    @OfficialRoot Před 2 lety

    Good work!!!

  • @luisvilla4811
    @luisvilla4811 Před 2 lety +2

    Al fin pude configurar mi RB en modo PBR, te agradezco mucho, saludos!

  • @JavierPlay
    @JavierPlay Před rokem

    So nice

  • @Johann75
    @Johann75 Před rokem +1

    Good explanation

  • @nicoladellino8124
    @nicoladellino8124 Před rokem +1

    Muchas gracias por el video.

  • @dublegun4884
    @dublegun4884 Před rokem +1

    Спасибо!

  • @nosharwangujar1323
    @nosharwangujar1323 Před 2 lety +2

    brother kindly make a video PBR +Failover + Recursive Routing

  • @Papanara22
    @Papanara22 Před 11 měsíci +2

    Can you explain more about failover? In some conditions, it happens that the gateway from the modem is active, but the internet connection coming from the ISP is experiencing problems.
    In this video, the router only checks the ping to the gateway, without knowing whether the gateway has an active internet connection.

    • @TheNetworkTrip
      @TheNetworkTrip  Před 8 měsíci

      Hello!
      We can add recursive routing to monitor an IP beyond the connected gateway. I’ve explained that process on the following video: Recursive Routing + Failover - Mikrotik RouterOS v7
      czcams.com/video/eTmpBAAW_pQ/video.html

  • @stevebot
    @stevebot Před rokem +1

    Thanks for this, you got me motivated to try it out. I did it on a RB952-Ui-xxxx with v7.8 and the marked traffic is deadly slow even though CPU usage is in the single digits. I’m going to try it on a better router to see how it performs.

    • @TheNetworkTrip
      @TheNetworkTrip  Před rokem +1

      Hello!
      It should work fine in any model. Something else should be affecting in your RB952

    • @stevebot
      @stevebot Před rokem

      @@TheNetworkTripFasttrack was the issue, firewall forward rules in and out before fasttrack rule solved it.

  • @jesusmaster16
    @jesusmaster16 Před rokem +1

    Gracias maestro, me tuve que venir a su canal en inglés para ver cómo se hace completamente el PBR en v7 😂😂😂

  • @nosharwangujar1323
    @nosharwangujar1323 Před 2 lety

    i need to configure my router with policy based routing and external host for fail over bro kindly make a video according this scenario thanks alot

  • @gerojasblanco
    @gerojasblanco Před 2 lety

    Excellent video!, thank you for share it.
    I´ve a inverse situation: 1 isp and 2 routes to same ip subnet but different interfaces: a bridge and vlan interface. The vlan interface make possible a trunk link with a Cisco switch, where are PCs of the same ip subnet of bridge in Mikrotik RB. I mean, the same ip subnet has 2 routes and none PC work, obsviously. PBR may be the solution?

  • @RicardoHoos
    @RicardoHoos Před rokem +1

    Greetings The Network Trip, thank you very much for the tutorial, and all the knowledge you share with Mikrotik enthusiasts, I wanted to ask a very specific question:
    When making this configuration, there is a problem if only the Mangle part of the backup WAN2 is configured, of course without omitting the Routes part so that the failover works properly. Thank you!

    • @TheNetworkTrip
      @TheNetworkTrip  Před rokem +2

      Hello Ricardo,
      No problem at all. The traffic without routing-marks will use the main routing table.

  • @Rouly88
    @Rouly88 Před 2 lety +1

    Thank you very much..
    All your video it's very helpful. Thanks.
    Please think about how to configure Load balancing PCC + Fail over on RouterOS v7

    • @TheNetworkTrip
      @TheNetworkTrip  Před 2 lety

      Hi, thank you
      My next video is about Failover + Recursive Routing. PCC is coming soon!

  • @christosaivazoglou5860
    @christosaivazoglou5860 Před 2 lety +1

    Hello, could you please provide guidelines how to use port forwording + recursive routing to avoid to check ping the ISP gateway but a public ip address. Thank you. Amazing Video !

    • @TheNetworkTrip
      @TheNetworkTrip  Před 2 lety +1

      Hi Christos, my video about port-forwarding can solve that part of your requirement: czcams.com/video/-kNHtlOb5n0/video.html. Then, the logic behind recursive routes is similar to the process explained in this video (just ignoring the PBR and routing tables): czcams.com/video/JWSfC_7p1yU/video.html
      I will create a video on failover + recursive routing only.

    • @christosaivazoglou5860
      @christosaivazoglou5860 Před 2 lety +1

      @@TheNetworkTrip hello yes I just watching both videos to combine .
      Recursive routing failover and port forwarding and in case of PPC will be easy because I saw in comments many colleagues request the full package. Never mind you are amazing I am happy to see videos true ambassador of MikroTik !!

    • @TheNetworkTrip
      @TheNetworkTrip  Před 2 lety +1

      @@christosaivazoglou5860 Good point, I'll do that.

    • @christosaivazoglou5860
      @christosaivazoglou5860 Před 2 lety

      @@TheNetworkTrip I will wait you and then configure me two pending warehouses to avoid to buy 2K euro Fortinet router for a single kibo
      One again,
      You are amazing

  • @michaelcadelina1786
    @michaelcadelina1786 Před 2 lety +1

    Good work sir. , how about separating traffic on pppoe clients based on their profile(ip pool) sir? Lets say I have two mikrotik routers R1(core) and R2(pppoe server). Thank you so much sir

    • @TheNetworkTrip
      @TheNetworkTrip  Před 2 lety

      Hi Michael, thank you
      You can add the address-list in the PPPoE profile.

  • @Anavllama
    @Anavllama Před rokem +1

    Okay now Lets say ISP2 is a cable ISP with dynamic ISP. The Default route created always switches to the new gateway and new IP address but the policy Route with FIB will not change its gateway as it was created manually. How will this get updated??

    • @TheNetworkTrip
      @TheNetworkTrip  Před rokem

      Hello!
      In you scenario, you will require a script to monitor the current gateway and update the route whenever it changes. I will create a video about that.

    • @IgorEnot
      @IgorEnot Před 9 měsíci

      Please! Most possible real life situation when ISP 1 is static and wired (ether1) and ISP 2 is LTE or other dynamic IP connection (ether2 or internal LTE). How to manage this situation in ROS7x correctly?@@TheNetworkTrip

  • @yancyrodrigo149
    @yancyrodrigo149 Před rokem +1

    Thank you for the great discussion good sir. Unfortunately, my WANs are directly connected to my Mikrotik so it will always have a connection even without internet. May I ask how I could apply this on my system?

    • @TheNetworkTrip
      @TheNetworkTrip  Před rokem

      Hello, thank you. You can use recursive routing to monitor if the WAN connection has access to Internet. I have a video about it on my channel: czcams.com/video/eTmpBAAW_pQ/video.html

  • @JavierPlay
    @JavierPlay Před rokem

    How would work port forwarding after you set pbr?

  • @helper_maestro1956
    @helper_maestro1956 Před rokem +1

    Greetings.. sir can you make a video how to separate social media and videos to ISP1 and other traffics goes to ISP2..

  • @mishasawangwan6652
    @mishasawangwan6652 Před 7 měsíci

    hi wilmer what happened to your VRRP video?

  • @chilli9129
    @chilli9129 Před rokem

    16:59 what if I have several networks on several interfaces?

    • @TheNetworkTrip
      @TheNetworkTrip  Před rokem

      You can use an interface-list instead of a single interface (interface/list)

  • @chilli9129
    @chilli9129 Před rokem +1

    Hello
    i.e. if you excluded lan addresses, you don't need to specify in.interface ether3 ?

    • @TheNetworkTrip
      @TheNetworkTrip  Před rokem +1

      Hello, it's still required because the traffic coming from Internet must not be excluded.

  • @romanm.4763
    @romanm.4763 Před 2 měsíci

    It looks like ROS v6 works differently about prerouting and firstly checks accessible routes before applying mangle rules. So the PBR rule can work well in ROS v6 without explicitly excluding dest private networks

  • @nosharwangujar1323
    @nosharwangujar1323 Před 2 lety

    something like this video brother sorry for disturb you again and again

  • @JumWong
    @JumWong Před 4 měsíci

    Which one is better for PPPoE? PBR or Load Balancing?