burgemaster Posted November 7, 2012 Posted November 7, 2012 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?
FragglePete Posted November 7, 2012 Posted November 7, 2012 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? HTH Pete
saundersmatt Posted November 7, 2012 Posted November 7, 2012 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). Matt
Davit2005 Posted November 7, 2012 Posted November 7, 2012 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. 1
glennda Posted November 7, 2012 Posted November 7, 2012 Yup as stated above. In HP speak you need to Tag rather then trunk a port. I believe its the oppersite with other kit.
Geoff Posted November 7, 2012 Posted November 7, 2012 (edited) 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. http://www.edugeek.net/forums/nix/8907-howto-using-802-1q-vlans-directly-linux.html Edited November 7, 2012 by Geoff 1
burgemaster Posted November 7, 2012 Author Posted November 7, 2012 (edited) 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. Edited November 7, 2012 by burgemaster
burgemaster Posted November 7, 2012 Author Posted November 7, 2012 (edited) 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. http://www.edugeek.net/forums/nix/8907-howto-using-802-1q-vlans-directly-linux.html Thanks Gueff will read this in the morning, i have had enough to today, i will be dreaming on VLANS and ports later! 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? Edited November 7, 2012 by burgemaster
gshaw Posted November 7, 2012 Posted November 7, 2012 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)
burgemaster Posted November 7, 2012 Author Posted November 7, 2012 port 48 needs to be tagged for any VLANs you want to pass traffic 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!
glennda Posted November 7, 2012 Posted November 7, 2012 type show run and paste it up here removing and sensitive info
burgemaster Posted November 7, 2012 Author Posted November 7, 2012 type show run and paste it up here removing and sensitive info 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. Thanks
glennda Posted November 7, 2012 Posted November 7, 2012 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. Thanks ah the amount of times i've done that!
plexer Posted November 7, 2012 Posted November 7, 2012 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. Ben
gshaw Posted November 7, 2012 Posted November 7, 2012 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) 1
cpjitservices Posted November 7, 2012 Posted November 7, 2012 Trunk links ..... Gotta blame Cisco for that one Juniper is tagging also, Its alot easier.
burgemaster Posted November 8, 2012 Author Posted November 8, 2012 Thanks for all the help! It worked great. Last question! So say we have: default vlan - school network vlan1 - cameras, vlan2 - guest wifi How do we administer them all without have 3 network cards? router? Could I be pointed in the right direction please im sure there is a simple solution.
glennda Posted November 8, 2012 Posted November 8, 2012 You would need to setup Inter-vlan routing. Normally you would do this on the core switch and set the device as everybody's default gateway.
Geoff Posted November 8, 2012 Posted November 8, 2012 Or your router running your internet connectivity may be convinced to take this role.
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now