IPv6 Neighbor Discovery: Router and Neighbor Messages, NUD and ND Options
How IPv6 hosts find routers, prefixes and neighbors with ICMPv6: router and neighbor solicitations and advertisements, duplicate address detection, unreachability detection, ND options, ICMP translation between IPv4 and IPv6, and ICMP attacks, each shown in a lab.
kvi5hnuCode Sprout team member22 min readOn this page
IPv4 spreads the job of finding things on the local link across several protocols: ARP for link-layer addresses (article 21), DHCP or manual configuration for the default router, and ICMP redirects for better routes. IPv6 brings all of this together in Neighbor Discovery (ND), defined in RFC 4861 and carried entirely in ICMPv6. ND lets nodes on the same link:
- find routers and the prefixes in use on the link;
- learn their link-layer addresses;
- check that a neighbor is still reachable;
- detect duplicate addresses;
- learn about better first-hop routers through redirects.
ND also supports stateless address autoconfiguration (SLAAC, article 32).
Unlike ARP, ND uses no broadcasts, since IPv6 has none. It uses IPv6 multicast, which maps to Ethernet multicast (article 43). Because it runs over IPv6, it doesn't depend on the link layer, and it can use IPv6 features such as IPsec (the IP-layer protocols that authenticate and encrypt packets) or its own SEND extension, described below, for security.
Before ND: ICMPv4 router discovery
IPv4 has its own, little-used version of router discovery (RFC 1256). Routers multicast ICMPv4 Router Advertisements (type 9) to 224.0.0.1, and hosts can send Router Solicitations (type 10) to 224.0.0.2. DHCP won almost everywhere, so you'll rarely see these on an IPv4 network today, though Mobile IPv4 uses them for agent discovery.
Several other ICMPv6 informational messages serve Mobile IPv6 (RFC 6275), which lets a device keep a permanent "home" address while it moves between networks:
- Home Agent Address Discovery request and reply (types 144 and 145), which a mobile node uses to find a home agent on its home network;
- Mobile Prefix Solicitation and Advertisement (types 146 and 147), which keep a roaming node informed about prefix changes at home;
- fast handover messages (type 154, RFC 5568).
Mobile IPv6 sees little deployment, so these are mostly of historical interest.
The five ND messages

