frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Why IPv6 is the only way forward

https://ankshilp.in/posts/for-the-love-of-internet/
29•quaintdev•1h ago

Comments

mono442•1h ago
The main problem with IPv6 is that it is different from IPv4. There's SLAAC, there's no ARP and there're also some other differences. In the end, it's simpler to just not bother.
dogleash•1h ago
Yup. People learn parts of v4 through osmosis because it's the default. Then when networking topics come up, it's easier to keep going with stuff that looks familiar rather than un-learning assumptions. Why bother with the weird other thing that's not even mandatory?
lgunsch•1h ago
If IPv6 was going to be successful, it would have been successful years ago. It seems, people are just more comfortable with layers of NAT than native IPv6 everywhere. I'd guess that it should have been more backwards compatible. Similar to UTF-8 and ASCII.
jdwithit•1h ago
IPv4 has been "in crisis" for the entire 20 years I've worked in tech and we seem to be managing alright. Not to say things can't be better or we shouldn't try to improve. But I'll be surprised if v4 isn't still the default for most use cases in another 20 years.
RiverCrochet•1h ago
That's because the Internet is basically broadcast TV 2.0 so no one cares about having public IPv4's at home as long as they can get to their memes and streaming. Great job, we took something that was meant to be a next frontier in humanity and let anyone connect with anyone else without gatekeepers/intermediaries and turned it 21st century brainrot troughs. Perhaps a society not in slow intellectual decline would have chosen otherwise.
ozim•1h ago
I do agree.

But at the same time there is a quote by Stanisław Lem...

"Until I used the Internet, I didn't know there were so many idiots in the world"

ux266478•1h ago
> Great job, we took something that was meant to be a next frontier in humanity and let anyone connect with anyone else without gatekeepers/intermediaries

We already had that, it's called shortwave radio. The internet, especially as it's implemented and as it's used, is a terrible way to achieve this. It's service providers the whole way down.

smallmancontrov•56m ago
It would be funny if HAM radio came back because the social filter imposed by the limitations wound up being more important than the technological capability.
globular-toast•50m ago
There are definitely problems, but IRC in the 90s had strong ham radio vibes imo.
lern_too_spel•58m ago
His point is that you're managing alright because you live in a country where your ISP can give you a public IP address. The author lives in a country where that is not possible and accesses the Internet behind layers of NAT.
LoganDark•55m ago
What's the difference, other than port forwarding? Does NAT cause some sort of unique issue that makes existence miserable?
jofla_net•52m ago
Hole punching, which has various forms, may or may not work. This means if you're doing something realtime, you may need to stick a server(reachable endpoint) in between it, at the very least reducing performance.
rectang•1h ago
If UTF-8 represents the triumph of a design prioritizing backwards compatibility with an existing standard (ASCII) to facilitate a transition, then IPv6 is the cautionary tale of a design which could have made the transition simpler but did not.
w3ll_w3ll_w3ll•1h ago
IPv6 cannot be backward-compatible with IPv4 in the way UTF-8 is with ASCII. Any argument built on that comparison reflects a misunderstanding of the protocols and leads to flawed conclusions.
AussieWog93•1h ago
Wait, why couldn't it?

Just split the address into two 32-bit chunks (call the top word the "pool", bottom word "address") and assign the full IPV4 range to pool 0x00000000. Done.

eptcyka•1h ago
In what world does is such a protocol any more *”””compatible”””* with IPv4 than IPv6 already is? It is a different header after all.
kstrauser•1h ago
Until you upgrade every router between 2 hosts so that it understands the IPv4b addressing scheme, those 2 hosts can't talk. And if you're going to upgrade them all anyway, then might as well do it right.
bluGill•1h ago
That doesn't change anything - until everyone adopts the new chunk nobody can use it (even one windows XP machine that you don't personally care about is enough to still kill it today). IPv6 is better because at least it can work side by side by IPv6.
treyd•59m ago
Well for starters, IPv6 has 128 bit addrs.

But then think about what the routing tables would look like, how would an IPv4-only host find an IPv6 host not in pool 0? You'd be reinventing NAT, but in a less-structured context than how NAT works today. There's more issues to it too.

If it was really that simple they would have done exactly that. "Just adding more bits to IPv4" just isn't possible to do backwards-compatibly. IPv6 is the closest you can get to that while also dealing with the complexity that arises with longer addresses.

AussieWog93•40m ago
>how would an IPv4-only host find an IPv6 host not in pool 0?

Ah.

