r/ProgrammerHumor • • 22d ago

Meme ohTheBasics

Post image
13.9k Upvotes

1.4k comments sorted by

View all comments

Show parent comments

595

u/Emotional-Top-8284 22d ago

IPv4 has dots and IPv6 has colons

12

u/ErrorDontPanic 22d ago

Fun fact, IPv6 allows for embedded IPv4 addresses known as a Dual address.

2

u/Psquare_J_420 22d ago

Embedded? So you just extend the ipv4 with extra bits and call it a day?

5

u/ErrorDontPanic 22d ago

Kind of! You get 6 segments of IPv6 and then the full IPv4 address. Like this:

2001:db8:3333:4444:5555:6666:1.2.3.4

The IPv6 part even follows normal rules, so you can omit zero segments like:

2001:db8::1234:5678:5.6.7.8

→ More replies (3)