cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
592
Views
0
Helpful
1
Replies

Difference between "ip default-gateway" and "ip route 0.0.0.0"?

gwhuang5398
Level 2
Level 2

On the Catalyst switches, is it the same to use "ip default-gateway" or "ip route 0.0.0.0" to set a default route?

Thanks a lot

Gary

1 Reply 1

glen.grant
VIP Alumni
VIP Alumni

No a default gateway is only used if you have turned off ip routing on the L3 switch . If you have ip routing turned on you would use the static default route pointing to the next hop address.