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
Do you mean to say the text appears to be from a L2 switch? Because the command "ip routing" is been carried out on a L2 switch first to enable the configuration of an ip address.
Do you mean to say the text appears to be from a L2 switch? Because the command "ip routing" is been carried out on a switch first to enable the configuration of an ip address.
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, 5 months ago1Abel1
3 weeks, 1 day ago1Abel1
3 weeks, 1 day agoAirrat
4 years agosdokmak
Highly Voted 4 years, 1 month agocybercerberes
Most Recent 11 months, 1 week agogc999
2 years, 4 months agoZUMY
3 years agoMrBadger
3 years, 3 months agoJonfernz
4 years, 2 months agoRaymond9
4 years, 7 months agoTA77
3 years agoHarryjio
4 years, 11 months ago