IP Connectivity
R1 must reach the 10.20.30.0/24 LAN, which sits behind a neighbor router at 192.168.1.2. Which command configures the static route?
Show the answer
Correct answerD. ip route 10.20.30.0 255.255.255.0 192.168.1.2
AWhy not this: The destination and next hop are swapped, so this does not describe the 10.20.30.0/24 network.
BWhy not this: ip route needs a subnet mask; 0.0.0.255 is a wildcard mask and is not valid here.
CWhy not this: A /32 mask makes this a host route for 10.20.30.1 only, not the whole /24 LAN.
DWhy this is right: It gives the destination network, the 255.255.255.0 subnet mask and the next-hop address in the correct order.
A static network route uses the destination network address, its subnet mask and then the next hop. The wildcard-mask version is wrong because ip route takes a subnet mask, not a wildcard mask.