Difficulty: Easy
Correct Answer: ping ::1
Explanation:
Introduction / Context:
Loopback addresses provide a way to test the local TCP/IP stack without sending traffic to the network. In IPv6, the loopback address differs from the familiar IPv4 value and is frequently used for troubleshooting and verification.
Given Data / Assumptions:
Concept / Approach:
IPv4 loopback is 127.0.0.1. By contrast, IPv6 loopback is the single address ::1, which is shorthand for 0:0:0:0:0:0:0:1. It represents the local node only and never appears on the wire.
Step-by-Step Solution:
Verification / Alternative check:
Running ping ::1 should immediately return replies if the IPv6 stack is enabled. Tools may use ping6 on some systems, but the target address remains ::1.
Why Other Options Are Wrong:
Common Pitfalls:
Assuming that IPv4 loopback syntax carries over to IPv6. Always remember that IPv6 uses ::1 for loopback and hexadecimal colon-separated notation.
Final Answer:
ping ::1
Discussion & Comments