Link to home
Start Free TrialLog in
Avatar of IBSIT
IBSIT

asked on

Connect two subnets via HP3500YL Switch

I would like to connect two subnets via HP3500YL Switch. one subnet has Voice/Data the other is Data only.
Avatar of Chris H
Chris H
Flag of United States of America image

Do it.  

ftp://ftp.hp.com/pub/networking/software/3500_5400_6200_MgmtConfigGde-July2006-59913826.pdf

You could create VLANs or you could use subnetting.  The world is your oyster.
Avatar of Andy Cantu
Andy Cantu

I'm not really familiar with the commands on HP switches, as I'm more of a cisco guy, but you would need to do something like this. Let's just say these are your subnets:

Subnet 1: 192.168.10.0/24
Subnet 2: 192.168.20.0/24

To be able to route between them using only that switch you mentioned, you'd have to type these commands:
config terminal
ip routing

int vlan 10
ip address 192.168.10.1 255.255.255.0
no shutdown

int vlan 20
ip address 192.168.20.1 255.255.255.0
no shutdown

Typing in these commands or their HP equivalents should enable routing between the two subnets.  You'd also have to make sure that all the devices in those subnets (phones, pcs, etc.) had their default gateway set to one of the IPs you set in the above commands (192.168.10.1 or 192.168.20.1).

Let me know if this works for you.
Good luck.
Avatar of IBSIT

ASKER

Do i need to Create Trunks too?
Trunks are used when you need to switch multiple subnets or VLANs across one physical link, such as when you have a link connected to a router or to another switch.  You wouldn't need trunks unless you had a link to one of these devices.

If you just wanna route between the two subnets using that one switch, what I gave you should suffice.  If you gave an example of your environment and exactly what you're trying to do, I could probably give more targeted advice.

Thanks.
Avatar of IBSIT

ASKER

Ok andy,

here is what i am trying to achieve. I have a 5 story building trying to link multiple subnets to 5th floor.

1&2 Floor Subnet 192.168.200.0/24 Data only
4th Floor Subnet 10.0.0/24 - Voice and Data
5th Floor Subnet 192.168.201.0/24 - Voice and Data

I have physical links via Cat6 Cables to 5th floor from all floors.

I would like all data to pass through to fifth Floor. Since they Switches have Voice vLANs i would like to know my options.
Okay, how are all these floors connected together?  Does each floor have an IDF closet with its own switch?  Or is there just one main HP switch somewhere that has links to every floor? How is it connected now?

A diagram might help.
Avatar of IBSIT

ASKER

Each floors are independent with their own 3500YL Switches.
Oh okay, then you would need trunks configured between each of those switches, making sure that all your VLANs are allowed on each trunk.

Do you have VLANs currently configured?  What are they?
Avatar of IBSIT

ASKER

1st and 2nd Floor Switch config.

vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-24
   no ip address
   exit
vlan 3
   name "Voice"
   untagged 5,24
   tagged 1-4,6-23
   voice
no ip address
   exit
vlan 2
   name "Data"
   untagged 1-4,6-23
   ip address 192.168.200.20 255.255.255.0
 
4th Floor
vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-24
   no ip address
   exit

Fifth Floor Switch Configuration

vlan 1
   name "DEFAULT_VLAN"
   no untagged 1-24
   no ip address
   exit
vlan 5
   name "Voice"
   untagged 5,22
   tagged 1-4,6-21,23-24
   voice
   no ip address
   exit
vlan 4
   name "Data"
   untagged 1-4,6-21,23-24
   ip address 192.168.201.5 255.255.255.0
I'm still not entirely sure I understand what you're trying to accomplish.  A diagram would really help.
Avatar of IBSIT

ASKER

Ok I will draw out a diagram but i am trying to pass all traffic to 5th floor to accommodate a VM environment where my SAN is stored. I have my VMs on local storage and i need to have them all point to the SAN, so i need all data traffic to go there.
Oh okay, I think I may get it.

Firstly, you want to make sure that the 5th floor switch has ALL of the VLANs configured.  If you're not using VTP, you're going to have to just type them in manually:
vlan 101
name whatever
vlan 102
name whatever2
etc.

You're also going to want to make sure that you TAG every port that goes to the other switches in the VLANs you're using, to make them trunk ports.

Still, a diagram would help.
Okay, so you want to use the fifth floor switch to route between vlans 1-5? Or do you have a router that's going to do that?  

What ports are you using on switch 5 to connect to the other switches?  And what ports on the other switches?
Avatar of IBSIT

ASKER

I would like the switches to do this as it is gigabit. I can use port 1 through 4. the other switches i will use Port 24
ASKER CERTIFIED SOLUTION
Avatar of Andy Cantu
Andy Cantu

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of IBSIT

ASKER

Is this Strictly for the Data vlan or for the voice vlans as well?
The configuration I've posted above will allow all VLANs to communicate to and from the 5th floor switch, voice and data.
Avatar of IBSIT

ASKER

OK Thank you.
No problem. If I was helpful, please accept my solution.

Thank you!
Avatar of IBSIT

ASKER

Very Helpful thanks