200-301 · Question #818
The command ip route 192.168.100.160 255.255.255.224 192.168.10.2 was issued on a router. No routing protocols or other static routes are configured on the router. Which statement is true about this…
The correct answer is C. Packets that are destined for host 192.168.100.160 will be sent to 192.168.10.2. The command configures a static route, directing all traffic destined for the 192.168.100.160/27 network to the next-hop IP address 192.168.10.2.
Question
Options
- AThe interface with IP address 192.168.10.2 is on this router.
- BThe command sets a gateway of last resort for the router.
- CPackets that are destined for host 192.168.100.160 will be sent to 192.168.10.2.
- DThe command creates a static route for all IP traffic with the source address 192.168.100.160.
How the community answered
(58 responses)- A3% (2)
- B2% (1)
- C93% (54)
- D2% (1)
Why each option
The command configures a static route, directing all traffic destined for the 192.168.100.160/27 network to the next-hop IP address 192.168.10.2.
The IP address 192.168.10.2 represents the next-hop router, which is a different device on an adjacent network segment, not an interface on the router where this command is entered.
A gateway of last resort (default route) is configured using ip route 0.0.0.0 0.0.0.0. This command configures a specific route to a particular destination network, not a default route for all unknown destinations.
The command ip route 192.168.100.160 255.255.255.224 192.168.10.2 defines a static route for the network 192.168.100.160 with a /27 subnet mask. Any packets whose destination IP address falls within this network (192.168.100.160 - 192.168.100.191) will be forwarded to the next-hop router at 192.168.10.2.
Static routes are based on the destination IP address of the packet, not the source IP address. This command defines a route for packets destined for the 192.168.100.160/27 network.
Concept tested: Static route configuration and interpretation
Source: https://www.cisco.com/c/en/us/td/docs/ios/dial/configuration/guide/dia_cft.html
Topics
Community Discussion
No community discussion yet for this question.