In this lesson we will take a look at VLANs (Virtual LANs) and I will explain what they are and why we need them.

First of all let me show you a picture of a network:

Look at this picture for a minute, we have many departments and every department has its own switch. Users are grouped physically together and are connected to their switch. what do you think of it? Does this look like a good network design? If you are unsure let me ask you some questions to think about:

What happens when a computer connected to the Research switch sends a broadcast like an ARP request?

What happens when the Helpdesk switch fails?

Will our users at the Human Resource switch have fast network connectivity?

How can we implement security in this network?

Now tell me explain you why this is a bad network design. If any of our computers sends a broadcast what will our switches do? They flood it! This means that a single broadcast frame will be flooded on this entire network. This also happens when a switch hasn’t learned about a certain MAC address, the frame will be flooded.

If our helpdesk switch would fail this means that users from Human Resource are “isolated” from the rest and unable to access other departments or the internet, this applies to other switches as well. Everyone has to go through the Helpdesk switch in order to reach the Internet which means we are sharing bandwidth, probably not a very good idea performance-wise.

Last but not least, what about security? We could implement port-security and filter on MAC addresses but that’s not a very secure method since MAC addresses are very easy to spoof. VLANs are one way to solve our problems.

One more question I’d like to ask you to refresh your knowledge:

How many broadcast domains do we have here?

What about broadcast domains? We didn’t talk about this before but I think you can answer it. If a computer from the sales switch would send a broadcast frame we know that all other switches will forward it. Did you spot the router on top of the picture? What about it…do you think a router will forward a broadcast frame?

We're Sorry, Full Content Access is for Members Only...

If you like to keep on reading, Become a Member Now! Here is why:

Learn any CCNA, CCNP and CCIE R&S Topic. Explained As Simple As Possible.

Try for Just $1. The Best Dollar You've Ever Spent on Your Cisco Career!

- I made a simple topology of connection two switches and making connectivity as trunk.
- I made one switch VTP server and another as VTP client.
- I also setup RSPAN to monitor the packets.
- Results, I saw VTP, CDP traffic marked with VLAN ID 1.
- Then, I made another vlan and disallowed Vlan 1 in the trunk.
- Results still the same.
- I thought it

Let’s start with the technical part…a lot of networking people will tell you that you shouldn’t have > 200 hosts in a subnet since there will be too much broadcast traffic and it will slow down your network. This might be true 10 years ago but nowadays, your computers won’t be bothered much with broadcast traffic and it shouldn’t be an issue for your switches. You could probably put ~1000 hosts in a single subnet and not notice any performance issues.

Hi I think I may have gotten a bad prep exam question as I cannot get it to work in labs and it does not make sense fully to me from how I learned VLANS. I will upload the practice test question from Boson and would like input please.

Let’s say a switch has 24 access ports where ports 1-12 are on VLAN 10 and ports 13-24 are on VLAN 20. Let’s say a broadcast frame is sent on port 1. The switch will receive that frame and send it out of ports 2 to 12. Why? Because it knows that it entered port 1, therefore it is on VLAN 10, therefore it will send it out of all ports that have been configured on VLAN 10. It doesn’t even look at the details of the frame itself, because there is no data in the frame that gives the switch VLAN information. The information comes only from the fac

Testimonials

I'm working to obtain the Cisco CCNP R&S certification and NetworkLessons.com makes me more understandable Cisco's technologies. Thanks a lot Renee for the quality of your lessons!

Cyril CamardNetwork EngineerOctober 8, 2015

Fantastic

I found NetworkLessons.com when I was trying to find a solution to understand some networking concepts. René is doing a fantastic job explaining complex subjects in a simple way. I really recommend everyone to become a member. NetworkLessons.com gives valuable advice to become CCIE. Thank you so much!

Juliano V. LopesTechnical DesignerApril 3, 2018

Presents Lessons in an Understandable Way

NetworkLessons.com was recommended to me by several friends. While studying for CCNP Route, NetworkLessons.com presents the lessons in such an understandable way, that I picked up more in 1 hour, than I had in years of CCNA at other sources. Their videos are comprehensive and the written material covers any questions I have. The site owner, Rene, gives it a personal touch that you don't find anywhere else; he interacts and helps along the way. The pricing is very good and so I decided to keep the subscription running as a resource in my career - not just for an exam. I would recommend NetworkLessons.com over all other the well-known sites to any new or senior engineers.

Nick FletcherHosting EngineerFebruary 14, 2018

Can’t Miss for a Day

NetworkLessons.com makes labs look easy and understandable. I seriously can't miss a single day without being a member of their website. NetworkLessons.com is a fantastic and very helpful e-learning site. They provide you the best and the most important knowledge that you need to get any networking job done. Thank you!

Jean CasimirSr Network EngineerAugust 14, 2017

A Godsend!

NetworkLessons.com explains everything in such an understandable way. For years I've been reading Cisco Press books and websites over and over to grasp concepts, but on Networklessons.com, I grasp concepts immediately and retain them better. Thank you!

Jeremi RichardsonNetwork EngineerJune 7, 2017

Lots of Useful Cisco Information Here

My students at Touro College and university can find a lot of useful Cisco information at this website. What can I say... I love NetworkLessons.com! You should be thanked more often. Thank you :)

Thomas AlvaneliCisco InstructorFebruary 14, 2019

Highly Recommended

The lessons are well structured, easy to understand, clear and very thorough. I appreciate the diagrams (pictures work great for me) and the example configs. It's very easy to copy the provided configurations into your home lab and play with the exact scenarios they explain to you. I would recommend NetworkLessons.com to anyone. I went for the yearly membership and only had it for 2 months and feel it had already paid off!

Dan MassaNetwork EngineerApril 20, 2018

The Best Cisco Training Materials

NetworkLessons.com is the best Cisco training resource I have ever seen. Their lessons are very legible, straight to the point and accurate which are very helpful to pass different Cisco certification exams. And help you out for real world scenarios as well. Keep on going NetworkLessons.com!

Azm Uddin Network EngineerMarch 15, 2017

Best Guide for Networking

Every topic is explained in the most simple way possible and still covering very good technical depth. For me, NetworkLessons.com is always the first choice for learning any routing, switching or security topic.

Nanu NaikNetwork EngineerDecember 15, 2016

Simple, Clear and Understandable

The lessons of NetworkLessons.com are thought through well and explained in a simple, clear and understandable way. I really like the combination of videos and written lessons!

Ferenc TüskésNetwork AnalystFebruary 19, 2018

Easy to Follow

NetworkLessons.com is very organized in its lessons and courses, simple and easy to follow. It's almost addictive!

Subrata SenRyerson UniversitySeptember 5, 2017

Excellent Materials

NetworkLessons.com helped me land my current job right now. When I was affected by a layoff I had forgotten my networking skills. I needed to brush up my skills FAST. I used NetworkLessons.com extensively to relearn the materials within 1 month and as well as prepared for potential interview questions. Thank you for this wonderful site.