200-301 Question 312
Single answerYou are configuring static routes on a router named R1 in a network with both IPv4 and IPv6 addressing. R1 has two interfaces: GigabitEthernet0/0 (IPv4 address: 192.168.1.1/24, IPv6 address: 2001:db8:1::1/64) and GigabitEthernet0/1 (IPv4 address: 10.0.0.1/24, IPv6 address: 2001:db8:2::1/64). You need to configure a static route to reach the IPv6 network 2001:db8:3::/64 via the next-hop address 2001:db8:2::2. Which command will correctly configure this static route?
- A
ipv6 route 2001:db8:3::/64 2001:db8:2::2
- B
ipv6 route 2001:db8:3::/64 GigabitEthernet0/1
- C
ip route 2001:db8:3::/64 2001:db8:2::2
- D
ipv6 route 2001:db8:3::/64 2001:db8:1::1
Show answer and explanation
Correct answer: A
Explanation
To configure an IPv6 static route, the 'ipv6 route' command is used, followed by the destination IPv6 network and the next-hop IPv6 address. In this scenario, the static route is configured to reach the network 2001:db8:3::/64 via the next-hop address 2001:db8:2::2, which is directly connected to R1's GigabitEthernet0/1 interface. Option 1 is the correct command to achieve this.
- A. Correct.
Correct. This command correctly specifies the destination IPv6 network (2001:db8:3::/64) and the next-hop IPv6 address (2001:db8:2::2) for the static route.
- B. Incorrect.
Incorrect. While you can specify an interface as a route, this command is incomplete because it does not include the next-hop address or ensure proper resolution for packet forwarding.
- C. Incorrect.
Incorrect. The 'ip route' command is only used for IPv4 static routes, not IPv6. This syntax is invalid for IPv6 routing.
- D. Incorrect.
Incorrect. The next-hop address specified (2001:db8:1::1) is incorrect because it refers to an address on the same router interface and not the next-hop router.