Split an IPv6 /48 into 256 /56 branch sites
Allocate /56 site blocks and /64 LANs from 2001:db8:1200::/48. Find the exact addresses for branch 42 and LAN 5.
Try these inputsWorked calculation
- The site split adds 56 − 48 = 8 bits, making 2⁸ = 256 zero-based branch indices.
- Branch 42 is hexadecimal 2a. It occupies the upper byte of the fourth hextet, producing 2001:db8:1200:2a00::/56.
- The LAN split adds eight more bits. Index 5 fills the lower byte and yields 2001:db8:1200:2a05::/64.
Results
- Selected child
- 2001:db8:1200:2a00::/56
- Selected leaf
- 2001:db8:1200:2a05::/64
- Child prefixes
- 256
IPv6 prefix tree
- Selected prefix
- Nearby or parent prefix
- Parent network
- 2001:db8:1200::/48
- Last address in parent
- 2001:db8:1200:ffff:ffff:ffff:ffff:ffff
- Full address
- 2001:0db8:1200:0000:0000:0000:0000:0000
- Compressed address
- 2001:db8:1200::
- Addresses in parent
- 1,208,925,819,614,629,174,706,176
- Leaves in selected child
- 256
- Address space
- IPv6
| Level | Index | Prefix | Selection |
|---|---|---|---|
| Child | 41 | 2001:db8:1200:2900::/56 | Neighbor |
| Child | 42 | 2001:db8:1200:2a00::/56 | Selected |
| Child | 43 | 2001:db8:1200:2b00::/56 | Neighbor |
| Leaf | 4 | 2001:db8:1200:2a04::/64 | Neighbor |
| Leaf | 5 | 2001:db8:1200:2a05::/64 | Selected |
| Leaf | 6 | 2001:db8:1200:2a06::/64 | Neighbor |
Questions
Is site 0 a valid branch allocation within a /48?
Yes. The all-zero child prefix is a valid /56. Plan names or reservation policy can keep it unused if you prefer.
How many /64 LANs fit inside just branch 42?
Each /56 contains 256 /64s, with fourth hextets 2a00 through 2aff in this branch.