IT131 · SESSION 09 · FIELD NOTES

IPv6 Addressing & ICMP

Last week Logistics' IPv4 address book turned out to be full. The public pool is gone, and NAT has been patching the gap for twenty years. This week Logistics gets a new address book so large nobody has to ration it, plus the tool it's always used to report trouble: ICMP, the protocol behind ping and traceroute.

New material Module 12 — IPv6 Addressing New material Module 13 — ICMP Checkpoint Module Quiz — IP Addressing (Modules 11–13)

Modules 12 & 13

What Session 9 covers

Two modules and a checkpoint. Module 12 is IPv6 addressing: how to write it, what the address types are, and how devices get one. Module 13 is ICMP: the messages that report problems, and the two tests you'll run for the rest of your career, ping and traceroute.

Topology used on this page The same two routers as Session 7, now running IPv4 and IPv6 at the same time (dual stack). R1's LAN is 192.168.10.0/24 and 2001:db8:acad:1::/64. The R1–R2 link is 10.0.0.0/30 and 2001:db8:acad:ff01::/64. R2's LAN is 192.168.20.0/24 and 2001:db8:acad:2::/64.

Module 12 · 12.1

Why IPv6 exists

IPv4 has about 4.3 billion addresses, and the free pool ran out years ago. Internet growth, the problems NAT causes, and billions of IoT devices all need more. IPv6 has 128-bit addresses: about 340 undecillion (3.4 × 10³⁸).

Three ways IPv4 and IPv6 coexist

The internet can't switch over in one night, so Cisco NetAcad names three migration techniques. The goal is native IPv6 everywhere. The other two are only for where it's needed.

TechniqueHow it worksThink of it as
Dual stackDevices run IPv4 and IPv6 at the same time, each with its own address.Speaking two languages
TunnelingAn IPv6 packet is carried inside an IPv4 packet across an IPv4-only network.A letter mailed inside another envelope
Translation (NAT64)A device translates between IPv6 and IPv4, so an IPv6-only host can reach an IPv4-only one.An interpreter

Module 12 · 12.2

Writing an IPv6 address

128 bits written as eight hextets (16 bits, 4 hex digits each) separated by colons. Hex isn't case-sensitive. Two rules shorten the address.

RuleWhat it doesWatch out
1 · Omit leading zerosDrop zeros at the front of any hextet: 0db8 → db8, 0000 → 0.Never trailing zeros. 0200 becomes 200, not 2.
2 · Double colonReplace one run of consecutive all-zero hextets with ::.Only once per address. Two would make it impossible to tell how many zeros each one hides.
NetAcad's own example 2001:0db8:0000:1111:0000:0000:0000:0200 → rule 1 → 2001:db8:0:1111:0:0:0:200 → rule 2 → 2001:db8:0:1111::200. The single 0 in the 3rd hextet can't join the ::, because it isn't next to the longer run.

Try it: compress or expand any IPv6 address

Module 12 · 12.3

IPv6 address types

Three categories: unicast (one device), multicast (a group), and anycast (one address on several devices, delivered to the nearest). There is no broadcast in IPv6. The all-nodes multicast group, ff02::1, does that job.

TypeRangeWhat it's for
Global unicast (GUA)2000::/3Globally unique and routable on the internet, like a public IPv4 address. Today's GUAs start with a 2 or 3.
Link-local (LLA)fe80::/10Only valid on one link, and never routed. Every IPv6 interface must have one, and a device creates it automatically. Routers use LLAs to talk to their neighbors, and a host's default gateway is normally the router's LLA.
Unique local (ULA)fc00::/7For internal use, somewhat like RFC 1918, but not meant to be hidden behind NAT. Rarely used.
Multicastff00::/8A group of devices. Only ever a destination, never a source.
Loopback::1The device itself, like 127.0.0.1. ping ::1 tests the local IPv6 stack (Module 13).

Structure of a GUA

2001:db8:acad:1::10/64, split into its three parts
2001:0db8:acad:0001:0000:0000:0000:0010 └─── 48 bits ──┘ └16┘ └────── 64 bits ──────┘ Global routing Subnet Interface ID prefix (ISP) ID (the host part)

