Switches, Hubs, and Modems
cancel
Showing results for 
Search instead for 
Did you mean: 

ip address

SOLVED
Go to solution
ammadeyy
Contributor

ip address

im using hp procurve switch

i want to add 2 subnets to a VLAN
i added
primary 10.17.4.0
secondary 10.17.5.0
it gives message 10.17.5.0 subnet already exist

when i add
primary 10.25.33.101
secondary 10.26.33.101
it works

im thinking, wats the difference between primary and secondary addrress

is that the second number is changing?
eg : 10.25
10.26
1 REPLY
claramunt_1
Advisor
Solution

Re: ip address


Which subnet masks are you using?

primary 10.17.4.0
secondary 10.17.5.0
are network addresses: doesn´t work

primary 10.25.33.101
secondary 10.26.33.101
are host addresses: it works

You can configure one primary IP address per VLAN and up to seven secondary IP addresses for the same VLAN but each IP address on a VLAN must be for a separate subnet. The switch assigns the first IP address manually configured on a VLAN as the primary IP address. The switch then assigns any subsequent IP addresses (for other subnets) manually configured on the VLAN as secondary addresses.

Example:

HPswitch(config)# vlan 20
HPswitch(vlan-20)# ip address 10.17.4.1 255.255.255.0
HPswitch(vlan-20)# ip address 10.17.5.1 255.255.255.0