HP Procurve 3400cl switch VLAN Configuration

Posted on 2011-04-25
Last Modified: 2012-05-11
I have an HP 3400cl ProCurve Switch.  What I want to accomplish is the following.

I have two distinct networks for two different companies that reside in our building.  I have one MPLS circuit terminated in to a Verizon router that we will use to connect our two companies to the others in the corporation.  We have a Verizon router in our server room that is used for the MPLS.  On the LAN interface are two IP addresses that corespond to the two networks.

Let say that they are and  Since there is only one interface, I want to set up a switch using VLANs to connect the two distinct networks to the LAN interface on the Verizon router.

I know that I can do this with VLANs, but I'm not sure how to do it. A friend told me that I would set up the VLANS and configure port 2 with one of them and port 3 with the other.  then port 1 with both in a trunk configuration.  

Can someone help?
Question by:cwalker007
    LVL 5

    Accepted Solution

    two things need to happen. This requires config on both the router and switch
    Firstly on the switch.
    Lets assume vlan 10 and vlan 20 are to be used

    to use your ports as mentioned above, from cli on the switch....

    conf t
    vlan 10
    tagged 1
    untagged 2
    vlan 20
    tagged 1
    untagged 3
    wr mem

    Now on the router......
    Those 2 IP's need to be assigned to individual vlans (not a primary and secondary ip as it sounds like now)
    Simply re-assign those ip's to the matching vlan interfaces rather than the physical interface and away you go :)

    Good luck
    LVL 5

    Expert Comment

    oh, and change the router physical interface to trunk mode.

    If this is a managed router the provider will need to do this for you.

    Author Comment

    Ok, thanks for the info, but I'm not going to be able to get the VLANS added to the Verizon switch.  Is that another way to accomplish what I want?
    LVL 5

    Expert Comment

    assuming the 3400 is capable of routing (i think it is but not 100%) you could setup a link between the router and the switch utilising a /30 subnet and using the switch to deal with the 2 large subnets above but this would require some changes by verizon to have those subnets routed to the switch rather than being directly connected and the additional subnet added to the MPLS routing table.

    I would be extremely suprised if verizon wouldn't come to the party to deliver the 2 subnets on seperate vlans remembering that the 2 vlans are local vlans only and do not travel through the MPLS "cloud".
    Assuming the verizon router is cisco, it would need 8 lines of config to be typed to achieve what you want.

    Featured Post

    IT, Stop Being Called Into Every Meeting

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    This article is focussed on erradicating the confusion with slash notations. This article will help you identify and understand the purpose and use of slash notations. A deep understanding of this will help you identify networks quicker especially w…
    AWS has developed and created its highly available global infrastructure allowing users to deploy and manage their estates all across the world through the use of the following geographical components   RegionsAvailability ZonesEdge Locations  Wh…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    734 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now