← All questions
Card 89 · Networking
Shorten the IPv6 address 2003:00dc:075a:dd00:e130:c353:3188:afb6 and state the full 64-bit interface identifier.
Answer
Rules for shortening:
- Leading zeros in each block may be removed (00dc → dc, 075a → 75a).
- Trailing zeros must stay (dd00 stays dd00).
- One sequence of blocks that are all zero may be replaced by :: – only once per address. (This address has no zero block.)
Short form: 2003:dc:75a:dd00:e130:c353:3188:afb6
Interface ID (the last 64 bits = last four blocks): e130:c353:3188:afb6
The first four blocks 2003:dc:75a:dd00 are the 64-bit network prefix.
Diagram
Key vocabulary
| Term | Meaning | Example |
| leading zeros | zeros at the beginning of a number | Leading zeros can be omitted. |
| trailing zeros | zeros at the end of a number | Trailing zeros must never be removed. |
| to omit | to leave out | You may omit the leading zeros. |
| double colon | “::”, replaces consecutive zero blocks | The double colon can be used only once. |
| interface identifier | the last 64 bits of an IPv6 address | The interface identifier is e130:c353:3188:afb6. |
| valid | correct, allowed by the rules | Is this short form valid? |
Useful phrases
- to shorten an addressLet’s shorten the address step by step.
- only once per addressThe double colon may appear only once per address.
- to be ambiguousTwo double colons would make the address ambiguous.
- the last four blocksThe interface ID is the last four blocks.
Talk about it
- Shorten 2001:0db8:0000:0000:0000:ff00:0042:8329 and explain each rule you used.
- Why may the double colon be used only once?
- Why is it wrong to shorten dd00 to dd?
IHK hint
German: IPv6 kürzen: führende Nullen weglassen, Nullblöcke einmal durch „::“ ersetzen. Lösung: 2003:dc:75a:dd00:e130:c353:3188:afb6, Interface-ID e130:c353:3188:afb6.