Low-voltage path · Division 11: Networks for low-voltage technicians · Lesson 209

Recognize IPv6 in an equipment network

Free for apprenticesRead it or play it. No card, no account, nothing to cancel.
Recognize IPv6 in an equipment network

What you should be able to do

Recognize IPv6 notation in a camera, controller or workstation record; expand a compressed address; and distinguish link-local scope from an assumed routed path. This is an observation and interpretation exercise, not a deployment instruction.

Read The Original Example

Expanded address: 2001:0db8:0209:0001:0000:0000:0000:0020 Compressed address: 2001:db8:209:1::20

Both represent the same 128-bit value. The expanded form has eight groups of sixteen bits. Each group can contain up to four hexadecimal digits. Eight times sixteen equals 128.

Remove leading zeros within each group: 0db8 becomes db8, 0209 becomes 209, 0001 becomes 1 and 0020 becomes 20. Do not remove zeros from the end of a nonzero group;20 and 2 are different hexadecimal values.

The three consecutive all-zero groups are represented by::. Five groups remain written explicitly: 2001, db8,209, 1 and 20. Eight minus five gives three omitted zero groups. Compression shortens text, not the underlying address.

Where beginners go wrong

Mistake: Shortening the last group 0020 to 2 while normalizing the example. Correction: Remove leading zeros only: 0020 becomes 20; keep its hexadecimal value unchanged.

Mistake: Sending a campus-wide test toward fe80::20 because it looks like an ordinary destination. Correction: Identify its link-local scope and the intended local interface; use an owner-supplied routable destination for a routed test.

Mistake: Copying %12 from one laptop as though it were VLAN12 on every workstation. Correction: Resolve the zone identifier against the issuing system's interface inventory; it is local context, not a portable VLAN assignment.

Primary-Source Basis

RFC5952 specifies canonical text representation: omit leading zeros, use lowercase letters and compress the longest suitable zero run, using the first run when equal longest runs tie. Its canonical form does not use::to replace only one zero group. Different valid textual forms can still identify the same address. Source: https://www.rfc-editor.org/rfc/rfc5952.html

RFC4291 describes 128-bit IPv6 addressing, multiple addresses per interface and link-local scope. Routers do not forward link-local source or destination traffic to another link. Source: https://www.rfc-editor.org/rfc/rfc4291.html

RFC3849 reserves 2001:db8::/32 for documentation. The example is not a production address allocation. Source: https://www.rfc-editor.org/rfc/rfc3849.html

RFC4007 explains scoped-address zone identifiers. Their interpretation is local to the system using them. Source: https://www.rfc-editor.org/rfc/rfc4007.html Sources accessed 2026-09-30.

Prefix Length

For this fictional example, the supplied prefix length is/64. The first four 16-bit groups make the 64-bit prefix: 2001:db8:209:1::/64.

The slash number is a count of prefix bits, not a decimal IPv4 subnet mask and not a port number. Use the prefix supplied by the actual network design. This lesson does not claim that every IPv6 address or route must use/64.

An IPv6 address without its relevant prefix, scope and interface information may be insufficient for a useful installation record. Copy the supported device display carefully and distinguish the address from any lifetime or status fields next to it.

Link-Local Context

The example fe80::20 is link-local. It is useful only within the relevant link scope; it is not a remote-campus destination merely because the same characters can be typed elsewhere.

A test tool may represent an interface context with a suffix such as fe80::20%12. In that illustrative syntax, 12 identifies a zone/interface context on the machine issuing the test. It is not part of the 128-bit address and is not a switch VLAN number. Another machine can use a different local identifier for the corresponding link. Follow the actual tool's syntax and interface inventory.

Do not remove a required scope identifier just to make two copied strings look alike. Conversely, do not paste one laptop's interface number into every other device's configuration and assume it has the same meaning.

Multiple Addresses Are Possible

An interface may show a link-local address and other IPv6 addresses. It may also have IPv4 configured. Seeing several address entries is not by itself proof of a duplicate-address fault. Record their roles and state instead of deleting unfamiliar entries.

The presence of an address does not establish that the destination is reachable, the address is ready for use or the required service accepts connections. Retain the status shown by the product and use the approved verification method. Do not infer physical identity from a partial address suffix.

Dual-Stack Exercise

A fictional recorder has both IPv4 and IPv6 enabled. A technician records one successful connection without noting the address family. Another technician reports an IPv6 failure. These results are not necessarily contradictory: the successful connection may have used IPv4.

Record the actual source and destination addresses, address family, name-resolution result if used, and application tested. If a name resolves to more than one family, a client may choose a path that differs from the one you intended to check. Do not label all networking healthy from one unqualified success.

A firewall or service configuration that works for IPv4 does not automatically establish the corresponding IPv6 behavior. Refer the approved policy and device capabilities to the network owner. Do not disable IPv6, bypass a security control or invent routes as an exploratory fix.

Original Paper Exercises

  1. Expand 2001:db8:209:1::20.

Answer: 2001:0db8:0209:0001:0000:0000:0000:0020.

  1. Is 2001:db8:209:1::2 the same address?

