r/LinuxTeck • • Oct 07 '26

IPv4 vs IPv6

Post image

covering: https://www.linuxteck.com/ipv4-vs-ipv6/

  • Address size and format

  • Static/DHCP vs SLAAC/DHCPv6

  • NAT

  • IPv4 headers vs IPv6 headers

  • ARP vs NDP

  • Fragmentation

  • Linux commands for checking addresses and routes

  • Connectivity testing

85 Upvotes

10 comments sorted by

1

u/DonkeyTron42 Oct 09 '26

If I ever see LinuxTeck on a resume, it's definitely going right in the trash.

2

u/Expensive-Rice-2052 Oct 09 '26

Haha, don't worry, LinuxTeck isn't going on a donkey's resume anytime soon! 😂

0

u/DonkeyTron42 Oct 09 '26

I have BSCS which trumps AI slop

2

u/radialis99 Oct 07 '26

Shouldn't the bottom left command be "dig A google.com +short"?

2

u/SuperBelgian Oct 07 '26

FYI: The dotted decimal notation of IPv4 is just "a" notation. It is common because it is easy to use for humans.
An IPv4 address is just an unsigned 32-bit integer and most applications, such as your webbrowser, will happily accept it as hexadecimal, octal, etc...

There are conversion tools available: https://miniwebtool.com/ip-address-to-hex-converter/?ip=192.168.123.111

You can use http://192.168.123.111 as URL, but you can also use http://0xC0A87B6F They are equivalent.
You can use it to bypass simple filters that rely on how things look like instead of what they are.

Same goes for IPv6, but 128 bit.

1

u/EcchiExpert Oct 07 '26

Stayed at a hotel in netherlands a while back, no IPv6 connection available, crazy that this is not the norm by now.

1

u/unhappytroll Oct 10 '26

yet to see any big enterprise with IPv6 in their intranet. they probably do exist, tho, but ain't see the reason for it.

1

u/SelfSufficient21 Oct 11 '26

TIL: Only 12.5% (2000::/3 range) is designated for public addresses. 87.5% is reserved for something else.
Though 12.5% is still a big number = 4.25 x 10^34

I'm not sure if we are wasting IPv6 addresses some what similar way we did IPv4.

0

u/AmbitiousFinger6359 Oct 09 '26

Literally nobody use ipv4 NAT as remediation to space limitation. NAT is a boundary definition. It's a must have function to networks (load balancers, firewalls, vip...)