As a network administrator, you are tasked with configuring RouterA to forward packets destined for networks not in its routing table to the next-hop IP address 192.168.1.1. Which command should you use in global configuration mode to set this up for IPv4 traffic?
To configure a default route in IPv4 on a Cisco router, you use the command ip route 0.0.0.0 0.0.0.0 192.168.1.1. The 0.0.0.0 0.0.0.0 specifies a destination network of all zeros with a subnet mask of all zeros, which matches any IPv4 address not found in the routing table. This tells the router to forward packets destined for unknown networks to the next-hop IP address 192.168.1.1. The other options are incorrect because:
ip route 0.0.0.0 255.255.255.255 192.168.1.1 defines a route to a specific host address 0.0.0.0, not a default route.
ip default-gateway 192.168.1.1 is used on devices without IP routing enabled, such as switches, and is not appropriate when IP routing is active.
ip route any any 192.168.1.1 is not a valid Cisco IOS command for configuring routes.
Ask Bash
Bash is our AI bot, trained to help you pass your exam. AI Generated Content may display inaccurate information, always double-check anything important.
Why is 'ip route 0.0.0.0 0.0.0.0 192.168.1.1' the correct syntax for a default route?
Open an interactive chat with Bash
What happens if a default route is not configured on a router?
Open an interactive chat with Bash
How does 'ip default-gateway' differ from a default route?
Open an interactive chat with Bash
Cisco CCNA 200-301
IP Connectivity
Your Score:
Report Issue
Bash, the Crucial Exams Chat Bot
AI Bot
Loading...
Loading...
Loading...
Pass with Confidence.
IT & Cybersecurity Package
You have hit the limits of our free tier, become a Premium Member today for unlimited access.
Military, Healthcare worker, Gov. employee or Teacher? See if you qualify for a Community Discount.
Monthly
$19.99
$19.99/mo
Billed monthly, Cancel any time.
3 Month Pass
$44.99
$14.99/mo
One time purchase of $44.99, Does not auto-renew.
MOST POPULAR
Annual Pass
$119.99
$9.99/mo
One time purchase of $119.99, Does not auto-renew.
BEST DEAL
Lifetime Pass
$189.99
One time purchase, Good for life.
What You Get
All IT & Cybersecurity Package plans include the following perks and exams .