Solved

cisco Switch question

Posted on 2012-03-28
4
345 Views
Last Modified: 2012-06-21
when i do ip routing on my switch

ip route 0.0.0.0 0.0.0.0 to GW it doesnt work
but
when i do ip deafult gateway...it works and i can ping the GW

thoughts ?
0
Comment
Question by:c_hockland
4 Comments
 
LVL 10

Assisted Solution

by:Netty
Netty earned 125 total points
ID: 37779839
The "ip default-gateway" command is used to specify the default gateway when routing is not enabled. If routing is enabled ((config)#ip routing), the ip default-gateway command is unnecessary.
0
 
LVL 15

Assisted Solution

by:Nayyar HH (CCIE RS)
Nayyar HH (CCIE RS) earned 125 total points
ID: 37780734
On a switch not capable of routing such as 2960, 2950 etc the "ip default-gateway" is required if you need to remotely manage the switch. On these type of switches the "ip routing" command has no bearing ( unsupported)
0
 
LVL 21

Assisted Solution

by:eeRoot
eeRoot earned 125 total points
ID: 37794146
A layer 3 switch will use the "ip route" command while a layer 2 switch will need the "ip default gateway"
0
 
LVL 10

Accepted Solution

by:
ampranti earned 125 total points
ID: 37805031
You have a layer 2 switch; you should use "ip deafult gateway X.X.X.X"

Which cisco switch you have ?
0

Featured Post

Better Security Awareness With Threat Intelligence

See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

Join & Write a Comment

In the world of WAN, QoS is a pretty important topic for most, if not all, networks. Some WAN technologies have QoS mechanisms built in, but others, such as some L2 WAN's, don't have QoS control in the provider cloud.
Shadow IT is coming out of the shadows as more businesses are choosing cloud-based applications. It is now a multi-cloud world for most organizations. Simultaneously, most businesses have yet to consolidate with one cloud provider or define an offic…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

707 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

19 Experts available now in Live!

Get 1:1 Help Now