Configuring BGP on RouterOS v7 with Filter Rules and Attributes

Поделиться
HTML-код
  • Опубликовано: 1 фев 2025

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

  • @iddmuia
    @iddmuia 24 дня назад

    Coming from a Cisco backgroud, I joined an organization routing BGP with Microtik. This is quite an informative lab

  • @hrechko
    @hrechko 2 месяца назад +1

    Thank you for the excellent explanation of BGP attributes! Your video was key in helping me understand parameters like WEIGHT and how it affects routing decisions. With your clear examples and explanations, I was able to solve an issue in my network regarding primary route selection. Learning how to set WEIGHT for local priorities provided exactly the insight I needed.
    Your teaching style is very clear and well-structured, making it easy for even a BGP beginner to follow along and understand. Thanks again for the help!

    • @MAICT
      @MAICT  2 месяца назад

      @@hrechko You are welcome. Check my website for more trainings: mynetworktraining.com

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

    I fought for a few months to get BGP announcement of a /24 on Vultr to no avail. This simple straight forward video with a few minor modifications allowed me to finally get that announcement working like it did on ros6. Very much appreciated!!

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

    Hi, I found your channel while learning about Mikrotik recently, and I thank you for providing lots of information on Mikrotik....
    I've been labbing Mikrotik v7 (using the latest 7.4.1 CHR) recently, simulating eBGP and iBGP with RR setup, running on dualstack (v4 and v6), and i use loopbacks and next-hop-self for the iBGP peerings. Alas, its iBGP behaviour is unlike any other well-known router vendors. A few things that stick out immediately:
    1) an iBGP speaker advertises its loopback address into BGP to its iBGP peer, even though we do not configure a network statement (i.e. address-list) for the loopback on the originating iBGP speaker.
    2) the RR reflects the iBGP loopback addresses to all other iBGP speakers by changing its next-hop to itself. This does not cause any issue, because all loopbacks are learned via IGP (i use OSPF), which takes precedence. However, all eBGP routes are reflected correctly i.e. if an eBGP route is learned from an iBGP RR-client (and the next-hop is set to that iBGP RR-client), the RR will reflect the eBGP routes with the next-hop maintained to all other iBGP RR-clients.
    3) since v7 no longer discard routes, and a RR reflects any routes learned from a iBGP peer to all other RR clients, including back towards the IBGP client that is advertising its learned eBGP routes, the iBGP RR client sees two sets of BGP routes for the same prefix (1 learned from its eBGP peer, another learned from the iBGP RR)
    Because of this behaviour, i had to build specific outgoing route-filters for every iBGP peer on the RR, to make the routing table clean on each iBGP peer....

  • @ghalyzul144
    @ghalyzul144 2 месяца назад +1

    old but gold 🔥

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

    Thanks!

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

    Cool video 😎

  • @redrover06able
    @redrover06able 7 месяцев назад +1

    Whatever network you are advertising in bgp, you need to make sure IP of the same subnet is configured in one of the interface. Otherwise, ROS7 will not advertise the route in BGP. For example, if you are advertising the network 20.20.20.0/24, you need to configure 20.20.20.1/24 in one of the interface.

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

    I always enjoy your videos

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

    Hi, it would be very interesting to see the use of bgp-community. Now, on my network, there is a CCR 2116 connected to 4 upstreams as a border. And also up to 4 downstream, whose networks I announced to my upstreams using bgp-community. Although I have already gone through it, it would be interesting to see how you implement it.

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

      below is an example of a route filter rule i use to apply a bgp community to an advertised bgp prefix to the bgp peer (typically used for an ebgp peer):
      chain=bgp-v4-out rule="if ( dst == 192.168.1.0/24 ) { set-bgp-communities XXXX:YYYY; accept }"
      chain=bgp-v4-out rule="if (protocol bgp && dst-len

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

    Merci Monsieur

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

      De rien :)

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

    how to create multiple networks in firewall rule for output network in same BGP connection rule. thanks in advance

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

    On minute 17 you mentioned about best path selection. The lowest neighbor IP will not be the best path decision point. It will be the lowest router-id in that cases. In order for bgp to work properly different routers should have unique router-id. The lowest neighbor address will be used in case there are 2 bgp session from a single router. In that case router-id will be the same and lowest neig. ip will be considered as a tie-breaker.

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

    this incoming filtering doesnt work on my mikrotik, why?

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

    Do you know how to do a BGP route aggregation (summarize ) on a mikrotik router?

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

    Please share how to integrated sniffer tools on OS7..

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

    Hello sir, I hope you well
    I am having trouble to rejecting specific BGP communities on v7 In my router multiple BGP connected when redistributing BGP session then I am facing issue, The filter rule is not working. If (bgp-communities=xxx:xxx ) {reject} Could you please help me?

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

    I have two providers, and I want the incoming traffic from provider 1 and the outgoing traffic from provider 2

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

    How to advertise IPv6 to eBGP peer in ROS v7?
    for IPv4 we used IP-->Firewall-->>Address List
    for IPv6 its not accepting

    • @sugarnhu8580
      @sugarnhu8580 7 месяцев назад

      create a BGP peer for IPv6 peer and apply the same (under IPv6 ->Firewall section)

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

    Would be great if You also show how OSPF changed in this new OS version.

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

      Get my course here: mynetworktraining.com/p/ospf-on-mikrotik-with-labs-routeros-v7

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

    How to config Update source ?

  • @VNDIGITAL-1
    @VNDIGITAL-1 2 года назад

    Kindly share how can we configure bgp gracefull restart in v6.no documents found anywhere

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

      noted!

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

    Please make mikrotik router os 7 complete video tutorial course. Advanced thanks.

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

    Hi i need help

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

    From fnf