this post was submitted on 04 Mar 2024
63 points (94.4% liked)

Selfhosted

46672 readers
560 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 2 years ago
MODERATORS
 

I am worried that there is not really a benefit of doing that, just more noise and energy consumption.

top 45 comments
sorted by: hot top controversial new old
[–] dan@upvote.au 43 points 1 year ago* (last edited 1 year ago) (3 children)

Energy consumption is essentially the same, as it's using the same radios.

For what it's worth, I have several SSIDs, each on a separate VLAN:

  • my main one
  • Guest. Has internet access but is otherwise isolated - Guest devices can't communicate with other guest devices or with any other VLANs.
  • IoT Internet: IoT and home automation devices that need internet access. Things like Ecobee thermostat, Google speakers, etc
  • IoT No Internet: Home automation stuff that does not need internet access. Security cameras, Zigbee PoE dongle (SLZB-06), garage door opener, ESPHome devices, etc

(to remotely access home automation stuff, I use Home Assistant via a Tailscale VPN)

Most of these have both 2.4Ghz and 5Ghz enabled, with band steering enabled to (hopefully) convince devices to use 5Ghz when possible.

This is on a TP-Link Omada setup with 2 x EAP670 ceiling-mounted access points. You can create up to 16 SSIDs I think.

[–] BearOfaTime@lemm.ee 5 points 1 year ago (3 children)

Guest devices can't communicate with other guest devices

How do you accomplish this isolation since they're on the same subnet/broadcast domain? Is it a feature of the hardware you're using?

[–] dan@upvote.au 9 points 1 year ago (1 children)

A lot of access points, even consumer-grade ones, have this option. It's usually accomplished via predefined firewall rules on the access points themselves.

Consumer-grade access points usually let you have just one isolated guest network, whereas fancier ones (Omada, Unifi, Ruckus, Aruba, etc) usually let you enable isolation for any SSID (ie the "guest network" is no different from any other SSID)

[–] BearOfaTime@lemm.ee 1 points 1 year ago* (last edited 1 year ago) (3 children)

Isolated guest networks I get, but isolating guests from other guests on the same subnet/isolated net is what I haven't seen.

[–] jemikwa@lemmy.blahaj.zone 2 points 1 year ago

If there's an option on the AP to not permit link local routing within a vlan/ssid, that will force all traffic up to the firewall. Then you can block intrazone traffic at the firewall level for that vlan.
I've seen this in Meraki hardware where it's referred to as "client isolation". Ubiquiti might be able to do this too.

[–] conorab@lemmy.conorab.com 2 points 1 year ago

The APs know who the Wi-Fi clients are and just drops traffic between them. This is called client/station isolation. It’s often used in corporate to 1) prevent wireless clients from attacking each other (students, guests) and 2) to prevent broadcast and multicast packets from wasting all your airtime. This has the downside of breaking AirPlay, AirPrint and any other services where devices are expected to talk to each other.

[–] dan@upvote.au 1 points 1 year ago

I used to have a Netgear Nighthawk router/AP I bought from Costco, and if I remember correctly, its guest network automatically isolated guests from other guests. This router didn't support VLANs so I think it was just a bunch of firewall rules.

[–] AustralianSimon@lemmy.world 1 points 1 year ago

Unifi out of the box settings.

[–] ByteWizard@lemm.ee 1 points 1 year ago (1 children)
[–] BearOfaTime@lemm.ee 0 points 1 year ago (2 children)

I'm not seeing anything there that says guests can't see other guests - quite the opposite.

guests connected to your Hotspot Portal will be isolated from all other networks except the one they are assigned to.

Guests on this network are able to access the internet, and communicate with the UniFi gateway to obtain a DHCP lease and resolve names using DNS

I suppose a switch could be configured to prevent traffic going to other ports, which is how I would assume this would have to be done. This functionality would have to exist in the access point, I guess?

Does UniFi have a feature to isolate devices from each other on the same subnet? Seems like it would require some kind of Layer 2 routing?

[–] excitingburp@lemmy.world 2 points 1 year ago (1 children)

It does. I have it enabled and tested. "Client Device Isolation." It's enabled per SSID.

[–] BearOfaTime@lemm.ee 0 points 1 year ago

Oh, neat. I'll have to look into it.

Thanks!

