Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

default gateway vs the all 0s route

I tried to set a default route on a 3750 switch:

ip route 0.0.0.0 0.0.0.0 10.1.1.1

But this did not work to route the traffic to other subnets.

"ip default-gateway 10.1.1.1" however did work to route.

Why did my all-0's route not work? Thanks.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: default gateway vs the all 0s route

I suspect that you have not configured or enabled 'ip routing' in global config?

Hope this helps.

Allan.

3 REPLIES

Re: default gateway vs the all 0s route

Congrats on reaching the next star Glen, keep up the good work..

Allan

Re: default gateway vs the all 0s route

I suspect that you have not configured or enabled 'ip routing' in global config?

Hope this helps.

Allan.

Purple

Re: default gateway vs the all 0s route

Allan is correct if ip routing is not turned on you basically have a layer 2 switch which doesn't route thus you cannot put a default static route in , only a default gateway statement will work and that is to just basically manage the switch if routing is turned off.

135
Views
5
Helpful
3
Replies
CreatePlease to create content