The ISP assigns the global routing prefix, usually a /48. The 16-bit subnet ID is yours to number, which gives 65,536 subnets. The 64-bit interface ID identifies the device. A /64 is recommended for every LAN, because SLAAC (below) needs a 64-bit interface ID.

Module 12 · 12.4

Static configuration on a router

This builds on Session 7's R1 config: same interfaces, now with IPv6 added alongside IPv4.

RouterInterfaceIPv4IPv6 GUALink-local
R1G0/1 (LAN-A)192.168.10.1/242001:db8:acad:1::1/64fe80::1
R1G0/0 (to R2)10.0.0.1/302001:db8:acad:ff01::1/64fe80::1
R2G0/0 (to R1)10.0.0.2/302001:db8:acad:ff01::2/64fe80::2
R2G0/1 (LAN-B)192.168.20.1/242001:db8:acad:2::1/64fe80::2
R1: add IPv6
R1(config)# ipv6 unicast-routing ! GLOBAL config. Makes R1 an IPv6 router: it forwards IPv6 between ! interfaces, sends Router Advertisements, and joins ff02::2. R1(config)# interface gigabitethernet 0/1 R1(config-if)# ipv6 address 2001:db8:acad:1::1/64 R1(config-if)# ipv6 address fe80::1 link-local R1(config-if)# no shutdown R1(config-if)# exit R1(config)# interface gigabitethernet 0/0 R1(config-if)# ipv6 address 2001:db8:acad:ff01::1/64 R1(config-if)# ipv6 address fe80::1 link-local R1(config-if)# no shutdown R1(config-if)# end ! no shutdown is redundant if Session 7 already enabled these ports, ! but it's harmless and NetAcad always shows it.
The #1 reason "IPv6 doesn't work" in Packet Tracer ip routing is on by default. ipv6 unicast-routing is off by default. Without it, R1's interfaces still take their addresses, but R1 acts like an IPv6 host: it won't forward IPv6, and it won't send Router Advertisements. PCs on LAN-A using SLAAC then get no global address and no default gateway, only their own fe80:: address.
Same fe80::1 on two interfaces? That's legal. A link-local address only has to be unique on its own link, and each interface is a different link. NetAcad says using a different LLA on each interface is common practice, and either choice works. Giving the router an easy LLA like fe80::1 makes it a memorable default gateway.

Verifying

R1# show ipv6 interface brief
R1# show ipv6 interface brief GigabitEthernet0/0 [up/up] FE80::1 2001:DB8:ACAD:FF01::1 GigabitEthernet0/1 [up/up] FE80::1 2001:DB8:ACAD:1::1

The link-local address is listed first, then the GUA. IOS displays addresses in uppercase and compressed. Other interfaces on the router show as [administratively down/down] and unassigned, trimmed here. show ip interface brief doesn't show IPv6 at all.

R1# show ipv6 route (legend shortened)
R1# show ipv6 route IPv6 Routing Table - default - 5 entries Codes: C - Connected, L - Local, S - Static, ... C 2001:DB8:ACAD:1::/64 [0/0] via GigabitEthernet0/1, directly connected L 2001:DB8:ACAD:1::1/128 [0/0] via GigabitEthernet0/1, receive C 2001:DB8:ACAD:FF01::/64 [0/0] via GigabitEthernet0/0, directly connected L 2001:DB8:ACAD:FF01::1/128 [0/0] via GigabitEthernet0/0, receive L FF00::/8 [0/0] via Null0, receive

Module 12 · 12.5 – 12.6

Dynamic addressing: SLAAC and DHCPv6

Hosts usually don't get IPv6 addresses typed in by hand. They ask the router, using two ICMPv6 messages.

MessageDirectionWhat it does
Router Solicitation (RS)Host → all routers (ff02::2)"Is there a router here? Tell me how to get an address." A booting host sends one right away, so it doesn't have to wait.
Router Advertisement (RA)Router → all nodes (ff02::1)Carries the prefix, the prefix length, and which method to use. The router's LLA, the RA's source address, becomes the host's default gateway. Routers send RAs every 200 seconds, and immediately in reply to an RS.