jcgl•1h ago
Yep. Translation technologies like NAT64 and company basically as good a job as can be hoped for. And they're quite good nowadays!

But to stick with the ASCII->UTF-8 comparison: how would you have done the transition if you had to stay within ASCII's size of 7 bits?

p1mrx•30m ago
https://en.wikipedia.org/wiki/UTF-7 exists, but was rarely used.

UTF-8 is convenient because ASCII has a spare bit, but UTF-8 is fundamentally possible because ASCII is variable-length. IPv4 is not variable-length.

j1elo•1h ago
Why not? Sincere question. As a very superficial idea, if we go back to the drawing board, for example we could decide our new cool concept of address to be an IPv4 + an hex suffix, maybe at the expense of not having a humongous address space.

So 10.20.30.40 would be an IPv4 address, and 10.20.30.40:fa:be:4c:9d could be an IPv6 address. With the :00:00:00:00 suffix being equivalent to the IPv4 version.

I just made this up, so I'm sure that a couple years of deep thought by a council of scientists and engineers could come up with something even better.

IsTom•58m ago
How do you squeeze that in IPv4 packet? Especially in a way that won't get mangled by random ossified devices in between?
j1elo•50m ago
In IPv4 you only need to transmit IPv4 addresses. If the "cannot be" in parent post is referring to the exact byte disposition in packets, then I go the other way around to claim that I agree. Because the only way that a UTF8 character can pretend to be ASCII is because ASCII didn't use all of the 8 bits in a byte to begin with. Only way to have something similar in this case, would be that IPv4 didn't use all of the allocated bits for addresses... Which is not the case.

What I argued was that IPv4 could be embedded into IPv6 address space if they had designed for it. But I agree, that the actual packet header layouts would need to look at least a bit different.

zamadatix•34m ago
https://datatracker.ietf.org/doc/html/rfc4291#section-2.5.5....

& the following section for the follow-up embedding.

zamadatix•41m ago
Programmers really like to focus on things like:

- How they would format the display of the bits

- Where in the bit pattern IPv4 mapped addresses should go

- Coming up with some variation of NAT64, NAT464, or similar concepts to communicate between/over IPv4 and IPv6 networks

- Blaming the optional extensions/features of IPv6 for being too complex and then inventing something which has 90% of the same parts which are actually required to use

It's even easy to get distracted in a world of "what you can do with IPv6" instead of just using the basics. The things that actually make IPv6 adoption slow are:

- A change in the size of the address field which requires special changes and configuration in network gear, operating systems, and apps because it's not just one protocol to think about the transport of again until the migration is 100% complete.

If IPv4 were more painfully broken then the switch would have happened long ago. People just don't care to move fast because they don't need to. IPv6 itself is fine though and, ironically, it's the ones getting the most value out of the optional extensions (such as cellular providers) who actually started to drive IPv6 adoption.

SkiFire13•37m ago
How would you get someone that only knows about IPv4 addresses like 10.20.30.40 to send a packet to someone with an address 10.20.30.40:fa:be:4c:9d?
leosanchez•1h ago
Author if you are reading comments, rss feed entries point to example.com
haddr•1h ago
the link to the full table somehow doesn't work for me
quaintdev•1h ago
Fixed
quaintdev•1h ago
Thanks! Check now.
bombcar•1h ago
I don’t know how you measure “metric tons of content” but I suspect in general there’s lots of US-available content on IPv4 that the countries like China and India want to access, and not much the other way around.

But that should be a perfect playground for an IPv6-only network that has gateways to the IPv4 content; eventually the home-developed content will begin to drive demand elsewhere.

nickserv•1h ago
Yes, there's lots of content on IPv4, and there is also a lot of traffic from India...

If India were to turn off IPv4, it would be a great incentive for IPv4-only sites in the US and Europe to add an IPv6 address.

wmf•1h ago
No mention of Indian ISPs just buying IPv4 addresses. Prices are even declining.
isodev•1h ago
Someone should’ve thought about the UX of IPv6 before declaring it to be “the way”. It’s like having to learn Klingon just to setup your printer. IPvNext could sort that out… maybe it’s time to consider moving on.
bluGill•1h ago
People claim this all the time, but every time I push I discover they have no clue how networks work and just handwave away as "easy" or "details" the very reasons people who understand networks say it can't work.
isodev•1h ago
I think you’re making my point - someone decided to surface a very low level concept “as is” (without a suitable abstraction) on a level where people also need it for use cases that don’t justify knowledge of the arcane. Or dealing with gatekeepers for that matter.
bluGill•57m ago
For most people there is no UX. Most US houses are IPv6 and use it without knowing anything about networking at all (most cable internet is IPv6, as the big cell networks).

