cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
384
Views
5
Helpful
3
Replies

default gateway vs the all 0s route

mmedwid
Level 3
Level 3

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

allan.thomas
Level 8
Level 8

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

Hope this helps.

Allan.

View solution in original post

3 Replies 3

allan.thomas
Level 8
Level 8

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

Allan

allan.thomas
Level 8
Level 8

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

Hope this helps.

Allan.

glen.grant
VIP Alumni
VIP Alumni

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.

Review Cisco Networking for a $25 gift card