The three methods

MethodHost's GUA comes fromDNS and other infoDefault gateway
1 · SLAAC onlyThe RA's prefix plus an interface ID the host makes itselfThe RARouter's LLA, from the RA
2 · SLAAC + stateless DHCPv6SLAAC, as aboveA stateless DHCPv6 serverRouter's LLA, from the RA
3 · Stateful DHCPv6A stateful DHCPv6 server, which keeps track of who has which addressThe DHCPv6 serverRouter's LLA, still from the RA
The testable nuance Even with stateful DHCPv6, the default gateway always comes from the router's RA. DHCPv6 never provides a gateway. That's a real difference from DHCPv4.
Preview, not on this checkpoint: the RA flags (CCNA 2) The RA signals which method to use with three flags: A (use SLAAC), O (get Other info from stateless DHCPv6), and M (Managed, meaning stateful DHCPv6). The commands that set them, such as ipv6 nd other-config-flag and ipv6 nd managed-config-flag, are CCNA 2 (SRWE Module 8) material. NetAcad only asks you to know the three methods by name and what each provides.

What a SLAAC host shows

PC-A (Windows 10/11, dual stack): ipconfig
C:\> ipconfig Ethernet adapter Ethernet: Connection-specific DNS Suffix . : IPv6 Address. . . . . . . . . . . : 2001:db8:acad:1:3c1a:9b2f:6d4e:8a71 Temporary IPv6 Address. . . . . . : 2001:db8:acad:1:c49d:12e5:77a0:b3f2 Link-local IPv6 Address . . . . . : fe80::a5d0:61c4:2e9b:17f3%12 IPv4 Address. . . . . . . . . . . : 192.168.10.10 Subnet Mask . . . . . . . . . . . : 255.255.255.0 Default Gateway . . . . . . . . . : fe80::1%12 192.168.10.1

The interface ID values above are just examples. Windows generates random interface IDs, which it has done since Vista. Packet Tracer PCs show a simpler format, using EUI-64 interface IDs built from the PC's MAC address.

Duplicate Address Detection (DAD)

Before using a new address, a host checks that nobody else already has it. It sends a Neighbor Solicitation asking for its own address. If a Neighbor Advertisement comes back, someone already owns it. It works like ARPing for your own IP.

Link-local addresses are automatic

Every IPv6 interface creates its own LLA: fe80:: plus an interface ID, either EUI-64 or random. Windows uses the same method it uses for its SLAAC address. A Cisco router creates an EUI-64 LLA automatically the moment an interface gets a GUA, unless you set one with the link-local keyword, as above.

Module 12 · 12.5 – 12.6

EUI-64: an interface ID from a MAC address

A device needs a 64-bit interface ID that nobody else on its link is using. It already has a 48-bit ID that's meant to be unique worldwide: its MAC address. EUI-64 stretches the MAC to 64 bits and flips one bit. It comes down to three moves: split, stuff, flip.

Step 0: read the MAC

The same MAC can be written three ways. Ignore the punctuation and the capitals: it's always 12 hex digits.

Written asExampleWhere you'll see it
Colonsfc:99:47:75:ce:e0Linux, macOS, most textbooks
HyphensFC-99-47-75-CE-E0Windows (ipconfig /all)
Dots, groups of fourfc99.4775.cee0Cisco IOS

All three are fc9947 + 75cee0. On a burned-in MAC, the first half is the OUI, the manufacturer's ID. The second half is a number the manufacturer assigns to that one device. EUI-64 splits exactly there.

The three moves

StepDo thisMAC fc:99:47:75:ce:e0
1Split the MAC in half (OUI | device)fc:99:47 | 75:ce:e0
2Stuff ff:fe into the middle. 48 + 16 = 64 bits.fc:99:47:ff:fe:75:ce:e0
3Flip the 7th bit of the first byte (below)fc → fe
4Regroup into four hextets: that's the interface IDfe99:47ff:fe75:cee0
5Put a 64-bit prefix in frontfe80::fe99:47ff:fe75:cee0
2001:db8:acad:1:fe99:47ff:fe75:cee0