Every ND message is sent with a hop limit of 255, and receivers discard ND messages that arrive with any other value. A router forwarding the packet would have decremented it, so 255 proves the sender is on the same link. A remote attacker can't forge neighbor discovery from across the Internet. The lab below shows this check at work.
The lab is one Ethernet segment (a Linux bridge) with:
- a router
rt(link-localfe80::ff:fe00:1) runningradvd, the usual Linux router-advertisement daemon; - two hosts,
h1andh2; - a fourth machine,
evil, for the attacks at the end.
Router Solicitation and Router Advertisement
Routers send Router Advertisements (RAs) periodically to the all-nodes address ff02::1, every 30 to 60 seconds in the lab's configuration. A host that has just started doesn't want to wait that long, so it sends a Router Solicitation (RS) to the all-routers address ff02::2, and routers answer right away.
The rdisc6 tool sends an RS and decodes the answer:
Hop limit : 64 ( 0x40)
Stateful address conf. : No
Stateful other conf. : No
Mobile home agent : No
Router preference : medium
Neighbor discovery proxy : No
Router lifetime : 180 (0x000000b4) seconds
Reachable time : unspecified (0x00000000)
Retransmit time : unspecified (0x00000000)
Prefix : 2001:db8:1::/64
On-link : Yes
Autonomous address conf.: Yes
Valid time : 86400 (0x00015180) seconds
Pref. time : 14400 (0x00003840) seconds
Route : 2001:db8:99::/48
Route preference : high
Route lifetime : 180 (0x000000b4) seconds
Recursive DNS server : 2001:db8:1::53
DNS server lifetime : 600 (0x00000258) seconds
DNS search list : example.com
DNS search list lifetime: 180 (0x000000b4) seconds
MTU : 1500 bytes (valid)
Source link-layer address: 02:00:00:00:00:01
from fe80::ff:fe00:1
The RA's fixed fields:
- Hop limit: the default hop limit hosts should use for their own packets, 64 here. Zero would mean "no recommendation".
- Flags:
- M ("managed") says addresses are available from DHCPv6.
- O ("other") says other configuration, such as DNS servers, is available from DHCPv6 (article 31).
- H means the router is a Mobile IPv6 home agent.
- Prf is the router's default router preference, high, medium or low (RFC 4191), which hosts use to choose between several routers.
- P is used by ND proxies.
- Router lifetime: how long, in seconds, the router may be used as a default router. 180 here, three times the maximum advertisement interval. A lifetime of 0 means "I'm a router, but don't use me as your default", which is useful for routers that only serve specific prefixes.
- Reachable time and retransmit time: values for neighbor unreachability detection, explained below. "Unspecified" means hosts keep their defaults.
The rest is options:
- Prefix Information carries the link's prefix
2001:db8:1::/64, with these flags and lifetimes:- on-link (L): addresses in the prefix are reachable directly;
- autonomous (A): hosts may form addresses from it with SLAAC;
- a valid lifetime and a preferred lifetime.
- A newer P flag (RFC 9762) asks hosts to request a delegated prefix with DHCPv6 instead.
- Route Information (RFC 4191) advertises a more specific route through this router, here
2001:db8:99::/48with high preference. - RDNSS and DNSSL (RFC 8106) give DNS servers and search domains, so hosts can configure DNS without DHCPv6.
- MTU tells hosts the link MTU, which is useful on links where it isn't the default.
- Source Link-Layer Address gives the router's MAC address, so hosts don't need a separate neighbor solicitation to reach it.
The capture shows how the messages were addressed:
Router Solicitation fe80::ff:fe00:10 -> ff02::2 hop limit 255
Router Advertisement fe80::ff:fe00:1 -> ff02::1 hop limit 255
Both have hop limit 255, and both come from link-local addresses. Routers always use their link-local address in RAs, so hosts' default routes point to link-local addresses. That address stays the same even if the network is renumbered. The result on h1:
inet6 2001:db8:1::ff:fe00:10/64 scope global dynamic mngtmpaddr proto kernel_ra
inet6 fe80::ff:fe00:10/64 scope link proto kernel_ll
default via fe80::ff:fe00:1 dev eth0 metric 1024 expires 171sec hoplimit 64 pref medium
h1formed2001:db8:1::ff:fe00:10from the prefix and its interface identifier. It's markeddynamic, because it has lifetimes.scope globalmeans it's usable anywhere andscope linkonly on this link;mngtmpaddrmeans temporary addresses may be made from it, andproto kernel_rathat it came from an RA.- It installed a default route via
fe80::ff:fe00:1, with an expiry from the router lifetime. - It did not install the more specific route from the Route Information option, which is why only the default route appears. Linux ignores Route Information unless
accept_ra_rt_info_max_plenis raised above the route's prefix length (its default, 0, ignores them all), and this lab's kernel was built without that feature. Some other systems, Windows among them, accept these routes by default.
Neighbor Solicitation and Neighbor Advertisement
Neighbor Solicitation (NS) and Neighbor Advertisement (NA) replace ARP. To find the link-layer address for an IPv6 address, a node sends an NS containing the target address. It doesn't broadcast it. It sends it to the target's solicited-node multicast address: ff02::1:ff followed by the last 24 bits of the target address. For h2's address 2001:db8:1::ff:fe00:20, the last 24 bits are 00 00 20 (the end of fe00:0020), so its solicited-node address is ff02::1:ff00:20. Only hosts whose addresses end in those 24 bits listen there, which is usually just the target, so other hosts' network cards filter the frame out in hardware (article 43).
The lab cleared h1's neighbor cache and pinged h2:
IPv6 2001:db8:1::ff:fe00:10, Dst: ff02::1:ff00:20
Hop Limit: 255
Type: Neighbor Solicitation (135)
Target Address: 2001:db8:1::ff:fe00:20
Link-layer address: 02:00:00:00:00:10 (02:00:00:00:00:10)
IPv6 2001:db8:1::ff:fe00:20, Dst: 2001:db8:1::ff:fe00:10
Hop Limit: 255
Type: Neighbor Advertisement (136)
Flags: 0x60000000, Solicited, Override
0... .... .... .... .... .... .... .... = Router: Not set
.1.. .... .... .... .... .... .... .... = Solicited: Set
..1. .... .... .... .... .... .... .... = Override: Set
Target Address: 2001:db8:1::ff:fe00:20
- The NS went from
h1toff02::1:ff00:20, the solicited-node address for...ff:fe00:20. It includedh1's own link-layer address (the Source Link-Layer Address option), soh2can answer without asking in turn. - The NA went straight back to
h1, with the Target Link-Layer Address option and three flags, the top three bits of the flags word (0x60000000is binary0110followed by zeros, so R is clear and S and O are set):- R (router) is set by routers, so hosts notice if a router stops being one.
- S (solicited) says this answers an NS. That's what confirms two-way reachability.
- O (override) says the information should replace any cached entry. It's clear for anycast addresses and for proxies, so they don't take over a real owner's entry.
The ndisc6 tool does the same lookup and prints the result:
Target link-layer address: 02:00:00:00:00:20
from 2001:db8:1::ff:fe00:20
An NA can also be sent unsolicited, to ff02::1, when a node's link-layer address changes or it gains a new address, much like gratuitous ARP. RFC 9131 recommends that hosts send one when they configure a new address, and lets routers create neighbor cache entries from them, so the first packets to a newly arrived host aren't delayed or lost.
Inverse Neighbor Discovery (RFC 3122, types 141 and 142) works the other way, finding IPv6 addresses for a known link-layer address. It's used on a few kinds of links, such as Frame Relay, and is rarely seen.
Duplicate address detection
Before using a new address, a node checks that no one else has it, with duplicate address detection (DAD) (article 32). It sends an NS for its own tentative address, from the unspecified address ::, so that it doesn't claim the address yet. If anyone answers, the address is a duplicate. In the lab, h1 was given 2001:db8:1::77 first, then h2 tried to configure the same address:
inet6 2001:db8:1::77/64 scope global dadfailed tentative
Neighbor Solicitation from :: to ff02::1:ff00:77
Neighbor Advertisement from 2001:db8:1::77 to ff02::1
h2 marked the address dadfailed and never used it. The capture shows h2's NS from :: to the solicited-node address, and h1's defending NA. It went to ff02::1, because the solicitation came from :: and there was no address to reply to.
Neighbor unreachability detection
The neighbor cache holds IPv6-to-link-layer mappings, like the ARP cache, but each entry also has a reachability state. Neighbor unreachability detection (NUD) keeps those states up to date. Whenever there's evidence that the neighbor is receiving packets, the entry is marked REACHABLE. The evidence can be a solicited NA or progress at a higher layer, such as TCP acknowledgments for new data. When the evidence gets old, the entry is checked before it's trusted again.
The lab shortened h1's reachable time to 4 seconds, pinged h2, and then watched h1's entry for h2. At 12 seconds, h2's interface went down, and at 13 seconds h1 tried to send it a packet:
t= 0.0s REACHABLE
t= 5.8s STALE
t= 12.1s -- h2's interface goes down
t= 13.0s -- h1 sends a packet to h2
t= 13.1s DELAY
t= 15.1s PROBE
t= 18.2s FAILED

