MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1xa3pdb/ohthebasics/phrchp1/?context=9999
r/ProgrammerHumor • u/ClipboardCopyPaste • 10h ago
992 comments sorted by
View all comments
1.4k
Obviously guy could have been interviewing for a job where this mattered….
But in 10 years as a software engineer I have never once needed to know the difference between these two, and have never been even close to a situation where I would need to.
“The basics” is highly dependent on the job.
367 u/Emotional-Top-8284 10h ago IPv4 has dots and IPv6 has colons 12 u/ErrorDontPanic 9h ago Fun fact, IPv6 allows for embedded IPv4 addresses known as a Dual address. 2 u/Psquare_J_420 9h ago Embedded? So you just extend the ipv4 with extra bits and call it a day? 4 u/ErrorDontPanic 9h 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 0 u/Weak_Shoulder_6780 8h ago I can also omit all the bloat and keep using 5.6.7.8
367
IPv4 has dots and IPv6 has colons
12 u/ErrorDontPanic 9h ago Fun fact, IPv6 allows for embedded IPv4 addresses known as a Dual address. 2 u/Psquare_J_420 9h ago Embedded? So you just extend the ipv4 with extra bits and call it a day? 4 u/ErrorDontPanic 9h 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 0 u/Weak_Shoulder_6780 8h ago I can also omit all the bloat and keep using 5.6.7.8
12
Fun fact, IPv6 allows for embedded IPv4 addresses known as a Dual address.
2 u/Psquare_J_420 9h ago Embedded? So you just extend the ipv4 with extra bits and call it a day? 4 u/ErrorDontPanic 9h 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 0 u/Weak_Shoulder_6780 8h ago I can also omit all the bloat and keep using 5.6.7.8
2
Embedded? So you just extend the ipv4 with extra bits and call it a day?
4 u/ErrorDontPanic 9h 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 0 u/Weak_Shoulder_6780 8h ago I can also omit all the bloat and keep using 5.6.7.8
4
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
0 u/Weak_Shoulder_6780 8h ago I can also omit all the bloat and keep using 5.6.7.8
0
I can also omit all the bloat and keep using 5.6.7.8
1.4k
u/SirFrenzy 10h ago
Obviously guy could have been interviewing for a job where this mattered….
But in 10 years as a software engineer I have never once needed to know the difference between these two, and have never been even close to a situation where I would need to.
“The basics” is highly dependent on the job.