Configuring VLANs

pts.
Tags:
Cabling
Hewlett-Packard
Hubs
Routers
Switches
VLAN
VLAN configuration
Hello All; If I'm configuring multiple VLANs on a Layer 3 switch (HP) do I have to setup static routes or will the switch learn them automatically? Also if I have multiple VlAN's on the Layer 2 switches that connect to the Layer 3 do I have to setup port trunking in order for traffic to be able to pass to all VLANs? Thanks in advance. Dave

Answer Wiki

Thanks. We'll let you know when a new response is added.

Dave:
If you aren’t connecting to any other networks, you don’t need to add routes to the layer 3 switch. Think of it as a router. If you configure an IP for each VLAN, the router will automatically know about that subnet and the VLAN associated with it. On the other hand, if you need to reach other networks not directly connected to the router, you will need to notify the router in some way. This can be with a static route statement or by using dynamic routing like RIP or OSPF.

As for the trunking, in the non-cisco world, this is referred to as VLAN tagging. You will have to configure all of the VLANS you want to pass through a switch, even if no user ports will be mapped to that VLAN.
For the port connecting the switches, one VLAN can be untagged. This is called the native VLAN in cisco language. All of the other VLANS running through the port have to be tagged. If you do this, you can run all of the VLANs to every switch so they can be brought out wherever they are needed.
Once you have configured VLANs on an HP switch, the way to map a user port to a VLAN is to set that port to use just that VLAN untagged.
The VLAN section under the switch configuration menu is fairly straightforward. Once you have created the VLANs on the switch, the VLAN port assignment section is obvious.
rt

——————————————

Typically, a router/L3 Switch will be able to route VLAN traffic through known and/or connected routes as long as IP routing is enabled. And, from a layer 2 device to a separate L3 device, trunks are usually the best way to inter-connect all VLANs

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • Tbitner
    Dave, My remarks (possibly flawed); If you give you Vlan interfaces IP address, the L3 switch should know how to get to those directly connected networks. Your hosts will need their gateway changed to the vlan interface IPs. You'll need static routes for networks not directly connected. Think of a L3 switch as a standard switch until you put IP addresses on interfaces (including virtual interfaces). Once an interface has an IP address, it behaves like a router interface. Make sure to turn on IP routing on the switch. If you stay with L2 Vlans, you'll need one trunk port (tagged for vlans) connected to a router that has sub-interfaces for each vlan to route between each vlan. This is called "router on a stick". For the L2 switches with multiple VLANS, is each switch a separate VLAN, or multiple VLANs on multiple switches? If the latter, yes you'll need a "tagged" port to trunk all the VLANS across a single link. From my brief experience, though, I could not use more than one port a trunked on a HP switch. Also try looking in the HP procurve guides online, they'll explain how HP implements VLANS.
    510 pointsBadges:
    report
  • AmyKucharik
    Hi Dave, This may or may not help with your specific question, but I thought it might be good as a general reference: Screencast: Configuring VLANs It's a 15-minute automated demo of how to configure a VLAN with David Davis. Enjoy!
    870 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following