First of all. IP adressess/subnet are not related to a VLAN, it's a Layer2 protocol (below TCP/IP and such wich is a Layer3 protocol).
There are several ways of setting up vlan on a Procurve switch:
- The Web interface
- The builtin menu via CLI (conf t and then setup)
- CLI
Most admins out there come from a Cisco-regulated world, so they always use CLI (like I do).
Example VLAN configuration via CLI (remember, conf t first)
vlan 1234
name "McLovin's super VLAN"
untagged 5-8,12
tagged 24
exit
Explainations:
- vlan = the VLAN ID
- name = something descriptive so you know what this VLAN is used for
- untagged = the untagged ports for normal network clients (PC's, servers etc)
- tagged = the tagged ports for other switches to pass on VLAN traffic
I strongly advise you to pick up the manual/documentation for your switch and start reading - or hire a network consultant to train you on how this works. And please - test this before deploying out to your clients.