Configuring Router Interfaces for IPv6 Address Compression | Cisco Exam 200-301

Configure Router Interface for IPv6 Address Compression

Question

A network engineer must configure the router R1 GigabitEthernet1/1 interface to connect to the router R2 GigabitEthernet1/1 interface. For the configuration to be applied, the engineer must compress the address 2001:0db8:0000:0000:0500:000a:400F:583B. Which command must be issued on the interface?

Answers

Explanations

Click on the arrows to vote for the correct answer

A. B. C. D.

C

The correct answer is C. ipv6 address 2001:db8::500:a:400F:583B.

Explanation:

IPv6 addresses are 128 bits long, and they are usually written in hexadecimal format, which groups each 16-bit section with a colon. Leading zeros can be omitted, and a double colon (::) can be used to represent consecutive sections of zeros.

The given IPv6 address is:

2001:0db8:0000:0000:0500:000a:400F:583B

Since the leading zeros can be omitted, we can simplify the address to:

2001:db8:0:0:500:a:400F:583B

To compress the address, we can use the double colon (::) notation to represent the consecutive sections of zeros. To do this, we need to determine how many consecutive sections of zeros we can replace with the double colon. In this case, we can replace the two sections of zeros in the middle, resulting in the compressed address:

2001:db8::500:a:400F:583B

Therefore, the correct command to configure the GigabitEthernet1/1 interface on router R1 is:

ipv6 address 2001:db8::500:a:400F:583B

Option A is incorrect because it uses two colons between "db8" and "0000", which is not a valid notation for compressing consecutive sections of zeros.

Option B is incorrect because it compresses only one section of zeros, whereas we can compress two sections of zeros to get a shorter address.

Option D is incorrect because it uses "0db8" instead of "db8", and it does not compress any consecutive sections of zeros.