Watch step 4: ff lands at the end of the second hextet and fe at the start of the third (47ff:fe75). They're never a hextet of their own.

Which bit is the 7th?

Only the first byte is touched. Write it in binary and number the bits from the left, starting at 1:

bit 11128
bit 2164
bit 3132
bit 4116
bit 518
bit 614
bit 702
bit 801

fc = 1111 1100. Bit 7 is the 2s place. Flip it and you get 1111 1110 = fe. Because it's the 2s place, flipping it always adds 2 or takes 2 away. Two things follow:

Flip partners: skip the binary

Every hex digit has exactly one partner, two away from it. Find the second digit of the first byte and swap it for its partner.

0↔21↔34↔65↔7 8↔a9↔bc↔ed↔f

The pattern: split the 16 digits into rows of four (0123, 4567, 89ab, cdef). In each row, the 1st swaps with the 3rd and the 2nd with the 4th.

Flip means flip, not "set to 1" Most burned-in MACs have bit 7 = 0, so the flip turns it on. But if it's already 1, the flip turns it off. MAC 06:1a:2b:3c:4d:5e (a locally set MAC, the kind phones randomize): 06 = 0000 0110 → 0000 0100 = 04. The interface ID is 041a:2bff:fe3c:4d5e, and the link-local is fe80::41a:2bff:fe3c:4d5e. With partners: 6 ↔ 4.
Why ff:fe, and why flip? (beyond this course) ff:fe is a fixed filler. It pads 48 bits out to 64, and because it's always the same, it's how you spot an EUI-64 address. The flip is about bit 7 of a MAC, the universal/local (U/L) bit. In a MAC, 0 means "burned in by the manufacturer, globally unique," and 1 means set locally, such as a randomized or virtual-machine MAC. IPv6 reverses that meaning: in an interface ID, 1 means "universal, built from a unique MAC" and 0 means "local." The reason: hand-typed IDs like the ::1 in 2001:db8:acad:1::1 already have that bit at 0, which correctly says "not from a MAC." Without the reversal you'd have to type ::200:0:0:1 instead. This version is sometimes called modified EUI-64.
It checks out on Cisco gear NetAcad's router example uses MAC 7079.b392.3640: split, stuff, and flip 70 → 72 to get FE80::7279:B3FF:FE92:3640.
Heads up: one NetAcad slide gets this wrong NetAcad's Windows EUI-64 ipconfig example shows fe80::fc99:47ff:fe75:cee0, which skips the flip. Its own EUI-64 process slide, using the same MAC, correctly gives fe99…. Trust the process. The correct answer is fe99:47ff:fe75:cee0.

Run it backward: address → MAC

An EUI-64 interface ID always has ff and fe in the middle (xxff:fexx), so you can read the MAC back out. Take fe80::21b:2cff:fe3d:4e5f:

StepDo thisResult
1Write the address out in full (undo :: and put back dropped leading zeros), then take the last four hextets.021b:2cff:fe3d:4e5f
2Find the ff:fe in the middle and take it out02:1b:2c | 3d:4e:5f
3Flip bit 7 back (partners: 2 ↔ 0)00:1b:2c:3d:4e:5f

That's the privacy problem. The MAC goes with the device everywhere, so an EUI-64 GUA carries the same interface ID onto every network and into every packet sent to the internet. The device can be tracked from network to network. It's why Windows uses random interface IDs instead.

Try it: MAC → EUI-64 → addresses

Drill: EUI-64 both ways

Module 12 · 12.7

IPv6 multicast

All multicast addresses sit in ff00::/8. NetAcad covers two kinds: well-known groups, and solicited-node groups.

AddressGroupWho's in it
ff02::1All-nodesEvery IPv6 device on the link. It takes the place of broadcast, and periodic RAs are sent here.
ff02::2All-routersEvery IPv6 router on the link. A router joins once ipv6 unicast-routing is on, and RSs are sent here.

