116

The question above for the most part, been reading up on it. Also want to it for learning purposes.

you are viewing a single comment's thread
view the rest of the comments
[-] duncesplayed@lemmy.one 5 points 1 year ago

(Whoops, accidentally hit "Delete" instead of "Edit" and Lemmy doesn't ask for confirmation!! Boo!! I'll try to retype my comment as best I can remember)

I'll buck the trend here and say "Yes, for a home LAN, it's absolutely worth it. In fact for a home LAN it is more important than in a data centre. It is absolutely the bees' knees for home and is worth doing."

All of that depends on how your ISP does things. When I did it, I got a /56, which is sensible and I think fairly common. If you're ISP gives you anything smaller than a /64, (a) your ISP is run by doofuses, but (b) it's going to be a pain and might not be worth it. (I now live in literally one of the worst countries in the world for IPv6 adoption, so I can't do it any more)

The big benefit to it is that you can have your servers (if you want them to be) publicly reachable. This means you can use exactly the same address to reach them outside the network as you would inside the network. Just make one AAAA for them and you can get to it from anywhere in the world (except my country).

When I did it, I actually just set up 2 /64s, so a /63 would have been sufficient (but a /56 is nice). Maybe you can think of more creative ways of setting up your networks. Network configuration is a lot of fun (I think).

I had 1 /64 for statically-assigned publicly-reachable servers. Then I had a separate /64 for SLAAC (dynamic) end-user devices, which were not publicly reachable (firewalled to act essentially like a NAT). (Sidenote: if you do go to IPv6 for your home network, look into RFC7217 for privacy reasons. I think it's probably turned on by default for Windows, Android, iOS, etc., these days, but it's worth double-checking)

[-] iwasgodonce@lemmy.world 3 points 1 year ago

Not having to deal with split horizon dns or nat hairpinning is pretty nice, especially with so many things using DoH with public resolvers nowadays, like android or firefox.

I just put A and AAAA in public dns so things work either ipv4 or ipv6 on the outside. On the inside everything works on and prefers ipv6 so it just works on the inside too. Nothing ever even attempts to use the wrong (public) A record on the inside.

[-] Reliant1087@lemmy.world 3 points 1 year ago

My ISP dynamically allocates a /64. I don't even know why they do that.

[-] orangeboats@lemmy.world 3 points 1 year ago

My ISP delegated me only one /64.

[-] duncesplayed@lemmy.one 1 points 1 year ago

That's less fun. I believe you've either got to put everything on one SLAAC network (no static IPs), or you've got to use DHCPv6 (with a smaller network size) instead of SLAAC.

[-] orangeboats@lemmy.world 2 points 1 year ago

Right, everything is on SLAAC. My ISP only delegates /48 ~ /56 to business customers (according to their customer service).

Thankfully, RFC 7217 made SLAAC-only networks sufferable - you don't to expose your MAC address to the entire world for stable addressing.

[-] festus@lemmy.ca 3 points 1 year ago

Sigh... not an ISP, but the service I rent my server from only provides me with a /128. Yes that's right, exactly one IPV6 address and not one more.

[-] ilega_dh@feddit.nl 5 points 1 year ago

Oof, that’s a very obvious sign they do not understand how IPv6 is supposed to work. At all.

[-] dpflug@hachyderm.io 2 points 1 year ago

@duncesplayed
You can always tunnel if your ISP won't play nice: https://tunnelbroker.net/
@Sandbag

this post was submitted on 13 Jul 2023
116 points (95.3% liked)

Selfhosted

40406 readers
336 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