The conversation

Lessons learnedExperience excerpt · English

People who advocate for IPv6 are always like 'ahhhh just plug it in and its ready to go!!!' There's …

People who advocate for IPv6 are always like 'ahhhh just plug it in and its ready to go!!!' There's even twitter accounts that shame people for how they approach IPv6. But after doing a crap load of network programming I can tell you its really not simple at all. - IPv6 has many different address types. - Depending on the type you want to bind to it needs to be handled different. - Some types need an interface ID appended to them. - This is conditional on the type of the OS. - Windows has no easy way to get the ID programmatically. - Some address types need additional bind info like the 'scope id.' - Whether you can reach a specific addr type in a con depend on the addr you bind to. - IPv6 was designed to have plenty of addresses so that NAT isn't needed. Guess what: IPv6 can still do NAT like NAT6. In which case you won't have any nice global scope addresses to bind to. Writing good network code depends on being able to list the interfaces on a machine and the addresses that they have. …

Original discussionDHCPv6-PD – First Steps83 source comments · at import
3

Community replies 0

No community replies yet. Add your perspective.

Replies from the source 3

Direct replies available in this import. Original-language excerpts.

DC

scopes are deprecated and link-local is only a thing so that the network can bootstrap itself. if you’re deploying ipv6 all you care about are global and ula, which are scope-less

Full original
SI

Your "end-user routers suck ass" comment is totally true. I wish the end-user and SOHO networking gear market wasn't a fucking race to the bottom. Your other comments simply aren't a substantial concern at end-user sites in the real world. * The only scopes that end-user sites might care about are global and link-local. I expect that situation is the same at nearly all non-end-user sites. Reading through the RFCs, it looks like the other scopes are ONLY relevant in multicast [0][1]... and even then, anything other than interface-local, link-local, and global looks like it's programmed into the routers and switches of the network, rather than host computers themselves. * If you have functional IPv6 service at your site, your application software cares as much about the interface's fe80::/10 link-local address as it does about the 169.254.0.0/16 link-local address... that is, not at all. T…

Full original
EY

My GL inet router does native IPv6 just fine, without needing NAT6 or anything. Within its interface you can turn it on as "native" and it all just works.

Full original
Continue on Hacker News

Respect different perspectives. Share concrete experiences.

Sign in to post, reply, repost, and quote.