Email Subscription Notifications Suspended Temporarily
We are in the process of making navigation in the Servers and Operating Systems forums simpler and more direct. While doing this, we have to temporarily suspend email notifications for subscriptions. If you are subscribed to one or more discussion boards or blogs in the community, please check them daily to see new content. Notifications will be turned back on in a few days. We apologize for any inconvenience this may cause. Thanks, Warren_Admin
Showing results for 
Search instead for 
Did you mean: 

Switch routing

Frequent Advisor

Switch routing



I have a question about routing at the switch. I would like my the clients to be routed at teh switch and only directed to the router in order to resolve external hosts/services. 


I have 5 VLANs (10, 20, 30, 10, and 100) and each have a different subnet (192.168.10, 192.168.20, 192.168.30, 192.168.50, 192.168.100).


So in order to be able to route traffic from 192.168.10 to 192.168.50 will i need to configure VLAN 10 with 2 ip interfaces, 192.168.10.xx and 192.168.50.xx and enable routing? 



Esteemed Contributor

Re: Switch routing

I assume the 4th VLAN was a typo, and you actually have 10, 20, 30, 50, and 100, corresponding to their respective subnet numbers.


To enable routing between these, you need to enable routing on your switch, add an IP address to each VLAN interface, and make that IP the default gateway of your clients.  If you want your clients to talk to outside systems, you will also need to set a default route on the switch.


Note that it's only 1 IP per VLAN interface, not two IPs on the same VLAN interface as you mentioned in your original post.


Good luck!