Okay, I’ve been watching lots of YouTube videos about switches and I’ve just made myself more confused. Managed versus unmanaged seems to be having a GUI versus not having a GUI, but why would anyone want a GUI on a switch? Shouldn’t your router do that? Also, a switch is like a tube station for local traffic, essentially an extension lead, so why do some have fans?

  • sabreW4K3OP
    link
    fedilink
    English
    arrow-up
    2
    arrow-down
    1
    ·
    7 months ago

    But doesn’t the router do the VLAN stuff? Sorry, I don’t know how to phrase it properly

    • rtxn@lemmy.world
      link
      fedilink
      English
      arrow-up
      6
      ·
      edit-2
      7 months ago

      VLANs are an extension of the Ethernet technology, and operate on the link layer (OSI layer 2). They are handled by switches. VLANs can belong to different subnets, and communication between them requires routing, which happens on the network layer (OSI layer 3) on either routers or layer-3 switches, but VLANs themselves are handled by switches.

      I recommend Network Chuck on youtube, his videos are very noob-friendly.

    • sexy_peach@beehaw.org
      link
      fedilink
      English
      arrow-up
      3
      ·
      7 months ago

      It does, also the router most likely also has switch functionality if it has several Ethernet ports.

    • Forne@lemmy.world
      link
      fedilink
      English
      arrow-up
      2
      ·
      edit-2
      7 months ago

      The router does the routing from one vlan into another. The switch has a funktion to apply the traffic with a specific vlan-tag. E.g. On the switch: to your PC vlan 3 could be applied and for your fridge vlan 25. On the router: You can allow vlan 3 access to the Internet but vlan 25 not. For management purposes you could allow vlan 3 access to vlan 25 but not the other way around.

      • sabreW4K3OP
        link
        fedilink
        English
        arrow-up
        1
        ·
        7 months ago

        So everything I thought was a LAN up until now is really just a VLAN?

        • borari@lemmy.dbzer0.com
          link
          fedilink
          English
          arrow-up
          2
          ·
          7 months ago

          You’ve run up against the first thing that seems to really confuse people when they begin learning about networking.

          What you thought of as a LAN is a LAN. A VLAN is a Virtual LAN. It’s the same concept but virtualized, allowing more than one LAN on hardware that is just physically a single LAN.

          When most people are talking about setting up VLANs they are usually describing the creation of a separate layer 3 subnet and the creation of a VLAN ID that gets tagged to all packets that get sent on that separate subnet. This allows for both layer 2 and 3 separation of the virtual lans on a single physical network.

          Conceptually it’s very similar to VM’s running on a single server.

          • sabreW4K3OP
            link
            fedilink
            English
            arrow-up
            1
            ·
            7 months ago

            So what differentiates a virtual LAN from a real LAN? Like how can I tell which one my ISP had set-up?