Live data from Hacker News

An Introduction to NAT64

ungleich.ch

1–10 of 22 posts

Re: An Introduction to NAT64

#2
Such a pet peeve of mine. Define it, at least on the page. From wikipedia.

> NAT64 is an IPv6 transition mechanism that facilitates communication between IPv6 and IPv4 hosts by using a form of network address translation (NAT). The NAT64 gateway is a translator between IPv4 and IPv6 protocols, for which function it needs at least one IPv4 address and an IPv6 network segment comprising a 32-bit address space.

Re: An Introduction to NAT64

#4
post #2

Such a pet peeve of mine. Define it, at least on the page. From wikipedia. > NAT64 is an IPv6 transition mechanism that facilitates communication between IPv6 and IPv4 hosts by using a form of network address translation (NAT). The NAT64 gateway is a translator between IPv4 and IPv6 protocols, for which function it needs at least one IPv4 address and an IPv6 network segment comprising a 32-bit address space.

It's a follow up to the second part and covered in the first minute of the video as review anyways.

Re: An Introduction to NAT64

#6
post #2

Such a pet peeve of mine. Define it, at least on the page. From wikipedia. > NAT64 is an IPv6 transition mechanism that facilitates communication between IPv6 and IPv4 hosts by using a form of network address translation (NAT). The NAT64 gateway is a translator between IPv4 and IPv6 protocols, for which function it needs at least one IPv4 address and an IPv6 network segment comprising a 32-bit address space.

Fun fact: I wrote the initial version of that page. I taught networking lessons at a university, IPv6 transition mechanisms were one of the topics we covered, and this one didn't have an article, so I wrote it. It was quite funny when one of the students realised it was who wrote it when they went to Wikipedia wanting to learn more :)

Re: An Introduction to NAT64

#7

I see no reason to use NAT64 over NAT. Am I wrong here?

They're different things. NAT64 is useful for bridging between ipv6 and ipv4 networks, it's just a way of encoding ipv4 addresses in ipv6 addresses. It's more straightforward than ipv4 nat because there's no port rewriting.

Re: An Introduction to NAT64

#9

Back in the day I wrote tnat64, a simple tsocks-like wrapper to redirect IPv4-only applications to a NAT64 gateway. It even worked with Skype to a degree: it'd log in and then repeatedly reconnect every minute or so.

Oooh, I actually have a use for this. Any interest in open sourcing it?

Re: An Introduction to NAT64

#10
post #7

I see no reason to use NAT64 over NAT. Am I wrong here?

They're different things. NAT64 is useful for bridging between ipv6 and ipv4 networks, it's just a way of encoding ipv4 addresses in ipv6 addresses. It's more straightforward than ipv4 nat because there's no port rewriting.

NAT64 still needs port translation, it’s doing the same job an IPv4 NAT gateway has to do, but additionally translating IPv6 addresses to IPv4 ones.
Post reply on HN