The people who have to make networks work need to know how IPv6 works - but there is no getting around that - they know how IPv4 works too.

dogleash•50m ago
>every time I push I discover they have no clue how networks work

Listen here, if there is a networking technology or feature that I wasn't forced learn when I half-assed a SOHO router config in 2005, then it shouldn't exist at all.

IsTom•55m ago
Like there was any chance to see UX of this to work or not in most of places. I've never had an ISP that even offered any IPv6 connectivity besides mobile internet.
azalemeth•1h ago
I am behind cgnat but have a native ipv6 /64 at home. I've got a great fibre connection (2G5) and everything "just works". I can host on ipv6 native machines and see them from anywhere in the world that has native ipv6 access.

The trouble is that 1) my employers do not have native ipv6 access; 2) neither does my mobile connection; and 3) really nor do a lot of my friends. Moreover, 4) if you browse a website from a native world-reachable ipv6 address, you're fingerprinted by it and it's overwhelmingly unique to you. So, it doesn't really work for hosting, and I don't get any direct benefits from it.

Instead I have a vps with a public ipv4 address and have a router that creates a wireguard tunnel to it. The reverse proxy works great over ipv6 and I am now in a position where I can forward ports and have direct connections -- albeit with hugely increased technical complexity. Ipv6 has many great ideas in it. If it's universally used it might just catch on...

bluGill•1h ago
The US doesn't have excessive IPv4 Addresses. We have a real shortage and big pain because we don't have anywhere near enough. Sure we have 40% of them all - but that has no indication of what enough is.
tonymet•1h ago
> There are countless threads online on forums like Hacker News, Reddit where people who never really got comfortable with idea of IPv6

It’s clumsier than ipv4. It’s unnecessary since NAT was invented. In practice IPv6 requires dual stack, which means twice as many firewalls, names and routes to manage — so 4x the debugging because you have 2 dimensions that can either be working or failing. Addresses are too long to remember, too clumsy to write, and after 30 years still don’t have consistent representation (how many colons and brackets?).

Look, IPv6 has some benefits, but until the usability is fixed, it will be another 30 years before it’s close to 95% adoption.

apearson•56m ago
To reduce doing things twice there is NAT64/646XLAT. How many v4 addresses have you memorized, I normally use DNS or mDNS.
Chu4eeno•51m ago
... and annoying casting from `sockaddr` to either `sockaddr_in` or `sockaddr_in6*` while you pass around a socklen_t.

10 years ago I was all gung-ho about IPv6, but it's annoying at every level.

tonymet•38m ago
Having 2 sockets for loopback or multiple interfaces is a huge pain
oconnore•56m ago
I don't understand why people are so negative about IPv6. I have done essentially zero home networking work and I just ran this successfully. It just works!

``` > ping6 google.com PING6(56=40+8+8 bytes) 2605:59c0:236f:3a08:7883:9d04:c26d:5fa1 --> 2607:f8b0:4005:806::200e 16 bytes from 2607:f8b0:4005:806::200e, icmp_seq=0 hlim=117 time=22.262 ms 16 bytes from 2607:f8b0:4005:806::200e, icmp_seq=1 hlim=117 time=26.124 ms 16 bytes from 2607:f8b0:4005:806::200e, icmp_seq=2 hlim=117 time=26.807 ms ^C --- google.com ping6 statistics --- 3 packets transmitted, 3 packets received, 0.0% packet loss round-trip min/avg/max/std-dev = 22.262/25.064/26.807/2.001 ms ```

thomasdziedzic•53m ago
IPv6 feels like we just can't admit to ourselves that it has been a failed transition. What would it take to come up with IPv7 which takes in the lessons of IPv6 and produces something better that we can all agree is worth transitioning to over IPv4.
apearson•48m ago
What changes to IPv6 would you make to make it easier to transition?
globular-toast•52m ago
IPv6 is totally an equality issue. If a sizeable proportion of this forum had to share an IP address we would've had IPv6 done years ago.
ux266478•51m ago
The way forward for what though? It remains to be seen if this level of infrastructure and complexity has any kind of resilience. I seriously doubt it does, looking back on history. I think it's far more likely that the post-industrial population contraction (which hasn't even really begun) as well as climate change (anthropogenic or not) will make it far more likely that this model of "everybody uses a computer" ends up in the junk bin of history. Can't say I'd be sad to see it go. Somebody who has no interest in computers shouldn't ever have to touch one.
jmyeet•43m ago
I find it fascinating how these key technologies handle upgrades and breaking changes. For example, Python eschewed breaking changes through 2.7.x but the dam has burst since 3.0 and every point release (it seems?) makes breaking changes, sometimes reversing itself (eg the whole s/u string prefix thing).

