Hi,
first of all I have to say that I'm not a user of such D-Link switches, hence like you I can only use the
manual and translate the information starting at page 29 into what I believe is an appropriate configuration for your case. At least this method was successful in
another case.
According to your needs for port 8 of your DGS-1100-8 and port 24 of your DGS-1100-24, which have to transmit and receive frames tagged 1, 2 or 3, you can't use port-based VLANs. Instead you have to enable 802.1Q VLAN. When you do so, the default is that all ports are members of VLAN 1, sending and receiving untagged frames only. Also be aware that the management interface of a switch is only accessible via VLAN 1 by default. I assume that you want to leave this setting as is, hence when configuring any switch via its Web-GUI take care that your admin PC is connected to a port whose setting will not be changed from its default setting "VLAN 1 untagged". I suggest you use port 7 of your DGS-1100-8 and any of the ports 7-23 of your DGS-1100-24 when configuring the switches now or later on. Second, from the IP range you want to use for VLAN 1 select two unique addresses and replace the default management address (10.90.90.90/8) of each switch by these new addresses, before you start any further VLAN configuration. You can use "Device Settings" inside SmartConsole Utility to change the switches' addresses (see pages 11-16 of the manual).
Starting with DGS-1100-8 (admin PC connected to port 7, management address already changed as described above), connect to the Web-GUI (using the new management address), select "VLAN > 802.1Q VLAN" and enable 802.1Q VLAN. You will see a single VLAN with VID 1, no VLAN Name and all ports 1-8 belonging to this VLAN with setting "Untagged". Execute the following steps:
- Edit VLAN 1 by clicking its VID number. Change port 8 from "Untagged" to "Tagged". Leave ports 1-7 unchanged ("Untagged"). You should also define a VLAN Name. Click "Apply".
- Back to "802.1Q VLAN Settings" click "Add VID" and enter VID=2 and any VLAN Name (different from any already existing VLAN Name for other VIDs) you like. Set port 2 to "Untagged". This will remove port 2 from VLAN 1 and assign it to VLAN 2. Set port 8 to "Tagged". Leave ports 1 and 3-7 in state "Not Member". Click "Apply".
- Back to "802.1Q VLAN Settings" click "Add VID" and enter VID=3 and any VLAN Name (different from any already existing VLAN Name for other VIDs) you like. Set ports 3-6 to "Untagged". This will remove these ports from VLAN 1 and assign them to VLAN 3. Set port 8 to "Tagged". Leave ports 1-2 and 7 in state "Not Member". Click "Apply".
- For any port 1-7 you would use PVID=VID as assigned by steps 1-3 (ports 1, 7: VID=PVID=1; port 2: VID=PVID=2; ports 3-6: VID=PVID=3). I'm not sure if the switch requests a PVID for port 8. If so you can't use VIDs 1-3, because frames belonging to these VLANs are sent tagged. Hence you need a dummy VLAN 4 that is just used as PVID for port 8. Back to "802.1Q VLAN Settings" click "Add VID" and enter VID=4 and any VLAN Name (different from any already existing VLAN Name for other VIDs) you like. Set port 8 to "Untagged" and leave ports 1-7 in state "Not Member".
- Back to "802.1Q VLAN Settings" click "PVID settings" and set PVID values to ports 1-8 as follows (if not already set automatically): 1, 2, 3, 3, 3, 3, 1, 4.
Proceeding with DGS-1100-24 (admin PC connected to one of the ports 7-23, management address already changed as described above), connect to the Web-GUI (using the new management address), select "VLAN > 802.1Q VLAN" and enable 802.1Q VLAN. You will see a single VLAN with VID 1, no VLAN Name and all ports 1-24 belonging to this VLAN with setting "Untagged". Execute the following steps:
- Edit VLAN 1 by clicking its VID number. Change port 24 from "Untagged" to "Tagged". Leave ports 1-23 unchanged ("Untagged"). You should also define a VLAN Name. Click "Apply".
- Back to "802.1Q VLAN Settings" click "Add VID" and enter VID=2 and any VLAN Name (different from any already existing VLAN Name for other VIDs) you like. Set port 2 to "Untagged". This will remove port 2 from VLAN 1 and assign it to VLAN 2. Set port 24 to "Tagged". Leave ports 1 and 3-23 in state "Not Member". Click "Apply".
- Back to "802.1Q VLAN Settings" click "Add VID" and enter VID=3 and any VLAN Name (different from any already existing VLAN Name for other VIDs) you like. Set ports 3-6 to "Untagged". This will remove these ports from VLAN 1 and assign them to VLAN 3. Set port 24 to "Tagged". Leave ports 1-2 and 7-23 in state "Not Member". Click "Apply".
- For any port 1-23 you would use PVID=VID as assigned by steps 1-3 (ports 1, 7-23: VID=PVID=1; port 2: VID=PVID=2; ports 3-6: VID=PVID=3). I'm not sure if the switch requests a PVID for port 24. If so you can't use VIDs 1-3, because frames belonging to these VLANs are sent tagged. Hence you need a dummy VLAN 4 that is just used as PVID for port 24. Back to "802.1Q VLAN Settings" click "Add VID" and enter VID=4 and any VLAN Name (different from any already existing VLAN Name for other VIDs) you like. Set port 24 to "Untagged" and leave ports 1-23 in state "Not Member".
- Back to "802.1Q VLAN Settings" click "PVID settings" and set PVID values to ports 1-24 as follows (if not already set automatically): 1, 2, 3, 3, 3, 3, 1, ..., 1, 4.
Once your configuration is complete, you can manage both switches from any admin PC that is connected to any port on any switch that is assigned to VLAN 1.
PT