72

I’m setting up DHCP reservations on my home network and came up with a simple schema to identify devices: .100 is for desktops, .200 for mobiles, .010 for my devices, .020 for my wife’s, and so on. Does anyone else use schemas like this? I’ve also got .local DNS names for each device, but having a consistent schema feels nice to be able to quickly identify devices by their IPs.

you are viewing a single comment's thread
view the rest of the comments
[-] DrakeRichards@lemmy.world 3 points 2 years ago

I know they exist and vaguely what they do, but I don’t know how to set them up. What’s their advantage over simple DHCP reservations for a small client list?

[-] VelociCatTurd@lemmy.world 9 points 2 years ago

Based on what you described I really don’t think you need a vlan.

[-] greybeard@lemmy.one 3 points 2 years ago

VLANs are a way of separating your network into logical networks without physically separating them. They are useful, but generally require your networking equipment to support them. Most cheap home switches don't really support VLANs, nor do most consumer routers.

[-] Oisteink@feddit.nl 2 points 2 years ago

I do believe vlans has a place in a home network - to separate guests from home network. Several of the home routers that provide a guest SSID will use vlans. It’s a basic part of openWRT and most home routers. One vlan for upstream and one or two(guest) for inside

[-] greybeard@lemmy.one 1 points 2 years ago

The guest wifi may use VLANs on the backend, but it is in no way surfaced to the person managing it. I run Unifi equipment at home, which gives me the power to do all of that however I want, but it doesn't sound like the OP is there yet.

[-] Oisteink@feddit.nl 1 points 2 years ago

I have a dream machine myself and I’m so sorry I got it. It can do quite a bit, but I can’t have more than one vlan upstream - and it can’t handle igmp forwarding…. It’s shiny though with a nice gui and apps

[-] greybeard@lemmy.one 1 points 2 years ago

They certainly have their limitations. I think the same limits are one the gateway I have(I run my own controller, so a dream machine is overkill). Can't say I've encountered a situation where I need WAN VLANs on a home system, though.

[-] Oisteink@feddit.nl 1 points 2 years ago

The “normal” use-case would be that some IPTV providers will have iptv and “internet” on separate vlans

[-] dartanjinn@lemm.ee 1 points 2 years ago

How small a client list are we talking? If it's that small, then that would beg the question, why would you need dedicated ranges in the first place?

[-] DrakeRichards@lemmy.world 2 points 2 years ago

A couple dozen devices maybe. I don’t really need dedicated ranges, but it’s nice to know exactly which device I’m looking at just by the IP when reading logs.

[-] dartanjinn@lemm.ee 2 points 2 years ago

I'm not saying in anyway that what you're doing is in anyway wrong. It's good that you're thinking the way you are. Just saying, if you're in this frame of mind now, it's a good time to look at vlans. Think dedicated ranges with the benefit of reduced traffic saturation.

[-] preciouspupp@sopuli.xyz 3 points 2 years ago

I don’t see how VLANs would help OP.

[-] dartanjinn@lemm.ee 1 points 2 years ago

I didn't say they would. I said it's a good time to learn.

[-] Oisteink@feddit.nl 1 points 2 years ago

Checking logs is perhaps the only real reason I can see for reserved ip-s. But then again you can do reverse lookups - and like I said in another reply ipv6 is dynamic by nature, so any device will only stay on the same ip for the configured amount of time.
You might not know, but several of your devices might already be communicating using ipv6 on your home network. Both windows and iOS will use link (osi layer 2) local IPv6 and mdns for discovery and communication. This is not true if your switch denies IPv6 but you’d need a level 2 switch or some way to block IPv6 multicast for that.

this post was submitted on 20 Aug 2023
72 points (100.0% liked)

Selfhosted

60810 readers
422 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:

Detailed Rules Post

  1. Be civil.

  2. No spam.

  3. Posts are to be related to self-hosting.

  4. Don't duplicate the full text of your blog or readme if you're providing a link.

  5. Submission headline should match the article title.

  6. No trolling.

  7. Promotion posts require active participation, with an account that is at least 30 days old. F/LOSS without a paywall has exceptions, with requirements. See the rules link for details. Tags [CBH] or [AIP] are required, see the links in Rule 8 for details.

  8. AI-related discussions and AI-involved promotional posts have additional requirements for tagging, as noted in Rule 7 and the AI & Promotional Post Expanded Rules post, and find example disclosures here.

Resources:

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

Questions? DM the mods!

founded 3 years ago
MODERATORS