NTC/362: Fundamentals of Networking
- Get link
- X
- Other Apps
NTC/362: Fundamentals of Networking
Q: Which of the following answers are valid abbreviations of address 2000:0001:0002:0003:0000:0000:1110:2200?
Each correct answer represents a complete solution. Choose all that apply.
A: 2000:1:2:3:0:0:1110:2200, 2000:1:2:3::1110:2200
Explanation: IPv6 addresses can be abbreviated as follows:
- Leading 0s inside one quartet (one set of hex digits between colons): Remove the leading 0s.
- A single quartet of 0s’ (0000): Abbreviate as a single 0.
- Multiple consecutive quartets of all 0’s: Abbreviate as a double colon (::).
In this case, two consecutive quartets of all 0’s exist, so those two quartets can be abbreviated as ::. Several quartets have trailing 0’s, which cannot be removed. The two correct answers, which show correct abbreviations, abbreviate the two consecutive all 0 quartets in two ways. One uses the optimal choice of ::, while the other uses a single 0 for each quartet.
Answers C and B are incorrect. The two incorrect answers are invalid abbreviations because they have removed trailing 0s inside a quartet, which is not allowed. One incorrect answer removes trailing 0s in the first quartet, and the other incorrect answer removes trailing 0s from the 7th quartet.
- Get link
- X
- Other Apps
Comments
Post a Comment