IPv6 to IPv4 conversion

Pupp

Member
I thought I'd post a tiny primer on IPv6 and how it relates to IPv6 and IPv4.

It's correct that IPv6 isn't "Backwards compatible" with IPv4, in as much as the equipment must have a much longer hexadecimal address, but hexadecimal was chosen because it shortened the length of the address by a factor of 4.

IPv6, if it was designed like IPv4, would have addresses 128 digits long.

LINK>>> IPv4 wrapped to IPv6, and also converted

Essentially, an IPv4 address just takes up a few digits of a IPv6 address space.

Also, IPv6 uses shorthand. For example, if there is only zeros in a segment, it can just write a single zero to that segment.
 
Last edited:

beers

Moderator
Staff member
Essentially, an IPv4 address just takes up a few digits of a IPv6 address space.
That calculator doesn't do NAT64 correctly.
Also, IPv6 uses shorthand. For example, if there is only zeros in a segment, it can just write a single zero to that segment.
There's also the double colon to skip multiple sequences of zeroes, such as the HE.net DNS endpoint of 2001:470:20::2

You can also shorthand IPv4, or even use the decimal value of an ipv4 address and it will convert it for you. This used to be handy before smartphones because it was generally a phone number length digit in the USA.
┌─[beers@Betsy-v3]─[~]
└──╼ $ping 10.1
PING 10.1 (10.0.0.1) 56(84) bytes of data.
┌─[✗]─[beers@Betsy-v3]─[~]
└──╼ $ping 2170828371
PING 2170828371 (129.100.54.83) 56(84) bytes of data.
 

Pupp

Member
I really was just trying to make a point, to forum readers that might find it mildly interesting, without spending 3 years studying networking. lol.
 

beers

Moderator
Staff member
I'm totally down for some v6 discussion although most people have no idea what to do with binary let alone leverage functions on top of it :p
 

Pupp

Member
LOL

I'm pretty rusty. I did spend about 8 months as a moderator on a networking forum that was primarily for people studying networking. I got burned out. The forum software was old and I spent 60 to 90 minutes a day just deleting bot spam. Finally they upgraded the forum software, but there was no way to save the old posts, other than read only archiving.

I bowed out after that. I decided to surf the old forum years later and it was gone. I think a lot of members jetted after the old forum was archived. People pour countless hours answering questions, sometimes taking over an hour to craft a reply, and starting out from scratch didn't appeal to the regulars members that knew how to answer questions. I did a quick look about 6 months after they changed forum software, and there was only about 3 pages of threads.
 
Top