A vlan is nothing more than a virtual switch so you must do everything would do with a real switch. Technically a switch needs no IP itself, look at all the unmanageable switches you can buy that you just plug cables into. So in a switch all you really do is define ports to separate traffic.
The messy part is if a switch is layer 3 which means it also contains a router. Be careful yours may not it tends to increase the price of the units. What happens in a layer 3 switch is you now create a virtual interface. Although it is virtual it works the same as if you had a router with multiple physical interfaces plugged to multiple switches. You must do all the work you would do for each. Default gateways,DHCP scopes, etc.
You must also configure the routing so that traffic will flow between the virtual interfaces. This part normally works by default but you now have 2 complete networks on this device which I would assume is connected to another router somehow. That router needs to have routing in it to know to send the 2 networks to your device.
Note if your switch is only layer 2 you now have the issue of how do I extend these vlans over a single cable to the device that can do routing. This is called 802.1q which if you need configured I would just pay someone or you can google and study it.
I want to premise this by saying that I am a technology coordinator for a school district with a background in education.
I have technicians that work for me that handle my servers and keep up on maintenance. I decide what we are going to buy and why.
I had a company come in to put in a wireless system...no names included...That could not complete the task because my VLANs were not setup correctly.
When I set up a VLAN, when you set the IP configuration for the VLAN, you use the IP address for the device, switch or router that you are trying to connect the VLAN to correct?
That is what I was trying to configure and they were telling me my network was not setup correctly and that I should pay them extra to get it done right.
Thanks for any and all help,