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!

Cisco 3550 - Route on only two VLANS

Status
Not open for further replies.

ksas025

Technical User
Joined
Jun 3, 2004
Messages
92
Location
US
I have a Cisco 3550 switch that is divided up into 4 VLANS. Is there a way to only route traffic between 2 of the VLANS? I would like VLANS 1 and 2 to route between each other, but would also like to keep the other two VLANS isolated.

I have seen documentation that allows inter-vlan routing but this is if you want all VLANS to route through one interface.

Is it possible to configure a 3550 to say:

"traffic comming from vlan x route to vlan y?"


Thanks in advance for any replies.

 
Unless you create a layer 3 interface for them they are isolated . When you create a layer 3 SVI and stick an ip address on it then it will route between the vlans that have a layer 3 definition otherwise they are isolated layer 2 vlans .
 
!
ip routing
!
interface vlan 1
ip address x.x.x.x 255.255.255.0
!
interface vlan 2
ip address y.y.y.y 255.255.255.0
!
interface vlan 3
no ip address
!
interface vlan 10
ip address z.z.z.z 255.255.255.0
shut
!

Say if you have vlan 1 - 10. With this config, routing is only enabled between VLAN 1 and 2.
 
Thanks a lot for the responses! This should work nicely.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top