Avatar of leblanc
leblanc
 asked on

ip default-gateway and default static route

Is there a difference between ip default-gateway and default static route (ip route 0.0.0.0) from the Catalyst switches perspective?

I know that from the Cisco routers, there is a difference.

Thanks
Switches / HubsNetworkingRouters

Avatar of undefined
Last Comment
leblanc

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
BigPapaGotti

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
SOLUTION
172pilotSteve

Log in or sign up to see answer
Become an EE member today7-DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform
Sign up - Free for 7 days
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.
Not exactly the question you had in mind?
Sign up for an EE membership and get your own personalized solution. With an EE membership, you can ask unlimited troubleshooting, research, or opinion questions.
ask a question
leblanc

ASKER
So if you use default-gateway on the router, you will not get the same result as if you use ip route 0.0.0.0. Correct?
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
SOLUTION
Log in to continue reading
Log In
Sign up - Free for 7 days
Get an unlimited membership to EE for less than $4 a week.
Unlimited question asking, solutions, articles and more.
leblanc

ASKER
I am using GNS3 to simulate my layer 3 switching network. I use Fastethernet module on the routers and default gateway. Well... It did not work like I expected. I should have use ip route 0.0.0.0 instead of default gateway so that all devices on the network can ping each other.
But I understand your point, default gateway for layer 2 and ip route 0.0.0.0 for layer 3
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck