Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Community Member

cannot define static route

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?

6 REPLIES
Hall of Fame Super Blue

Re: cannot define static route

"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

Re: cannot define static route

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

Re: cannot define static route

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

HTH, John *** Please rate all useful posts ***

Re: cannot define static route

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

Community Member

Re: cannot define static route

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 ;-)

Re: cannot define static route

Ingo,

That's fine. (grin)

Toshi

367
Views
0
Helpful
6
Replies
CreatePlease to create content