this post was submitted on 18 Apr 2024
1 points (54.5% liked)

homelab

6642 readers
28 users here now

founded 4 years ago
MODERATORS
 

cross-posted from: https://lazysoci.al/post/12597342

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?

you are viewing a single comment's thread
view the rest of the comments
[–] Moonrise2473@feddit.it 19 points 7 months ago (15 children)

it depends what you need it. If you want a "stupid" tube station for local traffic, then you want unmanaged. It needs less power. If you instead want to have multiple VLANs, which are separate virtual networks inside your network, you need managed. Then from the GUI you say "port 8-12 are for VLAN 5 which is 10.0.0.1/8 and does not have internet access, rest is normal LAN". If then the switch has lots of fast ports, then it needs lots of power to manage the communication, more power means more hot, and more fans.

[–] sabreW4K3@lazysoci.al 3 points 7 months ago (14 children)

So can't a router do the VLAN stuff?

[–] superb@lemmy.blahaj.zone 5 points 7 months ago* (last edited 7 months ago) (2 children)

A router usually can do all that but it also does a whole lot more, like NAT, DHCP, etc. Sometimes you need a just a switch that understands VLANs and link aggregation

[–] XTL@sopuli.xyz 6 points 7 months ago (2 children)

A router is often just a switch with extra steps.

[–] superb@lemmy.blahaj.zone 6 points 7 months ago

Yeah the line can get pretty ambiguous. In general I try to use the device with the least complexity that still gets the job done

[–] sabreW4K3@lazysoci.al 3 points 7 months ago (1 children)

So a router simply connects the WAN with the LAN. But doesn't the modem do that?

[–] catloaf@lemm.ee 8 points 7 months ago (1 children)

No, a modem modulates and demodulates a signal. Basically, they're a converter. For example, to send your Ethernet traffic over coax. They don't often understand or care about what's in an Ethernet frame.

[–] sabreW4K3@lazysoci.al 2 points 7 months ago
[–] sabreW4K3@lazysoci.al -2 points 7 months ago (1 children)

Isn't there some overlap between NAT, DHCP and DNS, they feel like they should be the same thing? Or am I oversimplifying it? Because DHCP is assigning IP addresses, DNS is looking up IP addresses and NAT is saying that IP address points there 👉🏾

[–] FutileRecipe@lemmy.world 6 points 7 months ago (1 children)

Isn't there some overlap between NAT, DHCP and DNS, they feel like they should be the same thing?

Absolutely no overlap. Now, can a conventional home router do all those? Typically NAT and DHCP, but not too often DNS (except to point at a real DNS). That's like saying "isn't there overlap between milk and eggs? I mean, sure, they deal with animals and stored in the fridge, but used for different purposes."

Because DHCP is assigning IP addresses, DNS is looking up IP addresses and NAT is saying that IP address points there 👉🏾

Sure, they deal with IP addresses and some devices (home routers) can do 2-3 of those fuctions, but that doesn't mean they overlap. I can read a book (IP) and my book (IP) can be stored in a book bag or on a book shelf, but that doesn't mean myself, the bookbag, and the bookshelf overlap.

[–] sabreW4K3@lazysoci.al 2 points 7 months ago
load more comments (11 replies)
load more comments (11 replies)