Choose an IPv6 address used on the same link for neighbor discovery and normally not routed by routers.
Which address is link-local?
IPv6 link-local unicast addresses are in fe80::/10 and are scoped to an interface's local link.
Detailed explanation
2001:db8::20Incorrect. 2001:db8 is documentation global-unicast space.
Incorrect. 2001:db8 is documentation global-unicast space.
fe80::20Correct. fe80::20 is in the link-local range.
Correct. fe80::20 is in the link-local range.
ff02::20Incorrect. ff02 is multicast.
Incorrect. ff02 is multicast.
::ffff:192.0.2.20Incorrect. This is an IPv4-mapped IPv6 form.
Incorrect. This is an IPv4-mapped IPv6 form.
Try it yourself
An example you can run in a temporary verification environment.
python3 -c "import ipaddress; print(ipaddress.ip_address('fe80::20').is_link_local)"Expected result
TrueKey points
- fe80::/10
- Same-link scope
- May require scope ID
Notes
- Environment: Python 3 ipaddress
- Command output formatting can vary slightly by distribution or tool version.
- Run the example in a temporary directory or process when possible.
Foundation review
Read the scope first
Check whether the command acts on the current shell, a new process, an existing process, or a file.
Verify the observable result
Use the supplied command and compare the output with the expected result.