Solicited-node multicast

IPv6 has no ARP broadcast. To find a neighbor's MAC address, a device sends a Neighbor Solicitation to a small multicast group that, in practice, only the target is in. The group is built from the target address: ff02::1:ff followed by the last 24 bits (last 6 hex digits) of that address.

Target addressLast 24 bitsSolicited-node group
2001:db8:acad:1::1000:0010ff02::1:ff00:10
2001:db8:acad:1:fe99:47ff:fe75:cee075:cee0ff02::1:ff75:cee0
fe80::fe99:47ff:fe75:cee075:cee0ff02::1:ff75:cee0 (same group)
2001:db8:acad:1::1 and fe80::100:0001ff02::1:ff00:1
Why bother The NIC can tell from the destination MAC whether a frame is for a group it joined, and it drops everything else in hardware. So a solicited-node message acts like "a broadcast only the probable owner hears." Session 6 compared NDP with ARP. This is the mechanism behind that comparison. DAD uses the same trick, just targeting the host's own address.

Module 12 · 12.8

Subnetting an IPv6 network

IPv6 was designed for subnetting. There's a dedicated subnet ID field, so you never borrow host bits.

Given 2001:db8:acad::/48, the 16-bit subnet ID gives 65,536 /64 subnets. You count up the fourth hextet in hex (:0::, :1::, … :9::, :a::, … :ffff::), and the prefix and interface ID stay untouched. Every LAN and every point-to-point link gets its own /64. The waste doesn't matter: there are 65,536 subnets to spend, a /64 on every link keeps the plan simple, and on LANs it keeps SLAAC working.

Full treatment and practice The Subnetting Field Manual's IPv6 section has the hex-counting table, how to read a subnet out of an address, and an IPv6 subnet-ID drill. Watch the classic trap: subnet ten is :a:, and :10: is sixteen.

Module 13 · 13.1

ICMP messages

IP delivers packets but never says what went wrong. ICMP is how devices report problems and test reachability. ICMPv4 serves IPv4. ICMPv6 serves IPv6 and does much more.

In the OSI Company

ICMP is Logistics' incident desk. When a shipment can't be delivered, it sends back a report saying why: no route to that part of town, the address doesn't exist, or the package ran out of hops. It rides directly inside IP, with no TCP or UDP and no port numbers.

Messages in both ICMPv4 and ICMPv6

MessageWhat it means
Echo Request / Echo Reply"Are you there?" / "Yes." This is ping.
Destination UnreachableA router or host couldn't deliver the packet. A code says why (below).
Time ExceededThe packet's TTL (IPv4) or Hop Limit (IPv6) reached 0, so a router dropped it. This is what traceroute relies on.
CodeICMPv4 Destination UnreachableICMPv6 Destination Unreachable
0Net unreachableNo route to destination
1Host unreachableCommunication administratively prohibited (e.g., a firewall)
2Protocol unreachableBeyond scope of the source address
3Port unreachableAddress unreachable
4(not covered in this course)Port unreachable

ICMPv6-only: Neighbor Discovery

MessageBetweenUsed for
Router Solicitation (RS)Host → routersAsking for an RA
Router Advertisement (RA)Router → hostsPrefix, method, and default gateway (SLAAC)
Neighbor Solicitation (NS)Device → deviceAddress resolution (the IPv6 version of an ARP request), and DAD
Neighbor Advertisement (NA)Device → deviceThe reply to an NS, carrying the MAC address
Don't block all ICMP ICMPv4 is often filtered for security, and that's workable. In IPv6, RS, RA, NS, and NA are ICMPv6. Block ICMPv6 entirely and hosts can't get addresses or find their neighbors.

Module 13 · 13.2

Ping and traceroute

Ping asks "can I reach it?" Traceroute asks "which way does it go, and where does it stop?"

The ping ladder: test from the inside out

