LAN Routing
cancel
Showing results for 
Search instead for 
Did you mean: 

Layer 2 switches connected to layer 3

 
bobbys9
Occasional Contributor

Layer 2 switches connected to layer 3

My experience is with Cisco where I would assign an IP to a single vlan on a switch, create a etherchannel, and create the same vlan on the core with an IP in the same subnet. I let the core do intervlan routing and let the edges run at layer 2. I am having trouble knowing how to do the same with Procurve switches. If I create an lacp with 2 ports in the created vlan (say 10), I don't see where they are part of a bundle. When I create the 2 ports as a trunk, they show up in vlan 1 (default). Any explanation would be appreciated. Thanks.

2 REPLIES
Vince_Whirlwind
Trusted Contributor

Re: Layer 2 switches connected to layer 3

A "trunk" is an aggregated link.

 

Seperate the two things out: ignore "trunks" until you've figured out how to create an 802.1q link.

 

You create an 802.1q link on a Procurve by telling it to tag a VLAN on an interface.

You don't do this in the interface like Cisco, you do it in the VLAN.

eg

vlan 2 tag 1-4,6

 

Add more VLANs:

vlan 3 tag 1-4

vlan 4 tag 1-4

 

Remove VLAN 1:

no vlan 1 untag 1-4

 

Thus, ports 1-4 have VLANs 2,3 & 4 all tagged.

 

Alternatively, you can use the "menu" for configuring VLANs, which is how I used to do it years ago because it seemed clearer what was going on:

type

menu

2

7

2

 -- "Add" your VLANs

 -- go "back"

3

 

 

 

Vince_Whirlwind
Trusted Contributor

Re: Layer 2 switches connected to layer 3

To create an aggregated link,

trunk 1-4 trk1 trunk

 

Thus, ports 1-4 are now in a trunk, called "trk1".


If you are being asked specifically to create a LACP link,

trunk 1-4 trk1 lacp


But don't use LACP just for the hell of it, make sure somebody can document the reason for it, otherwise, just use "trunk".