LAG (LAGG) is a Good Thing!

Поделиться
HTML-код
  • Опубликовано: 19 авг 2024
  • Not all LAG is bad! Add LAG (LAGG), link aggregation to your network to increase throughput in places where bottlenecks are possible! it is also helpful as a failover if network interfaces fail, but that scenario is less likely to occur unless you have an old or faulty switch.
    Learn more:
    --------------------
    Setting up a LAGG on a network switch: homenetworkguy...
    Setting up a LAGG on Proxmox: homenetworkguy...
    homenetworkguy...
    EP02

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

  • @jeffrydiamond
    @jeffrydiamond Год назад +4

    This is also known as ether-channel. PAgP (Cisco proprietary) and LACP (non-proprietary) are two available protocols. The other nice thing is that it load-balances automatically, a down link won't affect the other links, you can group additional links that act as backups (to downed links), and it works with STP.

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

      Yeah I didn’t mention the details in this overview, but I use LACP for all of my LAGGs. I forgot to mention in the video about LAGGs being helpful if a link is down, which is why I decided to mention it in the video description. It was also to have LAGGs when I was organizing some cabling since I can unplug one link at a time and not take down anything in my network.

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

    LAGs are nice. But in every case you need to look into how the load sharing between the links work. Often the path selection will be based on mac-adress pairs, meaning you won't really gain any performance with a LAG unless the utilization is really high on that single connection.
    I like your multi lane highway analogy, regardless of how many lines, a single car can't go faster in its lane.

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

      Yeah I didn’t mention the details but if you can use L2 + L3, traffic gets distributed much better than choosing one over the other. Some even do L4 to further split traffic. I found with OPNsense that using both L2 + L3 shares traffic across the ports much better. OPNsense also supports using L4 on the LACP LAGG.

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

    Very cool. Can't wait for your more detailed video on the topic.

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

      Thanks. I hope to go in more depth at some point. I have written on some of this topic before on my website but I do want to provide more detailed videos in the future. I have so many projects I want to do and so little time.

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

    YES YES !! Keep these going !

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

      Have another short video scheduled for release on 12/29. I’m trying to release a few quick videos while I’m on vacation to build up some basic content.

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

      @@homenetworkguy They are worthy ! Keep posting !!

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

    Thanks a lot for sharing your great home network with us and thanks for the LAG tips! Cheers!!

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

      You're welcome! I may go into more detail future videos (I mention setting up a LAGG in my OPNsense videos).

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

      ​@@homenetworkguy sounds great. I'm thinking of adding a multiport nic to NY proxmox box and adding opensence and unbound... Currently running pihole...

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

    Very cool I hope you keep putting out more videos. I submitted

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

      I plan to! Eventually I would like to make a few more detailed videos but I’m going to keep them simple to get started.

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

    thanks for the vid

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

    Its a ether channel. Bundling multiple interfaces into single interface. We can use 8 multiple channels into a single one

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

      Yeah it goes by many names. It seems like “link aggregation” is more of a general term for the technology while the other names are more vendor specific terminology.

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

      ​@@homenetworkguyI like the laaaagg term best

  • @davidsteckley8846
    @davidsteckley8846 6 месяцев назад +1

    Can you Lag between switch and router/modem as a redundancy?

    • @homenetworkguy
      @homenetworkguy  6 месяцев назад +1

      Yes! As long as both devices support LAGGs.

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

      @@homenetworkguy I will have to look into xfinity modem/router . XB8. I guess you could shut the router off and use only as a modem, and use your own router. But I prefer to try and use the XB8

  • @stevenm.hollis4429
    @stevenm.hollis4429 7 месяцев назад

    OK this is a pretty juvenile question I guess… But my modem supports link aggregation and so does my router. Would you think link aggregation would be a good thing for the set up? Between my modem and my router. This is for a home network my wife works from home and we’re trying to make something reliable. We really don’t have many things on the net work. We are going to put in a Nas but at this point we’re just trying to just get the foundations in place. Also, we are going to add a managed switch in the near future

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

      Adding a LAGG between your modem and router is only beneficial if you have more than 1 Gbps and you have 2 or more devices using a combined throughput greater than 1 Gbps.

    • @stevenm.hollis4429
      @stevenm.hollis4429 7 месяцев назад +1

      @@homenetworkguy Thanks, for the input. While we do have a 1 GIg download, I think I’ll just use the key automatic five gig/10 gig port From the modem to the router. Once I add a switch I’ll probably change everything to an aggregate.

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

    Subscriber #154

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

    That's cool - I never saw link aggregation used before - might be interesting to see how you set that up in opnsense?

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

      It’s not too difficult to configure especially if you have a dedicated management interface since you are free to configure other interfaces without the potential for losing connectivity to your router. If you have 4 interfaces and want 1 as a WAN and 3 in a LAGG, you have configure 2 interfaces in a LAGG, move your device over to the LAGG interface and then finish adding the 3rd interface to the LAGG.

    • @Felix-ve9hs
      @Felix-ve9hs Год назад

      ​@@homenetworkguy Afaik it is even possible to set up LAGG in OPNsense in the CLI and create VLAN Interfaces on top of it if I'm not mistaken.
      At least this is how I set up my TrueNAS CORE servers, which is useful when there are many clients :)

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

      @@Felix-ve9hs Yes! You can definitely set up VLANs on top of the LAGG. I didn’t mention it in the video though. That is what I do with my LAGG to increase/share bandwidth across several VLANs.