Layer 3 Hardware Offloading Mikrotik - Deep Dive

Поділитися
Вставка
  • Опубліковано 28 гру 2024

КОМЕНТАРІ • 96

  • @ronneldue3954
    @ronneldue3954 Місяць тому +3

    your teaching is absolutely amazing. please don't stop creating great content like this one.

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому

      Thanks so much for the great feedback! I’m really happy you find the content helpful. I’ll keep making more-your support means a lot!

    • @ronneldue3954
      @ronneldue3954 29 днів тому

      ​@@TheNetworkTrip I have question can we also include the WAN interface for the hardware offloading, or this is pure LAN intervlans?

  • @Red1Wollip
    @Red1Wollip 9 місяців тому +4

    I am building my lab with a full Mikrotik stack. Your videos have been instrumental in my training and understanding the ins and outs of the Mikrotik world. I do wish to give you a very big THANK YOU fo your help an dclear presintation of methods and configurations.

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому

      Thank you so much for your kind words! I'm glad the videos have been helpful in your Mikrotik training. Best of luck with your lab, and feel free to reach out if you need any further help! 😊

    • @Red1Wollip
      @Red1Wollip Місяць тому

      Do you think a video on connections of a CCR with fiber switches in a full rack be helpful to the users that enjoy your videos?

    • @Red1Wollip
      @Red1Wollip Місяць тому

      I have a fiber CCR

  • @traininingbits-pg5dn
    @traininingbits-pg5dn 5 місяців тому +1

    You are simply the best Mikrotik trainer I have seen.

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому

      Thank you so much! I really appreciate the compliment. I'm glad to hear that my training is helping you!

  • @ronaldhaley6169
    @ronaldhaley6169 Рік тому +2

    Thank you. Really happy to see this today. You are the best!!!!

  • @mikkio5371
    @mikkio5371 Рік тому +2

    Network trip . Did really well in ospf . He did extremely well on ospf . Respect to him on ospf as aswell as other lecture

  • @n8lbv
    @n8lbv 3 місяці тому +1

    You are doing a great job on these videos, thank you.
    Easy pace that I can follow and your points are memorable, meaning I can use them later!

  • @davidmooreii3092
    @davidmooreii3092 4 місяці тому +1

    Thanks! this was exactly the fix I was looking for. CPU stays under 35% most of the time now and I learned how to VLAN better!

  • @RaquelSanroque-o6j
    @RaquelSanroque-o6j 2 місяці тому +2

    Great Tutorial!!! Do you always need a bridge created? if the CRS309 is acting as a router, Can I simply use L3HW-offload with IPs on the physical interfaces without using VLANs and without a bridge? Will L3HW-offload work that way?

    • @TheNetworkTrip
      @TheNetworkTrip  2 місяці тому

      Hello!
      That approach won’t offer full L3 hardware offloading. You will need to use fast track to have some of the traffic with hardware acceleration

    • @RaquelSanroque-o6j
      @RaquelSanroque-o6j 2 місяці тому

      @@TheNetworkTrip Thanks for the quick reply, with this setup(no bridge) I see all routes with H flag for HW-Offload but the CPU is actually very high. I guess I'll have to change the config to bridge/vlan like you showed on the video.

  • @hermestarazona
    @hermestarazona Місяць тому +1

    Hi, Nice example. Can this be enabled on a CCR2216 as a border router against the ISP? Taking into account that this router has active BPG that is published to the internet

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому

      Hi! That works as long as you are receiving the default route only (because of the BGP's routing table size)

  • @Andrew_Thrift
    @Andrew_Thrift 8 місяців тому +1

    Great tutorial !
    Thanks Wilmer

  • @xtlmeth
    @xtlmeth Рік тому +1

    Your videos are awesome. Thanks!

  • @JaZzDeOliveira
    @JaZzDeOliveira Рік тому +2

    Really good video

  • @redrover06able
    @redrover06able Рік тому +5

    I have a crs326. Configured hw offload with single bridge only. I see the "H" in the route list. But when I pass traffic, cpu stay very high (93%). It doesn't seem like HW offload is working. When I look at the vlan under bridge on the interface screen, I see traffic on the vlan instead of physical interface. Any suggestion?

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому

      Hello! There are some features that can disable hardware offloading, such as having more than one bridge on the device or broadcast traffic to VLANs that have access to the CPU. Make sure that only the management VLAN has access to the CPU. (In this video, I explained how to use these devices as a router; in your case, it would be a switch. You can check my video about VLANs on the CRS3XX here on my channel.)

  • @merkkg
    @merkkg Місяць тому +1

    Ok maybe I missed something but L3HW can only work if done through bridge with vlan?
    Just router port to router port it can't work?

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому +1

      Hello!
      If we want to have pure routing and hardware offloading (without NAT), we need bridge and VLAN interfaces as explained in this video.
      If you have WAN and LAN interfaces, you can keep the WAN interface outside the bridge, create NAT rules, and add a rule in the forward chain to FastTrack and enable L3 hardware offloading for that traffic. The initial connection will be managed by the CPU, and then the NAT entries will be copied to the switch chip.

    • @merkkg
      @merkkg Місяць тому

      @@TheNetworkTrip oh wow ok I didn't expect that and also possibly explains alot about my performance issues. I don't have any Firewall/Nat rules and connection tracking is disabled just pure L3 Routing from Interface A to Interface B but I'm not using any bridge, I have enabled HW offloading and attempted to offload some of the routes to hardware and they do show the H in routes and the /interface/ethernet/swich/l3hw-settings/monitor shows that HW offloading is enabled with about 5000 out of 1m routes is offloaded (i don't have CPU issues) but I feel performance is shaped somehow where once traffic reaches around 4-5Gbps It seems to struggle.

    • @merkkg
      @merkkg Місяць тому

      @@TheNetworkTrip Thanks for the key info, will play around and see if it helps me with my issues.

  • @dvreshta
    @dvreshta Рік тому +1

    Very well structured and well explained video.

  • @arebacollins
    @arebacollins 8 місяців тому +1

    Would be great to have a step by step NAT - using Fasttrack and firewall using Fasttrack guide.. with these, it almost seems inconceivable but, might one completely eliminate CCR's for CRS devices for doing most deployments? BGP?

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому

      Hello! Thank you. A video about that is coming soon!

  • @snafu7777
    @snafu7777 11 місяців тому +1

    amazing. if im going to use my ccr2216 to bgp peer with my upstream provider, do i need follow exactly the same procedure?

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому +1

      Hello! If you are receiving the default route only, yes, it works!

  • @SergeantTrigger
    @SergeantTrigger Рік тому +1

    Great content as always. Thanks!

  • @Feed9Will
    @Feed9Will 10 місяців тому +1

    Just began exploring Mikrotik. Useful Vid! Heroic dose!
    Can you elaborate on HW offload for inter-vlan routing security? What performance penalty (CPU) on Switch ACLs vs IP firewall + Fastrack?
    I'm accustomed to L3 switch ACLs stateful TCP and stateless UDP. Can Mikrotik bridge / vlan int routing be full L4 stateful within the bridge / vlan interfaces. Or must go CPU?
    I have the packet flow documentation which I need to dive into more but the GNS3 routeros image lacks the switch chip / ACLs. Likely I need to buy switch to really demo Mikrotik L3 switching. Eyeing CRS326-24S+2Q+ vs CRS317-1G-16S+. CRS326-24S+2Q+ appears more designed toward L2 raw forwarding. CRS317-1G-16S+ appears more designed toward L3/4 given it has much more CPU.

    • @TheNetworkTrip
      @TheNetworkTrip  Місяць тому

      Thanks for the feedback! I'll soon upload a video on ACLs and security in Mikrotik, covering HW offload, performance, and the difference between Switch ACLs and IP firewall + FastTrack. For L4 stateful routing, Mikrotik needs the CPU, as the switch chip handles only L2/L3.

  • @bhartendulal8645
    @bhartendulal8645 27 днів тому +1

    Hi , I checked with version 7.16.1 on switch option the hardware offloading option not available

  • @mnoquiao
    @mnoquiao 3 місяці тому +1

    all of your videoes are great and easy to understand ♥♥♥

  • @felixmiguelgomezdiaz8229
    @felixmiguelgomezdiaz8229 23 дні тому +1

    Hi, buddy, excellent explanation, thanks for your content. I have a question. If I want to have several source interfaces, how could I manage to pass the traffic through l3-hw having multiple broadcast domains as source? For example, if I have several switches connected to different ports, how could I achieve the same, taking into account what you say that we can only have a single bridge. As an additional fact, I am using a CCR2216 and I have several broadcast domains on it, and I do not want to mix them.
    uplink

    • @TheNetworkTrip
      @TheNetworkTrip  23 дні тому +1

      Hello!
      Vlan filtering helps to keep the broadcast domain separate. If thew VLAN 20 is mapped to ports 1,2,3 and VLAN 21 is mapped to ports 4,5,6, then, you have 2 separate broadcast domain and still have one bridge.

  • @zeljkomikrotik
    @zeljkomikrotik Рік тому +1

    Hi and great video! Is it possible to use L3HW Offloading without OSPF? (i know, the routing must then be done manually)..

  • @alimibrahem8120
    @alimibrahem8120 Рік тому +1

    As always very thanksful Mr.Wilmer..! it was very informative..!
    But Question to ask: why you use VLAN in your LAB..? i mean why you didn't just use the physical interface and assigning IP to it without creating any VLAN..?

    • @TheNetworkTrip
      @TheNetworkTrip  Рік тому +2

      Hello Ali!
      That will force to use the CPU, if we want to take advantage of L3 hardware offloading we must use a bridge and Vlan interfaces.

  • @sanjoyshaha3234
    @sanjoyshaha3234 Рік тому +1

    Great! Is L3HW work on BGP routes?

    • @TheNetworkTrip
      @TheNetworkTrip  Рік тому +1

      Hello!
      Yeah, it does, it will offload up to 240k entries (CCR2216).

  • @zauraliyev367a2
    @zauraliyev367a2 10 місяців тому +1

    Hi sir! Great tutorial.
    Will it work if I have only one interface for both up and downstream traffic?

  • @BudiSetiawan-id9en
    @BudiSetiawan-id9en Рік тому +1

    Sir can explore more regarding mpls hardware offloading on mikrotik. I believe it only works on lates ccr 22xxx or 21xxx series

    • @TheNetworkTrip
      @TheNetworkTrip  Рік тому

      Thanks for the suggestion! I’ll create a class about it.

  • @ronaldhaley6169
    @ronaldhaley6169 Рік тому +1

    You mention that we can only have a single bridge, but you are using ospf here as well. You recommend using a loopback bridge in OSPF. So don't we end up with two bridges here?

    • @TheNetworkTrip
      @TheNetworkTrip  Рік тому

      Hello!
      Only one bridge will be using hardware offloading. You can add a loopback interface without any problems.

  • @Gtechinfotech
    @Gtechinfotech Рік тому +1

    Many thanks sir

  • @techknight1
    @techknight1 9 місяців тому

    How would you add a Management VLAN as well as romon and MAC telnet to this setup?

  • @alexv305
    @alexv305 5 місяців тому +1

    Does this work with the rb750gr3?

    • @TheNetworkTrip
      @TheNetworkTrip  2 місяці тому

      Hello!
      That model is not supported, just the ones shown on the video.

  • @AlejandroMartinezHernandez-f8u
    @AlejandroMartinezHernandez-f8u 11 місяців тому +1

    Hi, i enable L3 Hw Offloading but this block navigation to internet on the vlans

    • @TheNetworkTrip
      @TheNetworkTrip  11 місяців тому +1

      Hi!
      Before enabling l3 hardware offloading, you must build the Vlan table and enable Vlan filtering as I explained in the video.
      Vlans should work without any problem.

    • @AlejandroMartinezHernandez-f8u
      @AlejandroMartinezHernandez-f8u 11 місяців тому +1

      Thanks!@@TheNetworkTrip in my case, get out ports with my "wans" of the bridge has the solved

    • @TheNetworkTrip
      @TheNetworkTrip  11 місяців тому +1

      @@AlejandroMartinezHernandez-f8u Removing the ports from the bridge will disable L3 hardware offloading in those interfaces. The ports should remain in the bridge, and manage all the IPs using vlan interfaces as I have shown in the video.

    • @AlejandroMartinezHernandez-f8u
      @AlejandroMartinezHernandez-f8u 10 місяців тому

      Thanks, yes! it was my mistake. Regarding this configuration, it is recommended to use ServerOpenVPN

  • @umiseaz
    @umiseaz Рік тому +1

    excellent tutorial ! thanks

  • @techturboexplore
    @techturboexplore Рік тому

    Is this applicable for Mpls/Vpls with Ospf case?

  • @arebacollins
    @arebacollins 8 місяців тому

    Would be interesting to see how those CPU counts look like when running tcp tests. UDP is very forgiving...

    • @TheNetworkTrip
      @TheNetworkTrip  8 місяців тому

      It should not impact the CPU because it does not it.

    • @arebacollins
      @arebacollins 8 місяців тому

      @@TheNetworkTrip I noticed the introduction of lo interface somewhere in the last couple of releases, it seems any IP configured on this interface is not offloaded. and if that is the IP your traffic hits to go through the router, CPU baby! I by default install a loopback address and advertise it passively as broadcast on ospf.

    • @TheNetworkTrip
      @TheNetworkTrip  8 місяців тому

      @@arebacollins All traffic going to the router will hit the CPU!! The traffic going to remote hosts will be offloaded

    • @arebacollins
      @arebacollins 8 місяців тому +1

      @@TheNetworkTrip then something must be amiss. I dont seem to be getting offloaded even with all the routes set up and marked as H

  • @arebacollins
    @arebacollins 8 місяців тому

    I have a question, in a scenario where you have multiple CRS310's and at the end of it a client device, assigning a /30 address on a vlan on the bridge in the last CRS310, tagging the vlan on the bridge and on the interface connected to a client mikrotik, and assigning a /31 IP address on the vlan and another on the customer mikrotik seems to break offload. Im getting 20% cpu on 65mbps. :-( am I missing something? ) all routes have the flag H in them.

  • @mrfran1
    @mrfran1 Рік тому +1

    It is worth activating it in a CCR 2116 acting as DHCP Server + CGNAT?

    • @TheNetworkTrip
      @TheNetworkTrip  Рік тому

      Hello! If you have high traffic and don't require mangle or VRFs, using it would be a great idea.

  • @Gabrielgful
    @Gabrielgful Рік тому +1

    Very good video, everything explained clearly, I have been using several CRS305 with Hardware Offloading for a couple of months now, they are installed in micro pops, they have a WAN interface (where there is BGP to announce our prefixes) and a LAN interface where simply with a DHCP delivers the service, but I have problems limiting the speed, I used the "rate" function in Switch>Rule and it worked well but until certain traffic, I have noticed that after 1.5Gbps it starts to cause problems, for example on the WAN port It reaches 1.5Gbps and only 1.2Gbps is coming out of the LAN port, I deactivate the rule and at that moment both interfaces start to have 1.5. Could you help me with an idea of how I could effectively limit the service? taking into account that it was done in switch>rule since, being hierarchical, it first had a rule allowing ICMP not to be affected by saturation and avoid high times and packet losses (at least in that protocol). Thank you so much.

    • @TheNetworkTrip
      @TheNetworkTrip  Рік тому +1

      Hello!
      I'll create some videos about rate limiting on CRSXXX devices.

  • @arebacollins
    @arebacollins Рік тому

    Would MPLS/VPLS work this way too?

  • @barma1309
    @barma1309 Рік тому +1

    what happen with your blog - thenetworktrip ???

  • @arebacollins
    @arebacollins 8 місяців тому

    ccr2004 -16G-2S+ ? does it have l3hw like the 2116 ? cant see anything in the literature

    • @TheNetworkTrip
      @TheNetworkTrip  8 місяців тому

      Hello, no,it doesn’t. At the moment, the CCR2116 and CCR2216 are the only CCRs that support it (plus CRS 3xx and 5xx)

  • @biki1973
    @biki1973 Рік тому +1

    is it possible to hardware offload MPLS on those devices? P PE function? if so, are you planning to make video about it?

    • @TheNetworkTrip
      @TheNetworkTrip  Рік тому

      I’ll complete some additional testing with MPLS VPNs and I’ll add a video about it

    • @biki1973
      @biki1973 Рік тому

      @@TheNetworkTrip while you're at it, could you check if it's possible to hardware offload macsec on these chips ?

  • @rodrigosteinhorst624
    @rodrigosteinhorst624 3 місяці тому

    In the case of having two operators and only receiving default routes, would it work well for the BGP border?
    without a public IP on this BGP border

    • @TheNetworkTrip
      @TheNetworkTrip  3 місяці тому

      Hello!
      If all the routes are in the main table, yes. If not, only the main table will be hardware offloaded.

  • @kachetetv8958
    @kachetetv8958 Рік тому

    mano esto mismo pero en español por favor!