Many here will be familiar with the second system effect [1]. Usually people want to avoid making breaking changes but once they do, they can go a little nuts. My personal opinion is only major versions should make breaking changes and a lot of thought should go into making them as painless as possible.

IPv6 is fascinating for these reasons but also that it's a product of its time in two main ways:

1. It doesn't do anything about roaming because that wasn't an issue in the 1990s but it certainly is now;

2. A 64 bit address space would've basically been infinite addresses but instead they went with 128 bit addresses (rolling in ports) but then giving individual users a /64 address range. For some reason people deny it now or simply weren't aware but that too is a historical artifact because it was intended to put a 48 bit MAC address into that space but later we realized that's a huge PII and tracking issue; and

3. History has shown that upgrading network backbone hardware (in particular) is incredibly difficult through a process that's been described as "ossification", which is a nice description. Basically, network relays and routers wanted to avoid security issues and decided to discard things they didn't understand.

That's interesting because it violates Postel's Law [2], which basically says be liberal in what you accept and conservative in what you send.

But this shows up in all sorts of interesting ways, like it's practically impossible to reliably use MTUs larger than about 1536. When IPv4 was designed, that wasn't an issue. With 1-100G+ networks it is. There are RFCs about using large MTUs but you're dependent on backbone hardware you have no control over.

Even Linux struggles with this, to the point where you need to do some configuration for high-bandwidth networks (eg RPS [3]). Just handling all those interrupts presents a bunch of problems beyond the original scope. And again, it's hard to fix through no fault of Linux's.

I'm old enough to remember the talk about us running out of IPv4 addresses back in the 1990s. It's been interesting to watch how this has consistently been kicked down the street (eg cgNAT).

What is funny though is large companies (eg Facebook) actualy ran out of internal addresses on a 10/8 network and there's no good solution for that (with IPv4 at least).

[1]: https://en.wikipedia.org/wiki/Second-system_effect

[2]: https://en.wikipedia.org/wiki/Robustness_principle

[3]: https://lwn.net/Articles/362339/

Yizahi•41m ago
I honestly don't understand why IPv6 is not actively deployed in 2026. Every piece of networking hardware over past decade supports IPv6 and often dual stack too. And to switch between both often takes a few clicks if DHCPv6 server is up and reachable. Absolutely transparent, free, zero performance hit. But no, so many persist at doing v4.

PS: I'm talking about MSO hardware. But client hardware should be at the same level of compatibility for years too.

thomasdziedzic•38m ago
2026:

  $ ping6 github.com
  ping6: github.com: Address family for hostname not supported
Yizahi•21m ago
Yeah, that's the problem. And I bet they could enable it, they just don't want to for some reason.
gmuslera•36m ago
It is the only way forward, but the reason for that is not the correlation between population and IP addresses. After all, most of the use of internet today is not by people, but by bots, crawlers, AI agents, b2b and more, and that is far more than the human population, and then you have the virtual networks built over IP like VPNs, Tor and more. It is more related to privacy, bidirectional communication and protocols, security, identity and possibilities.
Bender•8m ago
The only place I have utilized an IPv6 address publicly is on my authoritative name servers only because some DNS testing tools assume it is there. It's not really needed however. My home firewall does have one but I have never used it. I can't think of a use for it. I have multiple static IPv4 addresses and they have suited me just fine for decades. I suppose I could bind a Squid SSL Bump MitM proxy to it in case a site blocks me but I would probably leave it off most of the time.

I never use them on my web, chat, voice, IRC and other servers as I personally find blocking shenanigans on IPv4 and not having to implement the same checks on IPv6 is just easier for a lazy person like me. IPv6 just feels like an after-thought bolt on to me. Clunky, not well thought out. Some privacy gotchas that can be disabled but some will not. That's just my take. I doubt anyone will have the same take. I think IPv4 will be fine for another 100 years even if we have to re-purpose some DoD/MoD ranges given they don't use them and maybe annex some /8's from a few greedy companies. But that's a problem for Gen Delta. Gen Foxtrot can deal with repurposing some multicast ranges.

Mcpnest

