Skip to content
LearningPathX
Learning PathsFree TestsExam InfoHow it worksNews
Sign inChoose a certification
  1. Home/
  2. Certifications/
  3. 200-301/
  4. 200-301 Learning Path/
  5. Study FAQs/
  6. How do I compare IPv6 prefixes when the addresses use double-colon compression?

Study FAQ

How do I compare IPv6 prefixes when the addresses use double-colon compression?

Exam · 200-301Knowledge domain · Network FundamentalsUpdated Nov 25, 2026
Also asked as 2
  • How do I tell whether compressed IPv6 addresses share a prefix?
  • How does expanding compressed IPv6 notation help identify the network prefix?

Answer

Expand each IPv6 address to eight groups of four hexadecimal digits, then compare the number of leading bits given by the prefix length. A double colon replaces one continuous run of zero groups and may appear only once per address. Leading zeros within each group are also optional.

For example, 2001:db8:10:20::5/64 expands to 2001:0db8:0010:0020:0000:0000:0000:0005/64. A /64 covers the first four complete groups, so the network prefix is 2001:db8:10:20::/64. The address 2001:db8:10:21::5 is outside that prefix. If a prefix cuts through a hexadecimal digit, compare only the leading bits of that digit that fall inside the prefix. On many IPv6 LANs, /64 is used for Stateless Address Autoconfiguration (SLAAC). Use the actual configured prefix when verifying a link.

References

  • RFC 4291 on IPv6 addressing
  • Cisco Catalyst 9300 IOS XE 17.15.x IPv6 guide

Full explanation

IPv6 Addressing, Prefixes, and Address Types

Study guide · 200-301

Read the full explanation →
← Back to 200-301 FAQsView learning path →

Related questions

How do two-tier and three-tier campus networks compare with spine-leaf fabrics? →How do I choose between copper, multimode fiber, and single-mode fiber for Ethernet? →What should I check when an Ethernet link is up but CRC errors keep increasing? →How do I calculate the network, broadcast, and usable hosts from an IPv4 prefix? →How do IPv6 global unicast, unique local, link-local, multicast, and anycast addresses differ? →How does an Ethernet switch learn MAC addresses and forward unknown unicasts? →
LearningPathX

A focused path to certification, one clear step at a time.

© 2026 LearningPathX. All rights reserved.

Product

CertificationsLearning PathsFree TestsHow it worksNews

Company

SubscriptionHelp centerContact usPrivacyTerms

Follow us

Your privacy choices

We use analytics cookies to understand how LearningPathX is used and improve your learning experience. Analytics will only start after you accept.