• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 2285
  • Last Modified:

How to Set Up VLAN on Dlink DES 1252 - Only web based

I have 10 D-link switches of DES 1252 and 4 lease lines . i need to do the following.

1. Create 4 Different Vlan's (for 4 lease lines)
2. The subnet of each Vlan should be different
3.Should be able to change the host from one network to another
  • 2
1 Solution
1. To create VLANs you need to go into the IEEE 802.1Q VLAN Configuration page and add a new VID for each one. The VID is just the VLAN number and you can give it a name as well. Then add the ports as untagged for any devices like PCs or printers etc that will be connected to those ports. For links that are going to go between switches you would need to add those ports as tagged in each VLAN you want to communicate between switches.

2. This is a layer 2 switch so all of your subnet, routing functions, and DHCP relay need to be configured on your external router. You need to put one router physical port in each VLAN or use what's called a router on a stick if the router supports it and configure the router's port on the switch as tagged and in every VLAN. On the router side you need to configure the port as tagged and in each VLAN and add the IP interface then dhcp relay information there. The IP interface of the router for each VLAN will be the default gateway for devices in that VLAN.

3. With The router configured in each VLAN and DHCP relay or IP helpers configured on the router a device will get its address from the DHCP server for the correct subnet, assuming the DHCP server has been set up to do this. However, this switch only supports port based VLANs which means a device's port can only be in one VLAN at a time so if you want to change the subnet you need to change the VLAN for the port the device is on or move the device to a different port in the other VLAN. If you don't use DHCP you would also have to change the device's address to the new subnet.
adeccoindAuthor Commented:
Dear Rick,

Thanks for the update. please find the attached Network diagram in detail and let me know how can i configure the Vlan's for the same.waiting for your response.

Raghu Nandan s
On the routers configure the interface to the switch with one subnet address each for example:


On Switch 1 configure 4 VLANs 10, 20, 30, and 40 for networks 1,2,3,4 respectively.
Put the port for each router in the VLAN for that subnet. They can remain untagged.

Also on SW1 put the downlink ports into each VLAN as tagged.

On switches 2, 3, 4, 5, and 6 put the uplink ports into all 4 VLANs as tagged.
Put the rest of the ports in the VLANs that you need them in as untagged ports.

Via DHCP or manually configured make the default gateway of all the devices the .1 address for
the router in their VLAN.

I don't think you said if these devices need to communicate with the other VLANs or are staying isolated from each other.

If they need to communicate VLAN to VLAN then the routers will have to have a sub-interface in each of the other VLANs. In that case their ports would have to be tagged with all 4 VLANs as well.

You could also configure DHCP relay or IP helpers on R3 and R4 pointing them to the DHCP servers where you would have the scopes for those networks. The devices on VLAN 1 and VLAN 2 have a DHCP server local to them so they don't need to use relay.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now