IPv6
What
A way to universally address devices across networks on L3
Because apparently NAT wasn't good enough
Why
Same as IPv4: MAC would be shit to route with
Concepts
-
Global addresses
- Globally unique address
-
Link local addresses
- Addresses in the local network
- Assigned from
fe80::/10
-
StateLess Address AutoConfiguration (SLAAC)
- Routers can allow hosts to configure their own address
-
Duplicate Address Detection (DAD)
- Since hosts can configure their own address, there needs to be a way to check if they already exist
-
128 bit address, 8 groups of 4 hex digits, each group is 16 bits
-
Prefixes
- Link-local:
fe80::/10 - Unique local:
fc00::/8 - Multicast:
ff00::/8
- Link-local:
-
All nodes multicast:
ff02::1 -
All routers multicast:
ff02::2
How
Routing tables work the same as IPv4, except some routing protocols have IPv6 specific versions:
E.g. RIPng, OSPFv3
IS-IS and EIGRP do not need a separate version