this post was submitted on 25 Jul 2023
255 points (98.1% liked)

Programming

17541 readers
79 users here now

Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!

Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.

Hope you enjoy the instance!

Rules

Rules

  • Follow the programming.dev instance rules
  • Keep content related to programming in some way
  • If you're posting long videos try to add in some form of tldr for those who don't want to watch videos

Wormhole

Follow the wormhole through a path of communities [email protected]



founded 2 years ago
MODERATORS
 

Try the following:

$ nslookup github.com
[...]
Non-authoritative answer:
Name:   github.com
Address: 140.82.121.3

See also the completely ignored post in their forums.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 27 points 1 year ago (3 children)

I've still never used ipv6. It just never offered anything I needed.

[–] [email protected] 47 points 1 year ago (3 children)

If you live in the USA you don't suffer from the problem it solves because you have ~5 IP v4 addresses per capita (totaling to 41% of all the IP v4 addresses), and likewise many european countries have ~2 per capita (although there are expeptions like Italy and Spain which are a bit under 1 per capita). However many other countries don't have such luxury, for example in india there's one for every 36 people, which is obviously not enough and thus they have to either use NAT everywhere or switch to IPv6.

[–] [email protected] 20 points 1 year ago

I’m in Indonesia right now. Stuff can be randomly offline or blocked because they think I’ve already accessed or am spamming something. Even little things like New York Times saying “you’ve reached your free limit for today” but I didn’t even have internet access for a couple of days!

[–] [email protected] 3 points 1 year ago (1 children)

There isn't 5 addresses per person in the US. They use NAT like everyone else. I think you know this though.

[–] [email protected] 8 points 1 year ago (1 children)

No the number is public. The IPv4 addresses allocated to the US are about 1.524 Billion, and there are ~332 million people in the US. Most of those IPv4 addresses are allocated to servers in datacenters, but individual people having a public IP for their house is really common. Yeah, your devices are behind NAT, but you can get one. To their point, in countries like India, people outnumber IPv4 addresses so much this isn't possible. Just getting people there online in a way they can interact with the IPv4 Internet is tricky to do well.

[–] [email protected] 1 points 1 year ago

They are allocated in levels though, so you can't just get an individual unused address if the top level has been allocated to IBM or Cisco or the DoD. It's not democratic.

[–] [email protected] 9 points 1 year ago (3 children)

Same. I’m hearing it’s a must-have for like 15 years now. It still obviously isn’t a real must-have.

[–] [email protected] 18 points 1 year ago* (last edited 1 year ago) (1 children)

This is because ISPs keep piling on workaround after workaround in order to scale their use of IPv4, which is working but not without some disadvantages. Also, like other commenters mentioned, the western world have an unfair advantage in IPv4 addresses allocation and thus people living there don't really see any meaningful shortage of IPv4. People in other countries don't have this luxury and have to rely on IPv6 and shitty CGNAT in order to stay online.

[–] [email protected] 15 points 1 year ago

Depends on where you are. It's a must-have in parts of the world that don't have enough IPv4 addresses.

[–] [email protected] 8 points 1 year ago (1 children)

I remember hearing that it meant every device could have a unique IP. But we still have NAT...

[–] [email protected] 2 points 1 year ago

You don't have NATs in the IPv6 world...

[–] [email protected] 5 points 1 year ago

You may have.

For example, T-Mobile in many places gives you an IPv6 address and uses CG-NAT for IPv4 — meaning you don’t have your own IPv4, but you do have a few quintillion “real” IPv6’s to yourself.