Answer: No. Its final value is hexadecimal 2 rather than hexadecimal 20.

  1. Can 2001:db8::209::20 be expanded unambiguously?

Answer: No. Two::sequences do not specify how many missing zero groups belong in each place.

  1. Does fe80::20 identify a usable destination across an ordinary routed boundary?

Answer: No. Link-local scope does not cross that boundary.

  1. Does/64 mean sixty-four available host addresses?

Answer: No. It identifies the number of prefix bits in this address notation.

Worksheet

Device and interface: Exact observed IPv6 address: Normalized representation if needed: Prefix length: Address scope and observed state: Local zone/interface context used for testing: IPv4 also present: Approved destination and application: Actual family tested and result: Unresolved issue and network owner:

Handover

Keep addresses in a consistent readable format while preserving their exact values and context. Identify documentation examples so no one mistakes them for allocated production settings. Record what was observed and tested, including limitations. The goal is to recognize IPv6 evidence accurately before more advanced configuration or troubleshooting.

Compress A Second Address, Step By Step

Work a harder one than the poster's. Start from the expanded form 2001:0db8:0000:0000:00ab:0000:0000:0001 and count the groups first. There are 8, as there must be.

Strip leading zeros group by group and the row becomes 2001, db8, 0, 0, ab, 0, 0 and 1. Now look for runs of all-zero groups. There are two of them, each 2 groups long, one at the third and fourth positions and one at the sixth and seventh. They are the same length, so the tie is settled by taking the earlier run. Replacing it gives 2001:db8::ab:0:0:1. Check the count by subtraction: 6 groups are written out, and 8 - 6 = 2, which is the length of the run the double colon stands for.

The text 2001:db8:0:0:ab::1 is the same 128-bit value with the other run compressed instead. It also writes 6 groups and also omits 2. A device may well display it that way. It is simply not the canonical form, which is how two records of one address can differ character for character without either being wrong.

The trap sits in the last group. 0001 reduces to 1, not to 0001 kept for tidiness and not to 10. And the fifth group 00ab reduces to ab, where a and b are hexadecimal digits carrying the values 10 and 11, so ab is not a mistyped decimal number.

Subtract The Prefix To See What Is Left

Prefix arithmetic here is subtraction from 128. The supplied /64 leaves 128 - 64 = 64 bits of interface identifier. That is the number worth recording. The count of addresses those 64 bits can express is not a useful planning figure, and nobody allocates against it.

The subtraction that does get used is between two prefix lengths. If a network owner holds a /56 and issues /64 segments from it, the room between them is 64 - 56 = 8 bits, and 2^8 = 256 separate /64 segments. A /48 gives 64 - 48 = 16 bits, and 2^16 = 65536 segments. Those are counts of segments, which is what an equipment network actually consumes, one segment per link rather than one address per device.

Apply it to this lesson's own example. 2001:db8:209:1::/64 is one segment. A /56 written as 2001:db8:209:00::/56 would contain it, because the two differ only in the lower half of the fourth group, and the segment in this lesson is the one whose fourth group is 1. Record the segment you were given and the length you were given, and resist filling in a longer or shorter prefix because it looks more familiar.

The practical failure is a record carrying an address and no prefix length at all. 2001:db8:209:1::20 with nothing written beside it cannot be placed in anyone's segment plan, and the next person has to go back to the device to recover what the device already knew.

Four Digits, Sixteen Bits, And The Ones People Mis-Copy

One hexadecimal digit carries 4 bits, so a group of 4 digits carries 16, and 8 groups of 16 give the 128 bits the poster counts. That relationship is the whole reason a group never holds 5 digits, and why a 5-digit group on a worksheet is a transcription error rather than an unusual address.

Letter case does not change a value. DB8 and db8 are the same group, and a device displaying uppercase is not displaying a different address from one displaying lowercase. Canonical text is lowercase, so normalize when you write the record and note that you normalized.

The characters that get mis-copied are the ones that resemble each other in a small font on a label. The digit 0 and the letter b can be read for one another in some typefaces, 6 and b in others, and the letter d and the digit 0 in a few. Two of the groups in this lesson's example, 0db8 and 00ab, contain exactly those characters. The defence is not care, it is reading back: copy from the device display rather than from the housing where possible, then read your written record against the source one digit at a time.

Two worksheet questions settle whether the observation can be repeated. Does your record say which interface the address belongs to, and does it say whether the value came from the device's own display or from a printed label? Without both, a second technician cannot reproduce what you saw.

Also working toward the electrician journeyman licence? Take the free 15-question readiness check

Texas journeyman, 15 questions, scored by topic against the 70% mark. No card, and no account needed to start.

Free study material for low-voltage apprentices. This is a national foundation course: requirements differ by state and by local jurisdiction, and a practice that is common in one place is not a rule everywhere. Nothing here is a licence, a certification, or authority to work unsupervised, and completing it does not count as apprenticeship hours or continuing-education credit. Check the codes adopted where you are working, the licensing authority for that work, and your employer's safety programme. VoltMark is not affiliated with, endorsed by, or sponsored by NFPA, OSHA, NICET, BICSI, FOA, or any state or local licensing authority.

—
Help