Live data from Hacker News

Building a Mostly IPv6 Only Home Network

varunpriolkar.com

41–50 of 106 posts

Re: Building a Mostly IPv6 Only Home Network

#41
post #6

Finally. I will now be able to run ~340 undecillion devices on my home network. I'll have the smartest "smart home" on the block.

> able to run ~340 undecillion devices on my home network

You now can have these devices connected to network called Internet.

Unlike IPv4 were the number of devices on the Internet in home network is one (the main router) or zero (in case if CGNAT) and the others just pretend.

Re: Building a Mostly IPv6 Only Home Network

#42

Why though? What's the problem with ipv4? I find it much simpler for troubleshooting etc to have simple IPv4 addresses. But cool that it can be done :) I've switched off IPv6 on my router anyway, I haven't yet needed it. My provider didn't offer it last time I checked but when they do enable it I don't want it suddenly popping up against an untested router configuration.

I don't know your background, but I find that the people who feel that there's nothing wrong with IPv4 have never done any work with UPNP or NAT. For them it's always "just worked" and they don't recognise what pain has gone into trying to keep it working well despite our usage of it bordering abusive.

NAT is the devil.

If anyone replies to this with the myth that NAT is a security mechanism I will firmly, yet politely, point them to a network development course because they don't know what they're talking about and I'm sick of hearing it. It's not true, I will not entertain this falsehood anymore.

Re: Building a Mostly IPv6 Only Home Network

#45

Do you actually own that /48? The problem with using the globally routable addresses internally is that your public /48 might change in the future, and and that will force you to change a bunch of internal stuff. I have my router set up to advertise two /64 prefixes on each LAN subnet: one from fddd:deca:fbad::/56* that I use for all internal communication, and one from 2001:5a8:xxxx:xxxx::/56 that is only used for t…

Ideally it'll be standard that your DHCP will assign you both an internet IP from your ISP-provided prefix (dynamic or static), and private IP from a ULA prefix, which can be made static through address reservation.

Re: Building a Mostly IPv6 Only Home Network

#46
post #8
post #6

Finally. I will now be able to run ~340 undecillion devices on my home network. I'll have the smartest "smart home" on the block.

I never understood the rationale of giving out /64 and /48 like candy after what happened with ipv4. I know it's still a massive increase in capacity and I know it makes the networking easier but it seems like we went from something that definitely won't run out (ipv6 addresses) to something that probably won't (number of /48 ranges)

/48 because ethernet mac addresses are that length and so you can assign everything that and find it.

Re: Building a Mostly IPv6 Only Home Network

#47
post #42

Why though? What's the problem with ipv4? I find it much simpler for troubleshooting etc to have simple IPv4 addresses. But cool that it can be done :) I've switched off IPv6 on my router anyway, I haven't yet needed it. My provider didn't offer it last time I checked but when they do enable it I don't want it suddenly popping up against an untested router configuration.

I don't know your background, but I find that the people who feel that there's nothing wrong with IPv4 have never done any work with UPNP or NAT. For them it's always "just worked" and they don't recognise what pain has gone into trying to keep it working well despite our usage of it bordering abusive. NAT is the devil. If anyone replies to this with the myth that NAT is a security mechanism I will firmly, yet polite…

I do work with NAT, but the stuff I use does hole-punching pretty transparently. I run 2 VPSes to facilitate this. I don't use UPNP, I have it explicitly disabled everywhere (too much malware that tries to leverage it)

And yes I know that NAT has the same effect as a "deny all inbound" on IPv6. Which is something I would set there too if I did use IPv6 so I'd still have to do hole-punching anyway.

Re: Building a Mostly IPv6 Only Home Network

#48
post #42

Why though? What's the problem with ipv4? I find it much simpler for troubleshooting etc to have simple IPv4 addresses. But cool that it can be done :) I've switched off IPv6 on my router anyway, I haven't yet needed it. My provider didn't offer it last time I checked but when they do enable it I don't want it suddenly popping up against an untested router configuration.

I don't know your background, but I find that the people who feel that there's nothing wrong with IPv4 have never done any work with UPNP or NAT. For them it's always "just worked" and they don't recognise what pain has gone into trying to keep it working well despite our usage of it bordering abusive. NAT is the devil. If anyone replies to this with the myth that NAT is a security mechanism I will firmly, yet polite…

I dunno, I've manually set up NAT (down to the sysctls and iptables) and it's... fine. There's a small learning curve, but it's small. You should of course run a firewall which NAT is not; that's also simple and just basic hygiene.

Re: Building a Mostly IPv6 Only Home Network

#49
post #23

Earlier quoted context omitted.

Public IPs is a huge huge huge benefit. Your connection is also faster because your IPv6 packets don't have to be processed by a centralised CGNAT.

That's only if you are behind CGNAT though. My fixed ISP doesn't use it.

Even without CGNAT you'll only get one IPv4 address forcing a absurd amount of workarounds to be usable, that are mostly hidden in firmwares but sill there.

Re: Building a Mostly IPv6 Only Home Network

#50
post #42

Earlier quoted context omitted.

I don't know your background, but I find that the people who feel that there's nothing wrong with IPv4 have never done any work with UPNP or NAT. For them it's always "just worked" and they don't recognise what pain has gone into trying to keep it working well despite our usage of it bordering abusive. NAT is the devil. If anyone replies to this with the myth that NAT is a security mechanism I will firmly, yet polite…

I dunno, I've manually set up NAT (down to the sysctls and iptables) and it's... fine. There's a small learning curve, but it's small. You should of course run a firewall which NAT is not ; that's also simple and just basic hygiene.

Well, if you've set it up then you're aware that you need conntrack;

Conntrack is not always your friend, and even when it is: it's adding a lot of overhead.

https://www.tigera.io/blog/when-linux-conntrack-is-no-longer...

Post reply on HN