[–] unknowing8343@discuss.tchncs.de 2 points 1 year ago (4 children)

That was an amazing read. Thank you.

What do you say is the use case for separating guest Wi-Fi with the more "private" stuff on your network?

As far as I understand... Basically all communications, even inside a network, are encrypted... So I guess you do that to avoid someone trying to exploit some vulnerability?

[–] BearOfaTime@lemm.ee 11 points 1 year ago* (last edited 1 year ago)

Basically all communications, even inside a network, are encrypted

LOL, oh no.

Even internet traffic isn't encrypted by default.

Sadly TCP/IP isn't encrypted.

[–] Strit@lemmy.linuxuserspace.show 6 points 1 year ago (1 children)

I think the main benefit is that Guests devices on your network can't find and exploit your own devices.

[–] geophysicist@discuss.tchncs.de 1 points 1 year ago (1 children)

If you don't trust the person, why give them access to your WiFi in the first place?

[–] osprior@lemmy.world 7 points 1 year ago

You can trust the person, without trusting their technical skills, such that they haven't inadvertently installed malware on their own devices.

[–] AA5B@lemmy.world 3 points 1 year ago

Remember that once you give the password out, they likely have the password from now on. They will always have access until you change the password.

No, a lot of local traffic is not encrypted, especially residential. No, residential probably doesn’t use much authentication or separation of privileges.

[–] dan@upvote.au 2 points 1 year ago* (last edited 1 year ago)

I don't want my guests to be able to access my home server or Omada controller for example, or spread malware (their phone may have malware without them even knowing). Also, I give the guest wifi to people other than friends, like contractors. Phone reception is horrible at my house so I give them the wifi so they can use wifi calling.

[–] excitingburp@lemmy.world 2 points 1 year ago

Ooh I like the idea of "no Internet." I do trust all of those devices (open source), but they could still be pwned.

[–] Showroom7561@lemmy.ca 19 points 1 year ago (1 children)

I'm not sure that I understand the "more noise and energy consumption" part, since we're still talking about the same router with the same connected devices.

But I do have multiple SSIDs on my router. One is explicitly for IoT devices, and they don't have network access, so they are isolated from my computers, NAS, etc.

[–] conorab@lemmy.conorab.com 1 points 1 year ago (1 children)

The more SSIDs being broadcast the more airtime is wastes on broadcasting them. SSIDs are also broadcast at a much lower speed so even though it’s a trivial amount of data, it takes longer to send. You ideally want as few SSIDs a possible but sometimes it’s unavoidable, like if you have an open guest network, or multiple authentication types used for different SSIDs.

[–] Showroom7561@lemmy.ca 1 points 1 year ago

Is there a measurable, real-world effect? Because if so, I don't see it, and I can max out my router's bandwidth pretty easily without noticing any slowdowns (this is with 30+ devices across three different SSIDs).

[–] JASN_DE@lemmy.world 12 points 1 year ago

Are we talking main + guest network, or 2,4GHz + 5GHz, or something else?

[–] Treczoks@lemmy.world 9 points 1 year ago (2 children)

Why would you want to do this, anyway? Or, as I as a developer regularly have to ask our sales people: what do you actually want to achieve that led you to this question?

[–] GiveOver@feddit.uk 6 points 1 year ago

I'm an idiot and I put emojis in my SSID and sometimes devices don't like that but I don't want to change everything. So there's a guest network with no emojis

[–] unknowing8343@discuss.tchncs.de 4 points 1 year ago (1 children)

It's more like: I know people do this, but I don't, so I wanted to see what was the reasoning behind these things.

[–] Treczoks@lemmy.world -1 points 1 year ago (1 children)

Then why don't you ask the people who do this?

[–] unknowing8343@discuss.tchncs.de 2 points 1 year ago (1 children)

Emm... I did, it's this post 😅

[–] Treczoks@lemmy.world -4 points 1 year ago (2 children)

I'm pretty sure I don't do this ;-) I know how routing works.

[–] Fal@yiffit.net 4 points 1 year ago

You know just enough to do it the wrong way apparently

[–] Clusterfck@lemmy.sdf.org 2 points 1 year ago

You know how routing works, but not wireless networks apparently.

[–] Max_P@lemmy.max-p.me 8 points 1 year ago