The states:
- INCOMPLETE: address resolution is in progress (an NS was sent to the solicited-node address).
- REACHABLE: confirmed recently, within the reachable time. The default reachable time is about 30 seconds, randomized between half and one and a half times the base value so that neighbors don't all probe at once.
- STALE: the confirmation has expired, but the entry is still used, without delay. Nothing is sent just because an entry is stale.
- DELAY: a packet was sent using a stale entry. The node waits a few seconds (5 by default, 2 in the lab) for upper-layer confirmation, such as a TCP ACK, before probing.
- PROBE: unicast NS messages are sent to the neighbor's cached address, one per retransmit time (1 second), up to 3 times.
- FAILED (Linux's name for deleting the entry): no answer. Packets queued for that neighbor are dropped with an "address unreachable" error, and a new attempt starts again from INCOMPLETE.
The timings in the lab follow exactly: STALE about 4–6 seconds after the confirmation (the randomized reachable time), DELAY when the packet was sent, PROBE 2 seconds later, and FAILED after three probes. NUD is also what lets IPv6 hosts notice a dead router and switch to another default router, something ARP has no mechanism for.
ND options
ND messages carry options in type-length-value format, with the length in units of 8 bytes. The common ones:
| Type | Option | Used in | Purpose |
|---|---|---|---|
| 1 | Source Link-Layer Address | RS, RA, NS | Sender's MAC address |
| 2 | Target Link-Layer Address | NA, Redirect | Target's MAC address |
| 3 | Prefix Information | RA | On-link and SLAAC prefixes, lifetimes, flags |
| 4 | Redirected Header | Redirect | Start of the packet that caused the redirect |
| 5 | MTU | RA | Link MTU |
| 14 | Nonce | NS, NA | Matches DAD probes to their own loopbacks, and SEND |
| 24 | Route Information | RA | More-specific routes with preference (RFC 4191) |
| 25 | RDNSS | RA | DNS servers (RFC 8106) |
| 31 | DNSSL | RA | DNS search list (RFC 8106) |
| 37 | Captive Portal | RA | URL of a captive portal's API (RFC 8910) |
| 38 | PREF64 | RA | NAT64 prefix (RFC 8781, article 38) |
Other assigned options serve Mobile IPv6 (advertisement interval, home agent information), SEND (certificates, signatures, timestamps), and various proposals that never caught on. The registry is maintained by IANA. Receivers must silently skip options they don't recognize, which is how new options can be added safely.
Secure Neighbor Discovery
ND trusts everyone on the link, so anyone there can forge messages. SEND (RFC 3971) secures ND with cryptographically generated addresses (CGAs, RFC 3972). The interface identifier is derived from a hash of the node's public key, so a node can prove it owns its address by signing its ND messages. Routers carry certificates, which hosts verify with Certification Path Solicitation and Advertisement messages (types 148 and 149). SEND works, but it's complex, needs key management, and is supported by few operating systems. In practice, networks protect ND with switch features such as RA Guard (RFC 6105), which drops RAs on ports where no router should be, and ND snooping, where the switch learns which address lives on which port and drops ND messages that contradict it.
Translating ICMP between IPv4 and IPv6
An IPv4/IPv6 translator (article 38) must also translate ICMP, because errors from one side must be understood on the other. RFC 7915 maps the types:
- Echo Request and Reply (8/0 ↔ 128/129) translate directly.
- Time Exceeded (11 ↔ 3) translates directly.
- Destination Unreachable codes map approximately. For example, ICMPv4 port unreachable (3/3) becomes ICMPv6 port unreachable (1/4), and the "prohibited" codes become ICMPv6 administratively prohibited (1/1).
- ICMPv4 fragmentation needed (3/4) becomes ICMPv6 Packet Too Big (type 2), and the MTU is adjusted by 20, the difference in header sizes.
- Parameter Problem translates with the pointer adjusted to the corresponding field, where one exists.
- Types with no counterpart are dropped silently. These include ICMPv4 Redirect, Source Quench, Timestamp and Router Discovery, and ICMPv6's neighbor discovery and MLD messages, which are link-local and never cross a translator anyway.
- The copy of the original packet inside an error is translated too, so the receiver can match it to its own connection, and checksums are recomputed.
The lab used the NAT64 from article 38 again. A traceroute from the IPv6-only client to the IPv4 server's synthesized address shows translated Time Exceeded messages:
traceroute to 2001:db8:64::cb00:710a (2001:db8:64::cb00:710a), 30 hops max, 80 byte packets
1 2001:db8:6::1 0.040 ms
2 2001:db8:64::a40:1 0.109 ms
3 2001:db8:64::cb00:7101 0.403 ms
4 2001:db8:64::cb00:710a 0.401 ms
- Hop 1 is the translator's IPv6 interface.
- Hop 2,
2001:db8:64::a40:1, is the translator's own IPv4 address 10.64.0.1 embedded in the prefix. - Hop 3,
2001:db8:64::cb00:7101, is the NAT64 host's IPv4 stack (203.0.113.1). It sent an ICMPv4 Time Exceeded, which was translated into ICMPv6, with its IPv4 source turned into an IPv6 address.
Then the IPv4 side's MTU was set to 1400, and the client sent a packet too big for it:
From 2001:db8:64::cb00:7101 icmp_seq=1 Packet too big: mtu=1420
ICMPv4 fragmentation needed 203.0.113.1 -> 10.64.0.252 MTU 1400
ICMPv6 Packet Too Big 2001:db8:64::cb00:7101 -> 2001:db8:6::10 MTU 1420
The IPv4 router (the NAT64 host itself) sent "fragmentation needed, MTU 1400" to the pool address 10.64.0.252. The translator turned it into an ICMPv6 Packet Too Big for the client with an MTU of 1420. An IPv6 packet of 1420 bytes becomes a 1400-byte IPv4 packet after its 40-byte header is replaced by a 20-byte one. That's exactly the adjustment RFC 7915 specifies.
Attacks involving ICMP
ICMP's role in controlling hosts and routers has made it a favorite tool for attackers. The attacks fall into three groups.
Floods and amplification. The smurf attack sent echo requests to a network's broadcast address with the victim's address forged as the source, so every host on that network replied to the victim. Routers now drop directed broadcasts (packets sent to a remote subnet's broadcast address) by default (RFC 2644), and hosts ignore broadcast pings, as Linux does by default. ICMP rate limits (article 39) also blunt floods of errors.
Malformed packets that crash systems. These were common in the 1990s:
- The ping of death sent fragments that reassembled into an IPv4 datagram larger than 65,535 bytes.
- Teardrop sent overlapping fragment offsets.
- The land attack sent packets whose source and destination were both the victim.
Modern stacks are immune, but the same classes of bugs still appear occasionally in new code, including IPv6 extension header and ND parsing.
Misdirection and information leaks.
- Forged redirects can send a host's traffic through an attacker on the same link (article 40).
- Forged Destination Unreachable messages could once reset established TCP connections. RFC 5927 describes the defenses: checking that the quoted sequence numbers are plausible, and not aborting connections on "soft" errors, ones such as host unreachable that may be temporary.
- Timestamp replies reveal a host's clock.
- ICMP has also been used as a covert channel, for tunneling data or command-and-control traffic inside echo payloads.
IPv6's ND adds its own attacks on the local link: forged NAs, rogue RAs, DAD denial (answering every DAD probe so a host can never get an address), and neighbor cache exhaustion. In the last, scanning a /64 makes a router create vast numbers of INCOMPLETE entries (RFC 6583). The hop-limit-255 rule keeps all of these local, but on the local link they work. The lab demonstrated two.
Lab: forged Neighbor Advertisements
evil sent h1 an unsolicited NA claiming that h2's address belongs to evil's MAC address, first with hop limit 64, then with 255:
2001:db8:1::ff:fe00:20 lladdr 02:00:00:00:00:20 REACHABLE
forged NA with hop limit 64: 2001:db8:1::ff:fe00:20 lladdr 02:00:00:00:00:20 REACHABLE
forged NA with hop limit 255: 2001:db8:1::ff:fe00:20 lladdr 02:00:00:00:00:66 STALE
The forgery with hop limit 64 was ignored, because ND messages must arrive with 255. The one with 255 was accepted, and h1 would now send h2's traffic to evil. This is the IPv6 equivalent of ARP spoofing (article 22). The hop limit check only stops attackers who aren't on the link.
Lab: a rogue Router Advertisement
evil sent one Router Advertisement with high router preference and a prefix of its own:
default via fe80::ff:fe00:1 dev eth0 metric 1024 expires 165sec hoplimit 64 pref medium
evil sent a Router Advertisement: high preference, prefix 2001:db8:bad::/64
default via fe80::ff:fe00:1 dev eth0 metric 1024 expires 164sec hoplimit 64 pref medium
default via fe80::66 dev eth0 metric 1024 expires 1798sec pref high
inet6 2001:db8:bad::ff:fe00:10/64 scope global dynamic mngtmpaddr proto kernel_ra
h1 immediately added evil (fe80::66) as a second default router, preferred over the real one because of its high preference, and configured an address in the rogue prefix. All of h1's IPv6 traffic now goes through evil. The same thing happens accidentally when someone connects a misconfigured device, such as a laptop sharing its connection, which is why RFC 6104 describes the "rogue RA" problem. The defense is RA Guard on switches (RFC 6105, strengthened by RFC 7113 to resist evasion with extension headers): switch ports facing hosts drop RAs.
Common questions
Is there an IPv6 equivalent of ARP?
Neighbor Solicitation and Neighbor Advertisement do ARP's job. They're ICMPv6 messages, sent to a solicited-node multicast address instead of broadcast, and they also carry reachability information used by NUD.
Why does my IPv6 default route point to a fe80:: address?
Routers send Router Advertisements from their link-local addresses, and hosts use that address as the next hop. Link-local addresses don't change when the network is renumbered, and they always work on the link. The route also names the interface, because link-local addresses are only unique per link.
What's the difference between STALE and REACHABLE in ip -6 neigh?
REACHABLE means reachability was confirmed within the reachable time. STALE means that confirmation has aged, but the entry is still used. When a packet is sent to a STALE entry, it moves to DELAY and then PROBE if no confirmation arrives. Lots of STALE entries are normal and don't indicate a problem.
Why does a host send an NS from ::?
During duplicate address detection, the host doesn't yet own the address it's checking, so it can't use it as a source. It uses the unspecified address, and anyone defending the address replies to all nodes (ff02::1), since there's no address to reply to.
Can I get DNS servers without DHCPv6?
Yes. The RDNSS and DNSSL options in Router Advertisements (RFC 8106) provide DNS servers and search domains, and most operating systems support them, including Android, which doesn't assign itself addresses with stateful DHCPv6 at all. (Since a Google Play system update in late 2025, Android can instead ask for a delegated prefix with DHCPv6 prefix delegation when a router sets the RA's P flag, RFC 9762, but it still learns DNS servers from RDNSS.)
How do I protect a network against rogue RAs?
Enable RA Guard (or "IPv6 first-hop security") on switch ports that connect hosts, so only router ports may send RAs. On hosts, you can turn off accept_ra on interfaces that should use static configuration. Monitoring tools such as ndpmon can alert on unexpected RAs.
Summary
- Neighbor discovery (RFC 4861) handles, in ICMPv6:
- router and prefix discovery, with RS (133) and RA (134);
- address resolution and reachability, with NS (135) and NA (136);
- redirects (137);
- duplicate address detection.
- It uses multicast, not broadcast, and every message has hop limit 255 so it can't come from off the link.
- RAs come from routers' link-local addresses and carry:
- the default hop limit, the M, O and preference flags, and the router lifetime;
- options for prefixes, more-specific routes, DNS servers, MTU, the router's MAC address and the NAT64 prefix.
- NS goes to the target's solicited-node address
ff02::1:ffXX:XXXX. NA answers with the link-layer address and the R, S and O flags. Unsolicited NAs announce changes. - DAD sends an NS from
::for a tentative address. A defending NA makes it fail, as the lab showed. - NUD moves neighbor entries through INCOMPLETE, REACHABLE, STALE, DELAY, PROBE and FAILED. The lab measured each transition.
- SEND and CGAs can secure ND but are rarely deployed. RA Guard and ND snooping on switches are the practical defenses.
- Translators map ICMP types between versions and adjust Packet Too Big MTUs by 20 bytes, as the NAT64 lab showed with 1400 becoming 1420.
- ICMP attacks include floods (smurf), malformed packets (ping of death, teardrop) and misdirection (redirects, forged NAs, rogue RAs). The lab's forged NA and rogue RA worked from on the link, and a forged NA with the wrong hop limit was ignored.
Practice questions
1. What is the solicited-node multicast address for 2001:db8:1::ab:cdef:1234?
Answer
Take the last 24 bits of the address, ef:1234 (the address ends in ...cdef:1234, and the low 24 bits are ef 12 34), and append them to ff02::1:ff00:0/104. The result is ff02::1:ffef:1234.
2. A host receives a Router Advertisement with router lifetime 0 and a Prefix Information option with the A flag set. What does it do?
Answer
It forms an address from the prefix with SLAAC, because the A flag allows that, and it treats the prefix as on-link if the L flag is set. But it doesn't use the router as a default router, because a lifetime of 0 means the router doesn't want to be a default router. It may still use routes learned from Route Information options, which have their own lifetimes.
3. An attacker on the Internet sends a forged Neighbor Advertisement to a host, claiming to own its default router's address. Why does it fail?
Answer
The NA must cross at least one router to reach the host, and each router decrements the hop limit, so it can't arrive with 255. The host discards ND messages with any other hop limit. Only someone on the same link can forge ND messages.
4. In the NUD lab, h1's entry for h2 was STALE when h2 went down, and h1 didn't notice until it sent a packet. Why doesn't NUD probe STALE entries on its own?
Answer
Probing every stale entry would create a lot of traffic for neighbors that nobody is talking to. NUD only checks a neighbor when it's actually being used: sending a packet moves the entry to DELAY and then PROBE. Upper-layer confirmations, such as TCP acknowledgments, avoid probes entirely for active connections.
5. A NAT64 receives ICMPv4 "fragmentation needed" with MTU 1300 for an IPv4 packet it translated from IPv6. What MTU does it put in the ICMPv6 Packet Too Big it sends?
Answer
- The IPv6 header is 40 bytes and the IPv4 header 20, so an IPv6 packet of 1320 bytes becomes an IPv4 packet of 1300 bytes. The translator adds 20 to the MTU, while also respecting IPv6's minimum of 1280.
6. A laptop on an office network starts sharing its connection and sends Router Advertisements. What happens to other hosts, and what prevents it?
Answer
Hosts that accept RAs add the laptop as a default router, and if it advertises a high preference or the real router has a low one, they may send their traffic to it. They may also configure addresses from its prefix. Traffic may then go to the laptop, which may not forward it properly. RA Guard on the switch ports where hosts connect drops RAs from those ports and prevents this.
Previous: ping and traceroute: How They Work and How to Read Them
Next: Broadcasting and Multicasting: Mapping to MAC Addresses, Sending and Receiving

More in TCP/IP Course
Quiz: TCP/IP Delicate Details
Twenty-five questions on the details that catch out experienced engineers: sequence numbers for SYN and FIN, TIME_WAIT versus tcp_fin_timeout, Karn's algorithm, socket buffer doubling, even and odd ephemeral ports, IPv6 checksums and fragmentation, negative DNS caching, and capture filter traps.
Quiz: TCP/IP Interview Questions
Thirty-three networking questions of the kind asked in developer, SRE and network engineering interviews: what happens when you load a URL, TCP versus UDP, handshakes, closing and TIME_WAIT, subnetting, NAT, DNS, MTU problems, congestion, TLS and QUIC, and debugging slow or failing connections.
Quiz: TCP/IP Course Final Exam (All Parts)
The final exam for the TCP/IP course: thirty questions across all fourteen parts, from packets and addressing through Ethernet, ARP, IP, DHCP, NAT, ICMP, UDP, DNS, TCP connections, reliability, congestion control, security, QUIC and troubleshooting.
Quiz: Modern Transports and Troubleshooting (TCP/IP Part 14)
Review modern transports and troubleshooting: QUIC packets, handshakes, 0-RTT, streams and connection migration, HTTP/3, Multipath TCP, SCTP multihoming, and a layered method for diagnosing real network faults.
Discussion
Sign in to ask a question or share what you learned.