cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
227
Views
0
Helpful
6
Replies

Cat 2960 routing

qsosan20
Level 1
Level 1

I have cat 2960 with default router to x.x.x.10 , however one destination (y.y.y.y) is using another gateway which is x.x.x.3 , how i can force this to use the default route .10 ? 

sh ip route
Default gateway is x.x.x.10

Host                 Gateway         Last Use          Total Uses            Interface
y.y.y.y                x.x.x.3           0:00                 1100                   Vlan61    

 

1 Accepted Solution

Accepted Solutions

Try

Clear arp

Add GW again to overriding the old wrong one 

MHM

View solution in original post

6 Replies 6

balaji.bandi
Hall of Fame
Hall of Fame

change from default-gateway to ip route command.

example :

no Default gateway x.x.x.10

ip route 0.0.0.0 0.0.0.0 x.x.x.10

if you like one of the host to route to x.x.x.3

ip route y.y.y.y 255.255.255.255 x.x.x.3

 

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Host GW is different than SW GW' 

Host GW is control by dhcp or by manually add GW in host.

MHM

qsosan20
Level 1
Level 1

Issue solved after rebooting the switch , seems the route entry was stuck !!

However i have another switch which having the same issue , and i don't want to reboot , is there any command to clear stuck routes ?

Try

Clear arp

Add GW again to overriding the old wrong one 

MHM

That works , 

Thank you ,

i  have misunderstood the requirement of OP  -aha ! reboot resolves many issue - glad to know.

BB

***** Rate All Helpful Responses *****

How to Ask The Cisco Community for Help

Review Cisco Networking for a $25 gift card