+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
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 ...
  1. #1

    Join Date
    Aug 2007
    Posts
    802
    Thank Post
    95
    Thanked 60 Times in 45 Posts
    Rep Power
    25

    PROCURVE VLAN SETUP - Cannot figure out how to get trunking to work correctly!!

    vlan.jpg

    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?

  2. #2

    Join Date
    Feb 2008
    Location
    Wiltshire
    Posts
    860
    Thank Post
    273
    Thanked 130 Times in 110 Posts
    Blog Entries
    26
    Rep Power
    39
    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

  3. #3

    Join Date
    Jul 2005
    Location
    Rugby
    Posts
    432
    Thank Post
    17
    Thanked 66 Times in 61 Posts
    Rep Power
    34
    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

  4. #4

    Join Date
    May 2011
    Location
    Jus North of London, close but not too close
    Posts
    671
    Thank Post
    155
    Thanked 51 Times in 49 Posts
    Rep Power
    33
    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.

  5. #5

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,714
    Thank Post
    269
    Thanked 1,116 Times in 1,012 Posts
    Rep Power
    345
    Yup as stated above. In HP speak you need to Tag rather then trunk a port. I believe its the oppersite with other kit.

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,800
    Thank Post
    110
    Thanked 582 Times in 503 Posts
    Blog Entries
    1
    Rep Power
    223
    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.

  7. Thanks to Geoff from:

    burgemaster (7th November 2012)

  8. #7

    Join Date
    Aug 2007
    Posts
    802
    Thank Post
    95
    Thanked 60 Times in 45 Posts
    Rep Power
    25
    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.

  9. #8

    Join Date
    Aug 2007
    Posts
    802
    Thank Post
    95
    Thanked 60 Times in 45 Posts
    Rep Power
    25
    Quote Originally Posted by Geoff View Post
    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
    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?
    Last edited by burgemaster; 7th November 2012 at 05:53 PM.

  10. #9
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,604
    Thank Post
    154
    Thanked 205 Times in 190 Posts
    Rep Power
    64
    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)

  11. #10

    Join Date
    Aug 2007
    Posts
    802
    Thank Post
    95
    Thanked 60 Times in 45 Posts
    Rep Power
    25
    Quote Originally Posted by gshaw View Post
    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!

  12. #11

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,714
    Thank Post
    269
    Thanked 1,116 Times in 1,012 Posts
    Rep Power
    345
    type show run and paste it up here removing and sensitive info

  13. #12

    Join Date
    Aug 2007
    Posts
    802
    Thank Post
    95
    Thanked 60 Times in 45 Posts
    Rep Power
    25
    Quote Originally Posted by glennda View Post
    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

  14. #13

    glennda's Avatar
    Join Date
    Jun 2009
    Location
    Sussex
    Posts
    7,714
    Thank Post
    269
    Thanked 1,116 Times in 1,012 Posts
    Rep Power
    345
    Quote Originally Posted by burgemaster View Post
    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!

  15. #14

    plexer's Avatar
    Join Date
    Dec 2005
    Location
    Norfolk
    Posts
    12,967
    Thank Post
    587
    Thanked 1,495 Times in 1,341 Posts
    Rep Power
    398
    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

  16. #15
    gshaw's Avatar
    Join Date
    Sep 2007
    Location
    Essex
    Posts
    2,604
    Thank Post
    154
    Thanked 205 Times in 190 Posts
    Rep Power
    64
    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)

  17. Thanks to gshaw from:

    Netman (8th November 2012)

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. How to get an Ipad working with a projector?
    By Damadarxx in forum Netbooks, PDA and Phones
    Replies: 11
    Last Post: 8th March 2012, 12:41 PM
  2. Replies: 3
    Last Post: 10th March 2011, 07:42 PM
  3. jsmallfib strugling to figure out how to use (SOLVED)
    By PEO in forum EduGeek Joomla 1.5 Package
    Replies: 4
    Last Post: 25th July 2009, 11:55 AM
  4. Replies: 4
    Last Post: 24th January 2008, 11:08 AM
  5. Replies: 17
    Last Post: 15th December 2006, 10:59 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •