CCNA • CLI Questions — 60 Questions
60 CCNA CLI Questions questions with answers and detailed explanations. Command-line and scenario-based questions. Free, no signup.
You are connected to R1. The network administrator has partially configured IPv4 and IPv6 on the interfaces. However, PC1 (connected to R1's G0/1) cannot reach PC2 (connected to R2's G0/1). Configure R1 and R2 so that PC1 can ping PC2. Fix any addressing errors. Use IPv4 subnet 192.0.2.0/30 for the link between R1 and R2, and 198.51.100.0/24 for the PC LANs. For IPv6, use 2001:db8:1::/64 on R1's G0/1 and 2001:db8:2::/64 on R2's G0/1, with R1's G0/1 using EUI-64 and R2's G0/1 using a static address 2001:db8:2::1/64.
R1#show running-config ... interface GigabitEthernet0/0 ip address 192.0.2.1 255.255.255.0 duplex auto speed auto ! interface GigabitEthernet0/1 ip address 198.51.100.1 255.255.255.0 ipv6 address 2001:db8:1::/64 eui-64 duplex auto speed auto ! ip route 0.0.0.0 0.0.0.0 192.0.2.2 ... R2#show running-config ... interface GigabitEthernet0/0 ip address 192.0.2.2 255.255.255.252 duplex auto speed auto ! interface GigabitEthernet0/1 ip address 198.51.100.2 255.255.255.0 ipv6 address 2001:db8:2::1/64 duplex auto speed auto ! ... PC1: IP 198.51.100.10/24, gateway 198.51.100.1 PC2: IP 198.51.100.20/24, gateway 198.51.100.2
R1#show running-config ... interface GigabitEthernet0/0 ip address 192.0.2.1 255.255.255.0 duplex auto speed auto ! interface GigabitEthernet0/1 ip address 198.51.100.1 255.255.255.0 ipv6 address 2001:db8:1::/64 eui-64 duplex auto speed auto ! ip route 0.0.0.0 0.0.0.0 192.0.2.2 ... R2#show running-config ... interface GigabitEthernet0/0 ip address 192.0.2.2 255.255.255.252 duplex auto speed auto ! interface GigabitEthernet0/1 ip address 198.51.100.2 255.255.255.0 ipv6 address 2001:db8:2::1/64 duplex auto speed auto ! ... PC1: IP 198.51.100.10/24, gateway 198.51.100.1 PC2: IP 198.51.100.20/24, gateway 198.51.100.2