Allocate /60 departments and /64 LANs from an IPv6 /56
Subdivide 2001:db8:3c00:ab00::/56 into sixteen department prefixes and locate a specific LAN inside department 3.
Try these inputsWorked calculation
- Each stage adds four bits, so there are 16 /60s per /56 and 16 /64s per /60.
- Put department index 3 into the third hex digit of the fourth hextet, giving ab30 and 2001:db8:3c00:ab30::/60.
- Use the last hex digit for LAN 9, which makes the fourth hextet ab39.
Results
- Selected child
- 2001:db8:3c00:ab30::/60
- Selected leaf
- 2001:db8:3c00:ab39::/64
- Child prefixes
- 16
IPv6 prefix tree
- Selected prefix
- Nearby or parent prefix
- Parent network
- 2001:db8:3c00:ab00::/56
- Last address in parent
- 2001:db8:3c00:abff:ffff:ffff:ffff:ffff
- Full address
- 2001:0db8:3c00:ab00:0000:0000:0000:0000
- Compressed address
- 2001:db8:3c00:ab00::
- Addresses in parent
- 4,722,366,482,869,645,213,696
- Leaves in selected child
- 16
- Address space
- IPv6
| Level | Index | Prefix | Selection |
|---|---|---|---|
| Child | 2 | 2001:db8:3c00:ab20::/60 | Neighbor |
| Child | 3 | 2001:db8:3c00:ab30::/60 | Selected |
| Child | 4 | 2001:db8:3c00:ab40::/60 | Neighbor |
| Leaf | 8 | 2001:db8:3c00:ab38::/64 | Neighbor |
| Leaf | 9 | 2001:db8:3c00:ab39::/64 | Selected |
| Leaf | 10 | 2001:db8:3c00:ab3a::/64 | Neighbor |
Questions
Why does changing the department move the fourth hextet by 0x10?
A /60 fixes the upper 12 bits of that hextet. Its low four bits belong to the sixteen /64s within the department.
What is the highest LAN index in one /60 department?
The index is 15, represented by f in hexadecimal.