cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1134
Views
4
Helpful
5
Replies

default gateway v ip route

j44mistry
Level 1
Level 1

Hello,

I have a Cisco 2960 ( WS-C2960-8TC-S)  running 12.2(46)SE  C2960-LANLITEK9-M  image.

I would like to set an ip route 0.0.0.0 0.0.0.0 87.101.156.97  but the current image does not allow.

Will ip default-gateway 87.101.156.97 work or do I need ip routing ?

The ISP has provided a /30 address and we are using an additional /29 for our network devices. 

I dont think this image can be upgraded.  I need to forward routes directly out to ISP.

-------------------------------------------------------------------------------------------------------------------------------------------------------------------

!

interface FastEthernet0/1

description Internet ISP

switchport access vlan 70

!

interface FastEthernet0/2

description Production LAN

switchport access vlan 75

!

interface Vlan1

no ip address

no ip route-cache

shutdown

!

interface Vlan70

ip address 87.101.156.98 255.255.255.252

no ip route-cache

!

interface Vlan75

ip address 87.101.156.126 255.255.255.248

no ip route-cache

!

ip default-gateway 87.101.156.97

!

5 Replies 5

mahmoodmkl
Level 7
Level 7

Hi
did u enable ip routing
ip default gateway will not do the job

Sent from Cisco Technical Support iPhone App

Yes there is no option on this C2960-LANLITEK9-M image.

mahmoodmkl
Level 7
Level 7

Hi
i think this version doesnt support routing
u need to look for other options

Sent from Cisco Technical Support iPhone App

Yes ordering router instead as this image cannot be upgraded.

ip route is supported only in router and L3 switches. ip default GW is  for pure  L2 swiches only applicable  for management IP  Only.It will not route vlan traffic

Review Cisco Networking for a $25 gift card