2 vlans connecting to router (internet), how?
Posted on 2009-12-31
I have a NetGear GS716T and a 108T 8 port switch, both are smart switches. I can use vlan on themm. I am new to this but I managed to connect using port based vlan.
What I want to do in the first place:
I would just like to have 2 vlans for my computers that don't see each other. Both vlans can have access to internet (port 16 of GS716T is connected to Drytek Vigor 2950 router) and to a NAS server (port 15).
vlan0 has ports 1-8 and vlan1 has ports 9-14.
Using port based vlan it is easy, I just make vlan0 select ports 1-8 and 14-15 and in vlan1 I select ports 9-16. Both vlans have access to internet and nas and they can not see each other.
Now that I have another switch 108T the port based vlan is not very good as I can not have on this switch members from vlan1 or vlan0, but just from one vlan (depending on which port on 716T the second switch is plugged, if I plug it in 1-8 then all the 108t is vlan0 from 9-14 it is vlan1.
Everything understandable up to here. I wanted to make a tag based vlan, but here I have a problem. I can not set the 2 vlans to access to shared lan and internet router. If the PVID setting of the internet (port 16) is 1 (vlan0) than it works for this vlan, but not for the other. I tried setting on vlan0 the port 16 to be untagged and on vlan1 to be tagged but same thing. port 16 is still unreachable to the members of vlan1 ( the ports that have default PVID of 2)...
I read about layer 3 switches I don't have one. Is there any solution to this? tag based vlan should be more flexible, why can't I do samer thing as with port based vlan?
I know, I can move all the vlan1 members to one switch and the others to the other, but I still like to hear a solution, as I really would like to mix on priority on switches not location.
PS - All my computers and everything is on the same subnet, 192.168.0.x.