this post was submitted on 10 Nov 2024
32 points (92.1% liked)

Explain Like I'm Five

14276 readers
14 users here now

Simplifying Complexity, One Answer at a Time!

Rules

  1. Be respectful and inclusive.
  2. No harassment, hate speech, or trolling.
  3. Engage in constructive discussions.
  4. Share relevant content.
  5. Follow guidelines and moderators' instructions.
  6. Use appropriate language and tone.
  7. Report violations.
  8. Foster a continuous learning environment.

founded 1 year ago
MODERATORS
 

Seriously, my knowledge ends with:

  • It offers a shitload of IP addresses
  • They look really complicated
  • Something about every device in your local network being visible from everywhere?
  • Some claim it obsoletes NAT?

I get that it's probably too complicated a subject for an ELI5, so if there are good videos or resources explaining it in less than half an hour, feel free to share.

you are viewing a single comment's thread
view the rest of the comments
[–] Evotech 1 points 1 week ago* (last edited 1 week ago) (1 children)

It's just a larger address space, nothing particularly special. Just more numbers

If you use IPv6, you don't need to have concepts like rfc1918 / "private ip spaces, so if every ip is unique, they can be used publicly you don't need NAT

[–] [email protected] 1 points 1 week ago (2 children)

I'm guessing you don't need DHCP anymore either?
What's the difference between an ipv6 address and a MAC address then?

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

MAC addresses are link-local device identifiers, used by the switches and routers and WiFi access points that talk directly to the devices in question. Switches and routers maintain a table of which MAC to send a packet to based on the IP address - I.e. which actual port to send the data frames down.

There is DHCP for IPv6, but the IPv6 stack is supposed to be able to detect which subnet it’s router is in and then just pick addresses on its own (it does look for conflicts before committing to an address). This is called SLACC (stateless address auto configuration).

NAT is unnecessary because there are so many addresses, as others have mentioned; but I did want to point out that NAT is not used for security. Just because it obscures your devices does not make them any safer. All IPS routers have a firewall to one degree or another (could be as simple as “no incoming connections”; which is bad and lazy but it happens). Firewalling - examining incoming traffic against a set of rules for allowing or denying - is the correct way to secure any network, IPv4 or IPv6.

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

Different network layer. MAC addresses are layer 2 iirc, whereas IPv6 is layer 3.