Jump to content

Assigning switch system IP address to a VLAN on HP 2920


Recommended Posts

Posted

Hi,

 

I ws wondering if somebody would be able to help me with this ongoing problem I am having with a HP 2920 switch.

 

Essentially I have been tasked to subnet a /21 in this case 10.42.128.0/21 into VLANs and I have devised the following

 

VLAN 10 - Internet (10.42.128.0/30)

VLAN 20 - Switches (10.42.128.64/26)

VLAN 30 - Servers (10.42.128.32/27)

.

.

.

VLAN 170 - Guest (10.42.128.128/26)

 

I can log in via the console and create the VLANs with the specific VID's and then once in context mode within the VLAN, setup the IP address (I am assuming I am entering the interface IP) for example

 

(vlan 10)# ip address 10.42.128.2/30

(vlan 20)# ip address 10.42.128.126/26

(vlan 30)# ip address 10.42.128.62/27

 

Now what I am trying to achieve is to set the switch system IP address as 10.42.128.65/26 and assign this to VLAN 20 and all I get is an error as it says the IP/subnet already exists.

 

I have tried to set the management vlan to VID 20 but that hasn't changed the error using command (#management_vlan 20)

 

Would anyone know what I am doing wrong or how I would achieve this?

 

Essentially vlan 20 will be used for all my switches and the HP2920 will be my core hence I would like to assign it the first usable IP within that subnet.

 

Many thanks for your time

 

Raj

Posted (edited)
is this switch going to be managed on the other subnets? and is it doing any inter-vlan routing? if not you only need to set the ip address for the vlan 20 management interface.by the looks of it the management interface will respond to the .126 address you have assigned without the need to add the .65 address. Edited by glen_j
Posted
is this switch going to be managed on the other subnets? and is it doing any inter-vlan routing? if not you only need to set the ip address for the vlan 20 management interface.by the looks of it the management interface will respond to the .126 address you have assigned without the need to add the .65 address.

 

 

Hi Glen,

 

Thanks for getting back to me.

 

The switch will be doing inter-vlan routing and will not be managed from any other vlan.

 

So am i correct in saying that if i assign the .126 address as the interface IP, that would also become the IP address of the switch if i switch over the management vlan to VID 20?

 

Thanks again.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...