Re: Switch routing (143 Views)
Reply
Frequent Advisor
rventura
Posts: 47
Registered: ‎07-15-2011
Message 1 of 2 (168 Views)

Switch routing

Hello,

 

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? 

 

thanks.

Please use plain text.
Esteemed Contributor
paulgear
Posts: 655
Registered: ‎04-03-2011
Message 2 of 2 (143 Views)

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!

Regards,
Paul
Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation