Wired Networks Thread, PROCURVE VLAN SETUP - Cannot figure out how to get trunking to work correctly!! in Technical; vlan.jpg
Can anyone please help. We have a test switch setup and we are trying to setup a very simple ...
7th November 2012, 04:01 PM #1
PROCURVE VLAN SETUP - Cannot figure out how to get trunking to work correctly!!
Can anyone please help. We have a test switch setup and we are trying to setup a very simple VLAN using two HP 2650 switches.
We have created a VLAN using just one port (port 1) on each of the switches. These VLANS called "CAMLAN" have a separate address range to the network (192.168.0.1 on switch 1 and 192.168.0.10 on switch 2)
The rest of the ports are as normal part of the DEFAULT_VLAN (ip 10.50.4.20 on switch one and 10.50.4.30 on switch 2)
We want to connect the two switches together so that BOTH vlans use the same single port for traffic. So we setup port "48" on both ports as a "trunked port"
We just cannot get the switches to connect and traffic travel between them, e.g from the network I cannot ping the student PC (ip 10.50.4.100) and from the "Camera PC" (ip 192.168.0.2) we cannot ping the IP camera (192.168.0.100)
Can anyone please suggest what we are doing wrong?
7th November 2012, 04:19 PM #2
Trunk ports (ie. the Ports that link to another switch) have to be 'tagged' with VLAN(s) that you want to be allowed to go to those switches. If I'm understanding you correctly?
7th November 2012, 04:29 PM #3
Trunking in HP terminology refers to Link Aggregation.
@FragglePete is correct that the ports you are using as uplinks need to be tagged with the vlans that you want to pass over these links (and be untagged for vlan 1).
7th November 2012, 04:45 PM #4
I guess you have got IP routing on the switch (has this switch got Layer 3 capability for intervLan routing) or an external device routing between the 2 different vLANS. And also that you have the camera plugged into a port which is untagged for the CAMLAN vLAN. For devices on 2 different vLANS to comminicate some sort of routing needs to be done I'm sure.
As @FragglePete suggests you need also need to tag the uplink/downlink ports for the vLAN traffic. Which is probably why you cannot ping the Camera from the Camera PC.
7th November 2012, 04:55 PM #5
Yup as stated above. In HP speak you need to Tag rather then trunk a port. I believe its the oppersite with other kit.
7th November 2012, 05:05 PM #6
The gui is terrible. Use the console interface or remote over SSH. Also seem to remember I went through explaining ProCurve VLAN tagging in this guide about using VLANS on Linux.
HOWTO: Using 802.1Q VLANs directly with Linux
Last edited by Geoff; 7th November 2012 at 05:07 PM.
Thanks to Geoff from:
burgemaster (7th November 2012)
7th November 2012, 05:48 PM #7
thanks for the replies.
I have been doing all the config from telnet. There is a whole section on "Trunking". Are you saying that I turn off the trunking on port 48 and just simply "Tag" port 48 on both switches? this is what we tried originally and it didnt work
We then followed some guides and they pointed us to the trunk settings in the config.
How do you "Tag a port to a each VLAN??" We only have ONE port in then camera VLAN so how do we tag port 48 (connects the 2 switches) into this VLAN ? if we add it into the vlan and tag it, it is then a 2nd port which is part of that VLAN and we then cant ALSO "tag" it in the default vlan? (as we need both VLANs traffic to go through this port 48)
We can only have one port used for the connection between switches as these are all fiber links.
Thanks again, confused. Maybe we need to completely erase the switches and start from scratch.
Last edited by burgemaster; 7th November 2012 at 05:51 PM.
7th November 2012, 05:49 PM #8
Thanks Gueff will read this in the morning, i have had enough to today, i will be dreaming on VLANS and ports later!
Originally Posted by Geoff
Does it matter that we are using a straight network cable between switches and not a crossover cable or minig`s and fiber cable or something like that?
Last edited by burgemaster; 7th November 2012 at 05:53 PM.
7th November 2012, 05:56 PM #9
If I'm understanding it right...
- port 48 needs to be tagged for any VLANs you want to pass traffic for i.e. CAMLAN (whatever number you've assigned to it)
- port 1 needs to be set as untagged in the VLAN called CAMLAN (if your cameras don't have a VLAN tag defined in their settings)
7th November 2012, 06:06 PM #10
Just realised that you can actually set that port 48 to "tagged" in both of the VLANs at the same time! Thanks, hopefully this will work in the morning!
Originally Posted by gshaw
7th November 2012, 06:19 PM #11
type show run and paste it up here removing and sensitive info
7th November 2012, 06:25 PM #12
I will do that first thing, I just tagged ports remotely and lost connection to both switches from home so will do it first thing.
Originally Posted by glennda
7th November 2012, 06:50 PM #13
ah the amount of times i've done that!
Originally Posted by burgemaster
7th November 2012, 07:32 PM #14
Trunking on your HP switch is to allow you to create a trunk of 2 or more copper connections between a switch and allow them to function without causing a loop.
To allow the vlan traffic to pass over that trunk you would also need to tag the ports with the relevant vlans.
By creating a trunk on port 48 you aren't acheiving a gain, if you trunked ports 47 & 48 on both switches you could then connect 2 cables between the switches and if you then tagged those ports for your vlans that traffic would also pass.
7th November 2012, 08:19 PM #15
Also to add to the post above, if you trunk 47 and 48 together to get a 2Gb link you need to tag the VLANs after creating the trunk link. If you do it beforehand the creation of the trunk wipes out the VLAN tags.
Key points for HP ProCurve....
trunk = multiple ports aggregated together for more bandwidth
tagged = multiple VLANs going over the same link (for switch to switch links etc). A port can be tagged in multiple VLANs
untagged = the VLAN the port belongs to for endpoint devices (only one VLAN can be set as untagged on a port at any one time)
Thanks to gshaw from:
Netman (8th November 2012)
By Damadarxx in forum Netbooks, PDA and Phones
Last Post: 8th March 2012, 12:41 PM
By CM786 in forum Windows Server 2008 R2
Last Post: 10th March 2011, 07:42 PM
By PEO in forum EduGeek Joomla 1.5 Package
Last Post: 25th July 2009, 11:55 AM
Last Post: 24th January 2008, 11:08 AM
Last Post: 15th December 2006, 10:59 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)