Options

Vlan on Switch vs Router?

Node ManNode Man Member Posts: 668 ■■■□□□□□□□
Hi Everyone,
Can vlan's be set up on routers or just switches? Also, please correct me if i am wrong, that vlans depend on on subnets created in a router, so a router *must* be subnetted before a switch can be split into vlans?

Thanks,
Node

Comments

  • Options
    palitpalit Member Posts: 96 ■■□□□□□□□□
    Vlan i.e, virtual LAN is a Layer 2 (data link layer ) concept which works same as routers does in the Layer 3 (network layer ).Routers are used to connect VLANs in two different networks as far as my knowledge goes.
  • Options
    kemar1014kemar1014 Member Posts: 26 ■□□□□□□□□□
    It can be configured on both. On switch you use it to separate into groups. while on the router you use trunks to enable routing between the different vlans.
  • Options
    zrockstarzrockstar Member Posts: 378
    Node Man wrote: »
    a router *must* be subnetted before a switch can be split into vlans?

    Nope. You can have a network that is just a switched environment with VLANs. If you want the VLANs to talk to each other or to the outside, then you will need a router, but it is not a requirement simply for a switched VLAN environment.
  • Options
    EV42TMANEV42TMAN Member Posts: 256
    Are you working on ICND1 or ICND2? because the router on a stick configuration is covered in ICND2. Basically if you want to set up routing between vlans you set up you vlans on the switch and create a trunk link between the switch and router. On the router you configure sub interfaces and assign the vlans to the sub interfaces. The most logical way to set it up would be
    VLAN 1 Fastethernet0/0.1 192.168.1.0/24
    VLAN 2 Fastethernet0/0.2 192.168.2.0/24
    VLAN 3 Fastethernet0/0.3 192.168.3.0/24
    etc
    Current Certification Exam: ???
    Future Certifications: CCNP Route Switch, CCNA Datacenter, random vendor training.
  • Options
    Node ManNode Man Member Posts: 668 ■■■□□□□□□□
    I am studying for ICND1. Thanks for all the great info everyone! Anymore good advice?
  • Options
    Danielh22185Danielh22185 Member Posts: 1,195 ■■■■□□□□□□
    Node Man wrote: »
    I am studying for ICND1. Thanks for all the great info everyone! Anymore good advice?

    Basically what has been said. VLANS are designed to run on switches and routers. There are fundamental differences of what works where and why. A VLAN's primary function is to separate hosts into different groups based on function need, geographic location, etc. Once built into a VLAN hosts can only communicate with themselves on that particular VLAN. This separates them essentially into different networks. A router or a layer 3 device would be needed to communicate VLAN to VLAN.
    Currently Studying: IE Stuff...kinda...for now...
    My ultimate career goal: To climb to the top of the computer network industry food chain.
    "Winning means you're willing to go longer, work harder, and give more than anyone else." - Vince Lombardi
  • Options
    mohamedshajidmohamedshajid Member Posts: 81 ■■□□□□□□□□
    understanding Vlans is not a complicated story but you should able to understand why vlan using? mostly identify the section at all! Even when router is used probably you could connect a pc in outside (gateway) so all you need a gateway router to connect to outside.
    [2013] CCNA Cert Exam @IBM Premier Campus in Sri Lanka
    + Reading Todd Lammle CCNA 7th Edition, CCENT Cert Dummies
    I'm totally afraid of heard strange word of cisco
    + Next Career - Red Hat Linux Networking And CCNA: Security (2013 Before June)
  • Options
    NewInBussinesNewInBussines Member Posts: 28 ■□□□□□□□□□
    Indeed to connect a pc outside the gateway you need a router.The simpliest way is to use a layer 3 switch which knows routing and vlans ;))
Sign In or Register to comment.