How to wire switch for multiple VLANS?
Posted on 2013-01-09
I hope this doesn't get to complicated but here goes nothing. I just acquired 6 dell servers each with 2 ethernet ports, and a remote access port. I also have a cisco business class router capable of VLANS, and a Netgear 24 port switch that is also capable of VLANS. What I want to know is the proper way to wire the 3 of them so that each server has its own VLAN and then I am using one to one NAT to assign WAN IP's to each ethernet on all the servers. I want to create separate VLANS like this. Example A: Create a VLAN on the cisco router using just port 1. Then create a VLAN on the Netgear switch using ports 1-4. I would then run a cat5e patch cable from port 1 of the Cisco router to port 1 of the Netgear router. Then use ports 2 and 3 to go to the 2 ethernet ports on the server. And lastly port 4 to the remote access port on the server. I would then duplicate this configuration with ports 5-8, 9-12 and so on. then I would I would connect my computer to the switch on port 25. Lastly I would create one more VLAN with ports 25, 1, 5, 9, 13, and so on. that way my computer could connect to all the VLANS. Ok I hope you are still following me because here is the actual question. Could I instead do this while maintaing all servers being on separate VLANS. Example B: I was thinking about running 1 patch cord from the router to the switch and put it on say port 25. Then create VLANS like this. VLAN 1 would be ports 1,2,3 and 25. VLAN 2 would be ports 4,5,6 and 25. VLAN 3 would be ports 7,8,9 and 25. That way they are all separate of each other but still connected to the router that is on port 25. Or would this defeat the purpose of the VLANS because they would all be on the same LAN then? Or if you have another completely better and correct way I should wire it please feel free to add the info. I want to make sure there are no bottle necks for bandwidth as well. Thanks.