VLAN and subnet diference

Hi dear experts!

In one internet site I found the definitions:

This is a term that refers to a group of TCP/IP addresses. Addresses in the same subnet are reachable without going through a router, and thus can be reached by broadcast. To reach addresses outside of a particular subnet, you must transmit through a router. This is all part of the TCP/IP protocol.

(Virtual LAN) A VLAN is created when a bunch of physically connected ports are grouped together by network hardware and software that supports VLANs. These VLANs are each treated as completely separate entities and can only be joined together by a router. This scheme is useful for grouping departments together for security and minimizing network traffic.

What is the main operative difference between a VLAN and subnet? logical, physical? I think they have the same purpose. Could we have various subnets in a VLAN? What is the optimum? One VLAN per subnet? I know that VLAN refers layer 2 business and subnet is layer 3 business. Both can be communicated by a router. Can somebody give me some comparisons?

Thanks in advance!
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

I think you got it

Think of each vlan a seperate netwok. (a vlan acts like normal Lan)

vlan 1 with subnet 192.168.1.x  

vlan 2 with subnet 193.168.2.x

You need a bridge or router to connect to two together(A layer 3 device).

But what's cool is

both vlans can run over same hardware (switchs and many lan card  now support Vlan)

If you have a level 2 Swtich only first packet go though the router the rest routed point point on the switch

Thiscan  be big speed boot to a network.

You can many subnet on vlan but would keep at 1 to 1.

Let me know if  need more info


Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Well you got that right about the layers: VLAN - layer2 , Subnet - IP layer, Layer 3.

Here is a link to a very good VLAN definition - very accurate and visual:


VLANs are basically used to connect several LANS into 1 broadcast domain. They don't add latency like routers , that connect Subnets.

VLANs operate in the same subnet, i.e. VLANs are connected by a Layer 2 switch (regular switch that supports VLANs). It is useful in case you have a range of IPs, i.e. a SUBNET which you want to divide into several segments without putting a router in between. So all machines will have the same default gateway for example or will be configured to work with the same DHCP server. But you will be able to separate traffic between the machines on the same subnet.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Networking Protocols

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.