I have been tasked with setting up some VLANs on 10 HP 2520 switches. This is a departure from my normal IT support area so thought I'd seek out a little advice from more knowledgable people.
These switches are being deployed in a new building on site and will connect into the existing site infrastructure.
So... I need to setup the following VLANs:
Vlan ID: VLAN 53
Device IP Range: 10.12.130.1 - 10.120.130.250
Vlan ID: VLAN 54
Device IP Range: 10.12.140.1 - 10.120.140.250
Vlan ID: VLAN 55
Device IP Range: 10.12.150.1 - 10.120.150.250
I've had a play around with the configurations and these are the commands I believe i need to use to create a VLAN on each of the switches.
1. Create the VLANs
HP-Switch(Config)#Vlan 530 name "SVR"
HP-Switch(Config)#Vlan 540 name "CAM"
HP-Switch(Config)#Vlan 550 name "DESK"
2. Allocate ports to VLANs
So that should have made the 3 VLANs on specific ports all routing via the tagged port 48.
What I cant understand is how I allocate the IP addresses. I had thought I could use the following command to tell the VLAN what IP range to use but it just comes up saying Bad IP
HP-Switch(vlan-53)# ip address 10.120.130.0 255.255.255.0
If i change it to 130.1/24 then the switch is allocated the .1 address meaning I'd have to setup an IP for each of the 10 switches for each of the VLANs meaning there would in effect be 4 managment IPs for each switch.
Do i even need to assign an IP range to the VLAN? The IP addresses are allocated to specific MAc addresses by the existing DHCP servers.