07-11-2006 05:48 AM - edited 03-03-2019 04:00 AM
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
07-11-2006 05:58 AM
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.
07-11-2006 06:01 AM
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
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide