Question

Difficulty: EasyIPv4 Static Routing

A network administrator needs to configure an IPv4 static default route on a Cisco router pointing to the next-hop IP address 203.0.113.1. Which Cisco IOS command correctly accomplishes this configuration?

  1. ip route 0.0.0.0 0.0.0.0 203.0.113.1Answer
  2. B
    ip route 0.0.0.0 255.255.255.255 203.0.113.1
  3. C
    ip route default 203.0.113.1
  4. D
    ip route 203.0.113.1 0.0.0.0 0.0.0.0

Answer

ip route 0.0.0.0 0.0.0.0 203.0.113.1
The correct command uses 'ip route 0.0.0.0 0.0.0.0 203.0.113.1'. In Cisco IOS, a static default route is configured using the prefix 0.0.0.0 and mask 0.0.0.0 followed by either the next-hop IPv4 address or an outbound interface.

Step-by-Step Solution

1
Identify the standard Cisco IOS syntax for IPv4 static routing.
The standard syntax is 'ip route <destination-prefix> <subnet-mask> {ip-address | exit-interface}'.
Cisco IOS requires explicit declaration of the target network prefix, subnet mask, and forwarding target.
2
Determine the prefix and mask required for a static default route.
A default route matching all IPv4 destinations uses network prefix 0.0.0.0 and subnet mask 0.0.0.0.
The prefix 0.0.0.0/0 matches any IPv4 address when no more specific match exists in the routing table.
3
Append the specified next-hop IP address.
Combining the default prefix/mask with next-hop IP 203.0.113.1 yields 'ip route 0.0.0.0 0.0.0.0 203.0.113.1'.
The next-hop IP address designates the forwarding address of the adjacent router.

Key Concept

IPv4 Static Default Route Configuration
Rate this question