Whether it has benefits is up to you, but from a technical perspective they're as expensive as VLANs, so basically free. It's the same receive and transmit radio, the only difference is that it broadcasts and responds to two network names at the same time. The maximum power consumption is the same: the max the radio will pull when at full load. The minimum power consumption has to be ever so slightly more since it needs to broadcast two network IDs, but those are measured in bytes and sent a couple times a second, it's negligible compared to the cost of just running the radio.

[–] psmgx@lemmy.world 6 points 1 year ago

Separate subsets, segregated traffic. Easy to avoid crosstalk by setting channels further apart or using 2.4ghz and 5ghz

At home I have one SSID as a main wifi, and the other is guest wifi and IoT or other random devices.

Main downside is getting it setup and maintenance.

[–] cron@feddit.de 6 points 1 year ago

What benefit do you hope to get?

[–] Decronym@lemmy.decronym.xyz 5 points 1 year ago* (last edited 1 year ago) (1 children)

Acronyms, initialisms, abbreviations, contractions, and other phrases which expand to something larger, that I've seen in this thread:

Fewer Letters More Letters
AP WiFi Access Point
DNS Domain Name Service/System
IP Internet Protocol
IoT Internet of Things for device controllers
NAS Network-Attached Storage
PoE Power over Ethernet
TCP Transmission Control Protocol, most often over IP
Unifi Ubiquiti WiFi hardware brand
VPN Virtual Private Network
Zigbee Wireless mesh network for low-power devices

10 acronyms in this thread; the most compressed thread commented on today has 11 acronyms.

[Thread #570 for this sub, first seen 4th Mar 2024, 09:55] [FAQ] [Full list] [Contact] [Source code]

[–] BearOfaTime@lemm.ee 4 points 1 year ago

I am worried that there is not really a benefit of doing that, just more noise and energy consumption.

If there wasn't a benefit, why would people (and pretty much every business) do it?

[–] BeatTakeshi@lemmy.world 3 points 1 year ago* (last edited 1 year ago) (1 children)

I remember reading a few self hosters describing having a separate WiFi for IoT devices, on a dedicated router (opensense) so they can prevent these devices "calling home". They are maybe other advantages like having different WiFi channels for these things

[–] AA5B@lemmy.world 1 points 1 year ago* (last edited 1 year ago)
  • They can’t potentially send my “real” WiFi credentials to someone who might exploit them.
  • They can’t collect data on what is on my network or what I’m doing
  • If one somehow has malware, they can’t harm most of my network or devices (there are well known exploits for cameras, for example)
  • I can more easily limit the amount of bandwidth a poorly behaved device can use
[–] possiblylinux127@lemmy.zip 2 points 1 year ago

What benefit are you looking for? It shouldn't affect speed unless you are really hammering it. I'm assuming your talking about two networks on the same frequency (either 2.5Ghz or 5Ghz)

[–] 486@kbin.social 2 points 1 year ago* (last edited 1 year ago)

Lots of answers about use-cases of additional wifi networks, so I won't go into that. I haven't seen the downsides mentioned here, though. While technically you can run lots of wifi networks of off the same wifi router/ap, each SSID takes a bit of air time to broadcast. While this might sound rather insignificant since this is only a rather tiny bit of information transmitted, it is actually more significant than one might expect. For one the SSIDs are broadcast quite often, but also they are always transmitted at the lowest possible speed (meaning they require a lot more airtime than normal WiFi traffic would require for the same amount of data) for compatibility reasons. This is also the reason why it is a good idea to disable older wifi standards if not needed by legacy clients (such as 54 Mbit/s 802.11G wifi).

Having two networks is usually fine and doesn't cause noticable performance degradation, having 4 or more networks is usually noticable, particularily in an already crowded area with lots of wifi networks.

[–] Strit@lemmy.linuxuserspace.show 0 points 1 year ago (1 children)

I think most wifi routers segregate the two networks, so they can't see devices on eachothers network.

Someone will surely correct me if I'm wrong in this.

[–] seang96@spgrn.com 4 points 1 year ago

I'd say that depends. Some consumer routers may have guest network and client isolation on it though I doubt most do. Higher end routers support vlans can be configured that way and could be configured in many other wise such as talking to network 1 but not 2 or 3. For instance, I have IOT vlan allowed to connect to my server vlan for DNS since I self host DNS, but my general VLAN for personal trusted devices does can't be accessed by IOT.