IPv6
/104
16,777,216
IPv6 /104 prefix
/104 means the first 104 bits are the network and 24 are left for hosts. That is 16,777,216 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
- /104
- Host bits
- 24
- Addresses
- 16,777,216
- Usable hosts
- 16,777,216
- /64 networks inside
- None
- Nibble boundary
- Yes
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 /104?
16,777,216, of which 16,777,216 can actually be handed out.
Q. How is a /104 written?
IPv6 uses no mask — you simply write /104.
Q. How many /64 networks fit in a /104?
None — it is narrower than a /64.
Q. How many host bits are there?
24. Each extra network bit halves the addresses.