Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Static routing on Layer 3 switch

Status
Not open for further replies.

chieftan

MIS
Joined
Dec 18, 2002
Messages
292
Location
GB
I have a problem where the following error occurs:-

I have a layer 3 switch that has 3 VLANs configured on it. The routing between the VLANs appears to be dynamic (the switch recognises the seperate VLANs with no static routing requried).
However, I now have a position where I need to route beyond this and I am trying to add a static route (as the dynamic side does not appear to work with this one), so I am entering the following command:-

ip route x.x.x.x x.x.x.x (Gateway address)

I want the gateway address to be the VLAN required address but the layer 3 switch comes back with the following error:-

ip address cannot be switch address and gateway

Does anyone know why this would or should occur. I am not sure, if the VLAN is on the same switch how I can achieve this.

TIA
 
It can't be your switch address , it should be pointed to whatever address is your exit point off the switch preferably the address on the far end . You say you have to route beyond this so what connection and address are you using ?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top