StepCommandIf it worksIf it fails
1ping 127.0.0.1
ping ::1
The host's IPv4/IPv6 stack is installed and working.TCP/IP isn't working on the host. This tests nothing on the NIC, cable, or network, because the packet never leaves the host.
2ping 192.168.10.1
(default gateway)
The host, its local network, and the router's interface all work.The problem is between the host and the router. Ping another host on the same LAN to narrow it down.
3ping 192.168.20.10
(remote host)
Routing works in both directions.A routing problem, or the remote side is filtering ICMP. Run traceroute to find where it stops.

On a Cisco router it's common for the first ping to time out while ARP (or ND) resolves the address (you'll see .!!!! below). Windows usually doesn't lose it. One lost reply at the start isn't a fault.

Reading Windows ping output

Success
C:\> ping 192.168.10.1 Pinging 192.168.10.1 with 32 bytes of data: Reply from 192.168.10.1: bytes=32 time<1ms TTL=255 Reply from 192.168.10.1: bytes=32 time<1ms TTL=255 Reply from 192.168.10.1: bytes=32 time<1ms TTL=255 Reply from 192.168.10.1: bytes=32 time<1ms TTL=255 Ping statistics for 192.168.10.1: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
Failure A: silence
C:\> ping 192.168.20.10 Pinging 192.168.20.10 with 32 bytes of data: Request timed out. Request timed out. Request timed out. Request timed out. Ping statistics for 192.168.20.10: Packets: Sent = 4, Received = 0, Lost = 4 (100% loss),
Failure B: an explicit "no"
C:\> ping 192.168.10.50 Pinging 192.168.10.50 with 32 bytes of data: Reply from 192.168.10.10: Destination host unreachable. Reply from 192.168.10.10: Destination host unreachable. Reply from 192.168.10.10: Destination host unreachable. Reply from 192.168.10.10: Destination host unreachable. Ping statistics for 192.168.10.50: Packets: Sent = 4, Received = 4, Lost = 0 (0% loss),
OutputWhat actually happenedCommon causes
Request timed out.Silence. The request went out, and nothing came back in time.The target is off or firewalled (Windows Firewall blocks ping by default), a link is down, or the reply has no route home, like Session 7's one-sided static route.
Reply from your own IP: Destination host unreachable.Your PC never sent the ping. It tried ARP (or ND) and got no answer.The target doesn't exist on your LAN, or, for an off-subnet ping, your default gateway didn't answer ARP.
Reply from a router's IP: Destination host/net unreachable.That router sent back an ICMP Destination Unreachable.Net unreachable: that router has no route to the destination network. Host unreachable: the router reached the destination's network but couldn't deliver to the host (usually its ARP went unanswered). Either way, the "Reply from" address tells you which router gave up.
The 0% loss trap Windows counts "Destination host unreachable" lines as received, so the summary says 0% loss even though nothing was reached. Always read the lines themselves, especially the "Reply from" address.
TTL=255 isn't a hop count The TTL= in a reply is the TTL left in the reply packet. Cisco routers start replies at 255, Windows at 128, and Linux at 64. You can sometimes guess what answered from it, but it doesn't tell you how many hops away the target is.

Ping from a router

IOS ping
R1# ping 192.168.20.10 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 192.168.20.10, timeout is 2 seconds: .!!!! Success rate is 80 percent (4/5), round-trip min/avg/max = 1/1/2 ms R2# ping 172.16.1.1 Type escape sequence to abort. Sending 5, 100-byte ICMP Echos to 172.16.1.1, timeout is 2 seconds: U.U.U Success rate is 0 percent (0/5)
SymbolMeaning
!Echo reply received
.Timed out waiting for a reply
UA router along the path sent back Destination Unreachable

IOS sends 5 echoes, and Windows sends 4. The . at the start of .!!!! is normal: the first packet was dropped while ARP resolved the address. U.U.U alternates because routers rate-limit how often they send unreachables. These IOS symbols are formally taught in Module 17, but you'll see them in labs now.

How traceroute works

  1. 1. Send probes with TTL (or Hop Limit) = 1. The first router drops them and sends back Time Exceeded. That router is hop 1.
  2. 2. Send with TTL = 2. They expire one router further on. That's hop 2.
  3. 3. Keep going until the destination itself replies, or the limit (30 by default) is hit. Three probes are sent per hop, which gives the three time columns.
PC-A traces to PC-B
C:\> tracert 192.168.20.10 Tracing route to 192.168.20.10 over a maximum of 30 hops 1 <1 ms <1 ms <1 ms 192.168.10.1 2 1 ms 1 ms 1 ms 10.0.0.2 3 2 ms 1 ms 1 ms 192.168.20.10 Trace complete.
A hop that doesn't answer, but still forwards
1 <1 ms <1 ms <1 ms 192.168.10.1 2 * * * Request timed out. 3 2 ms 1 ms 1 ms 192.168.20.10 Trace complete.

Watch for this

Common Module 12–13 mistakes

These come up every semester.

Module Quiz — IP Addressing

Checkpoint: Modules 11–13

This week's checkpoint covers Session 8 and this session together. If you can do these cold, you're ready.

Study

Flashcards

Click to flip. Double-click to mark as known.

Check yourself

Sample questions

Pick an answer to see if you're right. Same style as the module quiz.

Applied

Worked examples

Think it through before you expand the answer.

Compression

Shorten it as far as the rules allow

2001:0db8:0000:0000:00a0:0000:0000:0001

Show answer

Rule 1 gives 2001:db8:0:0:a0:0:0:1. There are two runs of two zero hextets, and :: can replace only one of them. By convention, use it on the first (leftmost) run of equal length: 2001:db8::a0:0:0:1. Note that a0 keeps its trailing zero.

EUI-64

Build the link-local address

A router interface has MAC 00:1b:2c:3d:4e:5f and no static LLA. What link-local address does IOS create?

Show answer

Split: 00:1b:2c | 3d:4e:5f. Insert ff:fe: 00:1b:2c:ff:fe:3d:4e:5f. Flip the 7th bit: 00 → 02. The interface ID is 021b:2cff:fe3d:4e5f, so the LLA is fe80::21b:2cff:fe3d:4e5f. The leading zero of 021b drops under rule 1.

SLAAC

No global address on the PCs

R1's G0/1 has 2001:db8:acad:1::1/64 and is up/up. PCs on that LAN are set to get IPv6 automatically, but ipconfig shows only an fe80:: address and no IPv6 default gateway. What's missing?

Show answer

ipv6 unicast-routing in global config. Without it, R1 doesn't send Router Advertisements, so the PCs never learn the prefix or the gateway. They only have the link-local address they create for themselves.

Ping

Which failure is which?

PC-A (192.168.10.10) has its default gateway set to 192.168.10.254, but the router is actually .1. PC-A pings 192.168.20.10. What output do you expect, and why?

Show answer

Reply from 192.168.10.10: Destination host unreachable., repeated. The target is off-subnet, so PC-A ARPs for its gateway, .254. Nothing answers, so the PC never sends the ping and reports the failure itself, from its own address. The summary will even say 0% loss.

Traceroute

Where did it stop?

tracert 192.168.20.10 from PC-A shows hop 1 192.168.10.1, then * * * Request timed out. on every hop up to 30. PC-A can ping its gateway. Where should you look?

Show answer

Look at R2 first, especially its route back to 192.168.10.0/24. R1 answered hop 1, so the LAN and R1 are fine. R1 also has a working route onward: with no route, or with the R1–R2 link down (its static route via 10.0.0.2 would drop out of the table), R1 would answer with Destination net unreachable from 192.168.10.1 instead of staying silent. Silence at hop 2 usually means R2 receives the probes but can't send its Time Exceeded replies home. That's Session 7's one-sided static route. A router set not to answer would be the other explanation, but then later hops would still answer.

Solicited-node

Which group does the NS go to?

R2 needs PC-B's MAC. PC-B's address is 2001:db8:acad:2::a:b5. What's the destination of R2's Neighbor Solicitation?

Show answer

Expand the last two hextets: 000a:00b5. The last 24 bits are 0a:00b5. The group is ff02::1:ff0a:b5. It's built from the target (PC-B), not from R2.

Reference

Glossary & index

Every term from this session, searchable and indexed A–Z.