Configuring BGP on RouterOS v7 with Filter Rules and Attributes

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

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

  • @chadtaylor1148
    @chadtaylor1148 9 месяцев назад +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....

  • @redrover06able
    @redrover06able 3 месяца назад +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.

  • @stefano_nellox
    @stefano_nellox Месяц назад

    To receive the full routing table are needed some settings?

  • @muhammadjasimilyas1984
    @muhammadjasimilyas1984 11 месяцев назад

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

  • @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

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

    How to config Update source ?

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

    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?

  • @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.

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

    Merci Monsieur

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

      De rien :)

  • @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?

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

    I always enjoy your videos

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

    Cool video 😎

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

    Please share how to integrated sniffer tools on OS7..

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

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

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

    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 4 месяца назад

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

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

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

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

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

  • @kuldeepsingh-vb9sg
    @kuldeepsingh-vb9sg 2 года назад

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

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

    Thanks!

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

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

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

    Hi i need help

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

    From fnf