Vlan configuration - definitions and how to do it

Posted on 2009-02-20
Last Modified: 2012-06-27
is there someplace that can explain vlan configuration, definitions and what they mean, as well as examples of vlan configurations on switches.  I think i have the general idea of vlan configuration but some clear cut definitions as well as several examples to look at would be very helpful
Question by:PeterfromDenmark
    LVL 3

    Expert Comment

    LVL 5

    Expert Comment

    VLAN is a virtual LAN , where u logically seperate the LAN in to diffrent dep with appropriate subnet
    VLAN can communitate with each other via L3 device like layer 3 switch or Router.

    LVL 1

    Accepted Solution

    vLAN's are pretty simple.     First thing you want to do is create the sub interface on you router.

    Fa0/1.22       (the .22 I use the name of the vlan for the sub-interface)
    encapsulation dot1Q 22
    ip address   (your gateway ip is fine.  Its also dependent on your needs)

    Now on your switch you want to set the vtp mode and vtp domain.  (These are for multiple switchs)

    VTP Mode transparent   (Modes are server, transparent, client)
    VTP Domain mynetwork
    config t
    vlan 22
    name myvlan
    ip address (management IP for switch)
    int fa0/1
    switchport access vlan 22

    Now on the switch you also need to configure your trunk interface that connects to your router
    int fa0/24
    switchport trunk encapsulation dot1q
    switchport trunk allowed vlan 22
    switchport mode trunk

    Thats pretty much all you need to configure a vLAN..  Its really simple.  

    Featured Post

    Better Security Awareness With Threat Intelligence

    See how one of the leading financial services organizations uses Recorded Future as part of a holistic threat intelligence program to promote security awareness and proactively and efficiently identify threats.

    Join & Write a Comment

     One of the main issues with network wires is that you never have enough.  You run plenty and plan for the worst case but you still end up needing more.  What many people do not realize is with 10BaseT and 100BaseT (but not 1000BaseT) networks you …
    Do you have a computer or other electronic gear that is attached to a rat nest of cables, or alternatively have your cables all bundled nice at neat?  If so then read this post to sidstep common pitfalls. When I was a student at DeVry University,…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…
    Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

    733 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

    20 Experts available now in Live!

    Get 1:1 Help Now