https://www.mcpnest.io/
1•malasartes•3m ago•1 comments

Bitcoin and Quantum Computing

https://nehanarula.org/2026/04/03/bitcoin-and-quantum-computing.html
1•nehan•4m ago•0 comments

Show HN: Custom Podcast Summarizer

1•jprorok•5m ago•0 comments

Cold Email Grader, check it out

https://getautocrm.com/tools/email-grader
1•BrendanSF•5m ago•0 comments

Death of the IDE?

https://addyo.substack.com/p/death-of-the-ide
1•robenkleene•5m ago•0 comments

Protecting against TPM interposer attacks

https://lwn.net/SubscriberLink/1064685/c29938fbf06e9d09/
1•Velocifyer•6m ago•0 comments

Anthropic's Project Glasswing sounds necessary to me

https://simonwillison.net/2026/Apr/7/project-glasswing/
2•simonw•6m ago•0 comments

The Design Index – A "Bloomberg Terminal" for Design Systems

https://thedesignindex.co/
1•prashaant•8m ago•0 comments

Social Impact Hackathon for Latinamerica

https://hack.indies.la/
1•jdiaz97•11m ago•0 comments

Backblaze Performance Stats Q1 2026

https://www.backblaze.com/blog/backblaze-performance-stats-q1-2026/
1•LaSombra•13m ago•0 comments

Intercepting React calls via a portal and a fake DOM to draw on Canvas

https://vezaynk.github.io/react-direct-canvas/
1•sattoshi•17m ago•0 comments

Digital Ocean blocked my account

1•ugly_munchkin•17m ago•2 comments

Show HN: An interactive map of Tolkien's Middle-earth

https://middle-earth-interactive-map.web.app/
3•frasermarlow•18m ago•0 comments

UCCL-EP: Portable Expert-Parallel Communication – Full Results

https://uccl-project.github.io/posts/uccl-ep-full/
1•matt_d•18m ago•0 comments

ErrataBench

https://github.com/reviseio/errata-bench
2•artursapek•18m ago•0 comments

Optimising a pipelined RISC-V core: from naive pipeline to near-superscalar perf

https://mummanajagadeesh.github.io/blogs/optm-riscv-core/
1•fanf2•18m ago•0 comments

Al-Khwarizmi ("Algorithm")

https://en.wikipedia.org/wiki/Al-Khwarizmi
1•profsummergig•19m ago•0 comments

Harrier – Microsoft Open-Sources Industry-Leading Embedding Model

https://blogs.bing.com/search/April-2026/Microsoft-Open-Sources-Industry-Leading-Embedding-Model
1•HanClinto•20m ago•1 comments

vLLM IR: A Functional Intermediate Representation for vLLM

https://github.com/vllm-project/vllm/issues/32358
2•matt_d•20m ago•0 comments

AWS S3 Files

https://aws.amazon.com/about-aws/whats-new/2026/04/amazon-s3-files/
2•dvrp•21m ago•0 comments

How do you prevent PII from leaking into test fixtures and staging datasets?

https://github.com/certifieddata/pii-scan
1•dk970•22m ago•1 comments

Section 4 of the 25th Amendment to the US Constitution

https://en.wikipedia.org/wiki/Twenty-fifth_Amendment_to_the_United_States_Constitution
3•OhMeadhbh•23m ago•2 comments

How Photofeeler (dating pic ranking site) works

https://getdatingphotos.com/how-photofeeler-works
3•nsokolsky•23m ago•0 comments

The best VR game I've ever played wasn't a VR game

https://alanmunirji.dev/#blog=vr-immersion
1•_345•23m ago•1 comments

Show HN: User-Friendly Persistent AI Memory Layer

https://www.reflectmemory.com/
1•vanstrata•27m ago•0 comments

We built a biological ALife chassis in our garage (open-source)

https://github.com/neurobotics-sci/neurobotics-biological-substrate/
1•Neurobotics_CIO•27m ago•0 comments

CS Trivia Crossword Puzzles

https://cstrivia.com/
2•delotrag•28m ago•0 comments

Local AI reads WhatsApp and books meetings – no cloud, no subscription

https://lmim.tech
2•iamonthemission•30m ago•1 comments

Agent SLOs: Grounding autonomous agents in metrics that matter

https://blog.firetiger.com/agent-slos-grounding-autonomous-agents-in-metrics-that-matter/
2•matsur•30m ago•0 comments

Earthset

https://www.nasa.gov/image-article/earthset/
4•layer8•31m ago•1 comments