This text appears to be from a L3 switch. On a router there is no need to turn on (config)# "ip routing" first and then the default route command.
it should be: R1# conf t R1(config)# ip route 0.0.0.0 0.0.0.0 192.168.1.1
IP default-gateway I see this as for the switch rather then data-plane traffic, might not be a strictly true but it's a good way of thinking about its function.
IP Default-Gateway” is usually used on switches that are not L3 switches/routers or on “hosts “IP Route 0.0.0.0” is usually used on devices that are L3 eg Layer 3 switches/routers etc
ref:https://ipwithease.com/difference-between-ip-default-gateway-and-ip-route-0-0-0-0/
Just to clarify the sentence:
"ip default-gateway" is usually used on Layer 2 switches and on hosts.
"ip route 0.0.0.0" is usually used on Layer 3 switches and on routers.
This section is not available anymore. Please use the main Exam Page.200-301 Exam Questions
Log in to ExamTopics
Sign in:
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
FloridaMan88
Highly Voted 4 years, 2 months agoAirrat
3 years, 10 months agosdokmak
Highly Voted 3 years, 10 months agocybercerberes
Most Recent 8 months, 3 weeks ago[Removed]
1 year, 1 month agogc999
2 years, 1 month ago[Removed]
2 years, 6 months agoZUMY
2 years, 10 months agoMrBadger
3 years, 1 month agoJonfernz
4 years agoRaymond9
4 years, 4 months agoTA77
2 years, 10 months agoHarryjio
4 years, 9 months ago