IPv6
/42
2^86
IPv6 /42 prefix
/42 means the first 42 bits are the network and 86 are left for hosts. That is 2^86 addresses.
Addresses are 128 bits, so nobody writes a mask — only the prefix length. A home gets a /56, a single network a /64.
- Prefix
- /42
- Host bits
- 86
- Addresses
- 2^86
- Usable hosts
- 2^86
- /64 networks inside
- 2^86
- Nibble boundary
- No
Prefixes either side
How to read this
- /24 means the first 24 bits are the network; the remaining 8 hold the addresses inside it.
- Each extra bit splits the network in two and halves the addresses.
- Usable addresses are normally the total minus two — the network and broadcast addresses.
- IPv6 has no broadcast, so nothing is subtracted. One network is conventionally a /64.
Frequently asked questions
Q. How many addresses are in a /42?
2^86, of which 2^86 can actually be handed out.
Q. How is a /42 written?
IPv6 uses no mask — you simply write /42.
Q. How many /64 networks fit in a /42?
2^86.
Q. How many host bits are there?
86. Each extra network bit halves the addresses.