Hi,
not really sure what exactly you want - but I guess you want to subdivide all devices connected to the DGS-switch into two or more groups (where any group might consist of only a single device as a special case), where
- any device within a given group can talk to any other device within that same group (if any, that is groups containing at least two devices) and to the internet via the router
- any device within a given group cannot talk to any device within another group
I guess you want to form two groups A an B consisting of the devices connected to switch ports 2,3,4 for group A and 5,6,7,8 for group B, both groups featuring the characteristics described above for the general case?
Or do you perhaps want to form 5 groups A(2,3,4), B(5), C(6), D(7) and E[8], where devices within "single member" groups B to E, that is devices connected to ports 5 to 8, are isolated and can only talk to the internet?
Whatever your choice for a special subdivision into groups might be - you can achieve the desired communication behaviour by using "asymmetric" VLANs.
For example for the first scenario with groups A(2,3,4) and B(5,6,7,8) within your switch:
- Go to "L2 Features > VLAN > Asymmetric VLAN" and enable "Asymmetric VLAN state"
- Besides VID 1, which exists by default, add two other VLANs using VID 2 and VID 3
- Set Port 1 (which connects to the router) to be an untagged member of VID 1, VID 2 and VID3. Set the port's PVID to 1.
- Set each Port 2,3 and 4 to be an untagged member of VID 1 and VID 2. Set each port's PVID to 2
- Set each Port 5,6 ,7 and 8 to be an untagged member of VID 1 and VID 3. Set each port's PVID to 3
Any other solution based on VLANs probably won't work because I assume that the LAN ports of your DIR router aren't capable to deal with VLANs.
And unfortunately you can't prevent any device connected to the DGS-switch (no matter what asymmetric VLAN group it belongs to) to "see" (that is connect and communicate to) any device that is connected to a router LAN port, because your router most probably doesn't provide the feature to isolate those devices within a configurable DMZ network and to define firewall rules to restrict access to them.
If you had more than 8 ports available at your DGS-switch you could unplug all devices from the router and connect them to the DGS-switch instead. Then you could define additional asymmetric VLAN groups for those devices and configure your switch for any communicaton scheme you want, that is permission or denial of communication between any pair of devices connected to the switch and between any device and the internet.
PT