I have trouble setting up various vlans on a net which connects to the internet through an Ebox router. The router is connected to a d-link lvl2 managed switch, and the switch has each port connected to 1 or more hubs/machines.
I did the following:
1 - Define a interface as trunk in the Ebox router. I create the various vlans (vlan1, vlan2, etc..) and assign them a static IP each.
2 - Configure port 1 on the switch (the one where the router is connected) as a trunk and "tag" it, the rest of the ports are configured as "untagged" if they belong to the vlan, or "not member" if they don't.
When all this is done, I lose internet connectivity, but I can still reach the local machines connected to the vlan. Any ideas of what i'm doing wrong?
Thanks in advance,
Dani.
Edit: If I leave the switch port 1 as untagged, I do have internet connectivity, but it will only work for 1 vlan (it won't be a trunk), right?