?
Solved

cisco Switch question

Posted on 2012-03-28
4
Medium Priority
?
352 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
4 Comments
 
LVL 10

Assisted Solution

by:Netty
Netty earned 500 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 500 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 22

Assisted Solution

by:eeRoot
eeRoot earned 500 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 500 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

Get 15 Days FREE Full-Featured Trial

Benefit from a mission critical IT monitoring with Monitis Premium or get it FREE for your entry level monitoring needs.
-Over 200,000 users
-More than 300,000 websites monitored
-Used in 197 countries
-Recommended by 98% of users

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We are taking giant steps in technological advances in the field of wireless telephony. At just 10 years since the advent of smartphones, it is crucial to examine the benefits and disadvantages that have been report to us.
I recently attended Cisco Live! in Las Vegas, a conference that boasted over 28,000 techies in attendance, and a week of hands-on learning hosted by a solid partner with which Concerto goes to market.  Every year, Cisco displays cutting-edge technol…
This is a video describing the growing solar energy use in Utah. This is a topic that greatly interests me and so I decided to produce a video about it.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…
Suggested Courses

770 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