this post was submitted on 03 Jul 2023
13 points (100.0% liked)

Selfhosted

40135 readers
1412 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 1 year ago
MODERATORS
 

Just wondering how many of us use ipv6 for our local hosts, as with my router upgrade, my ISP only allows me to have 253 IP ipv4 addresses (and I don't want to have to buy a new router/gateway, a 10gbe router/gateway is expensive).

Anyway, do you guys use statically assigned ULA addresses? Statically assigned global addresses? DHCPv6? SLAAC? What do you guys do for DNS resolution, avahi/mdns everywhere (given that ipv6 addresses seem to change all the time).

I've currently mostly gotten ipv6 working (dual stack) on machines I touch, my my k3s cluster is out of commission until I can figure out a way to not have them consume any precious ipv4 addresses.

I'm not even sure what prefix I want to choose for the cluster / service CIDR, should I be using a ULA or the one specified https://docs.k3s.io/installation/network-options#dual-stack-ipv4--ipv6-networking, 2001:cafe:42::

you are viewing a single comment's thread
view the rest of the comments
[–] wgs@lemmy.sdf.org 1 points 1 year ago

Does your ISP provides IPv6 ? If so, you might want to use that as it'll be easier to setup than running your own dhcpv6 server or router.

Also, you gotta keep in mind that the world is not ready for full IPv6 yet, so you need to consider wether or not your cluster require ipv4 access or not. If it does, your best bet is to go with a dual stack, but it doesn't solve your /24 limitation problem. The other solution is NAT64, but this techno is not quite ready in terms of FOSS solutions IMO, and it requires a separate router to do the NAT part for your, which you want to avoid apparently. So yeah, not many options here ^^