cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
17930
Views
0
Helpful
2
Replies

Static Route Error

cisconoobie
Level 2
Level 2

I'm trying to set the gateway of last resort on my L3 switch. Trying to set port 1 on a 3750G switch.

Switch(config)#ip route 0.0.0.0 0.0.0.0 g2/0/1

% Must specify a L3 port as the next hop interface

2 Replies 2

tdrais
Level 7
Level 7

You in general don't want to set it to a interface because it is dependant on proxy arp to work but to your issue.

Unless a gig port works different this means that this is a switch port. IE you did not type NO SWITCHPORT on the interface. In general you have to also place a IP address on the interface since it is not much use to turn off the switch port and not have a ip address on it.

If it is a switch port becuase it is something like a trunk then you only option is to use a vlan interface as you route destination. This is also a bad idea since you now have arps possible going out many interfaces.

Best bet is to find a IP address can act as your default route.

devang_etcom
Level 7
Level 7

hi,,,

just convert the g2/0/1 port into layer 3 port using command "no switchport" under the interface configuration mode...

interface g2/0/1

no switchport

this configuration convert your g2/0/1 port in to the layer 3 port...

hope this will work...

rate this post if it works

regards

Devang