Need help with vLANing in HP A5500-HI (186 Views)
Reply
Occasional Contributor
evil_evo
Posts: 4
Registered: ‎01-09-2014
Message 1 of 2 (186 Views)

Need help with vLANing in HP A5500-HI

Hello All,

Spent alot of time on this and since do not have enough knowledge on how to do this I need some help.

All our ports configured to access vLAN 10

What we are trying to do is we have two ports port GE 1/0/2 and GE 1/0/4 what we want is to give access to vLAN 10 and 20.

NOTE switch/vLAN10 is on one subnet however vLAN 20 will be on totally different subnet (I think this is where we have the issue)

How do i do this? Do I need to assign IP address to port GE 1/0/2 and GE 1/0/4 as vLAN 10 and 20 are on two different subnets.

I have tried to do this via UI but didnt work. any suggestion or command I should be using to create vLAN using CLI?

Thanks.

Valued Contributor
Apachez-
Posts: 173
Registered: ‎10-06-2013
Message 2 of 2 (179 Views)

Re: Need help with vLANing in HP A5500-HI

Depends on your situation and what you want to achieve but one method could be to setup an ip address for vlan10 and another ip (and subnet) for vlan20.

 

Since both vlans now has route interfaces traffic will automatically be exchanged between the vlans if thats what you want?

 

That is (example):

 

vlan 10

vlan 20

 

int vlan 10

ip address 10.10.0.254 255.255.255.0

quit

 

int vlan 20

ip address 10.20.0.254 255.255.255.0

quit

 

int range gi 1/0/1 to gi 1/0/24

port access vlan 10

quit

 

int gi 1/0/2

port access vlan 20

quit

 

int gi 1/0/4

port access vlan 20

quit

 

Now, clients attached to vlan10 ports will set 10.10.0.254 as default gateway while clients attached to vlan20 ports (1/0/2 and 1/0/4) will set 10.20.0.254 as default gateway.

 

And now they should be able to reach each other (in this case the 5500 will act as a router).

 

Another solution could be that you have another switch connected to 1/0/2 and then I would suggest you to use tagged vlans, that is "port trunk" like so:

 

int gi 1/0/2

port link-type trunk

trunk permit vlan 10 20

quit

 

A third option would be that you want vlan10 untagged and vlan20 tagged on this interface.

 

Then the config should look like:

 

int gi 1/0/2

port link-type trunk

undo trunk permit vlan 1

trunk permit vlan 10 20

trunk pvid vlan 10

quit

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.