cannot define static route

Unanswered Question
Apr 27th, 2009
User Badges:

I am running the following:

isco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(35)SE5


and I am unable to define static routes?

I thought ip routing is enabled by default.



Any idea?

  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Loading.
Jon Marshall Mon, 04/27/2009 - 11:44
User Badges:
  • Super Blue, 32500 points or more
  • Hall of Fame,

    Founding Member

  • Cisco Designated VIP,

    2017 LAN, WAN

"I thought ip routing is enabled by default."


Not on the 2960 as this is a L2 switch only. Try


"ip default-gateway x.x.x.x"


Jon

davy.timmermans Mon, 04/27/2009 - 11:49
User Badges:
  • Silver, 250 points or more

hi Jon,


Is this not for management purposes only? Thus for management from another vlan.


As you say it's a layer 2 switch isn't it that you can only define 1 SVI for management. The switch itself can only be used as L2 access switch with ports in different vlans and uplink to a core/distribution layer device



John Blakley Mon, 04/27/2009 - 11:45
User Badges:
  • Purple, 4500 points or more

I believe a 2960 is a layer2 switch which doesn't route. You'll need to create your static routes on your router.


HTH,

John

thotsaphon Mon, 04/27/2009 - 11:46
User Badges:
  • Gold, 750 points or more

Roni,

Okay Cisco 2960 switch is a layer2 switch.


I thought ip routing is enabled by default.

It's not true. You can't do that.

IP address assigned to the vlan interface of Layer2 switch will be used for management propose.


HTH,

Toshi

ivarnhagen Mon, 04/27/2009 - 11:49
User Badges:

The 2960 switch isn't Layer 3 capable, meaning no static routes and no ip routing. You can only define a management IP with a default gateway.


hth


edit: sorry a couple of minutes late ;-)

thotsaphon Mon, 04/27/2009 - 11:52
User Badges:
  • Gold, 750 points or more

Ingo,

That's fine. (grin)


Toshi

Actions

This Discussion