Solved

cisco Switch question

Posted on 2012-03-28
4
348 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 22

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

Easy, flexible multimedia distribution & control

Coming soon!  Ideal for large-scale A/V applications, ATEN's VM3200 Modular Matrix Switch is an all-in-one solution that simplifies video wall integration. Easily customize display layouts to see what you want, how you want it in 4k.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Ping Through ASA Firewall 6 46
Advertise subnet not directly attached 6 46
ISP Change 14 63
Router disappearing from network on one pc 18 33
In the hope of saving someone else's sanity... About a year ago we bought a Cisco 1921 router with two ADSL/VDSL EHWIC cards to load balance local network traffic over the two broadband lines we have, but we couldn't get the routing to work consi…
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.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

789 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