Lost Password? No account yet? Sign up! Why bother?
  • Narrow screen resolution
  • Wide screen resolution
  • Auto width resolution
  • Increase font size
  • Decrease font size
  • Default font size

SmallNetBuilder - Small Network Help

  
Home arrow LAN & WAN arrow LAN & WAN Tutorial arrow VLAN How To: Segmenting a small LAN
VLAN How To: Segmenting a small LAN Print E-mail
Doug Reid   
June 20, 2007

Introduction

What is a VLAN? Is it some sort of highly expensive technology or virtual reality? Not at all. VLANs are relatively simple, yet they offer a wide variety of options and capabilities to improve your network.

VLAN, or Virtual LAN, is a technology that enables dividing a physical network into logical segments at Layer 2. Functionally, VLANs enable a network administrator to partition a network into separate, independent networks. There are many reasons to separate a network into VLANs, and numerous options to consider.

While a useful technology for small LANS, VLANs are often deployed in large networks, too. In larger networks, VLANs are sometimes used to join physically separate LANs or LAN segments into a single logical LAN.

The goal of this article is to explain and discuss VLANs, including why you should consider using VLANs in a smaller network. I'll also walk through a configuration example showing how to configure a VLAN-aware switch to create separate LAN segments.

VLANs and Switches

If you have more than one device on your network, you probably have a switch. A switch is a simple device that operates at Layer 2 of the OSI model, forwarding data frames from one device to another based on their hardware or MAC (Media Access Control) address. The basic Layer 2 switch does not care or know about IP addresses, which operate at Layer 3.

Your switch may be a few ports built into your router, it may be a small unmanaged (non-configurable) switch such as the D-Link DGS-2205 shown in Figure 1. Or you may have a more advanced switch with VLAN capability, possibly referred to as a managed, "smart" or multilayer switch. Larger networks usually have multiple switches at numerous locations.

D-Link switch

Figure 1: D-Link switch without VLAN capability

As stated, switches pass data from one device to another based on their MAC addresses. The key question is, how does the switch know which MAC address is located on which port?

Even the simplest switch has a "learning ability" to read the MAC address of the devices connected, and store those MAC addresses in a table in memory. Switches "learn" by examining the source MAC address of every frame received. New MAC addresses learned on received frames are added to a table, creating in the switch's memory a mapping of MAC addresses to switch ports.



Tags: Tutorial, VLAN,

Related Articles:

How To Set Up Switch Link Aggregation
Netgear GS724TR 24 Port Gigabit Smart Switch with Static Routing Revie
Slideshow - Linksys RVS4000
Slideshow - Netgear GS716T ProSafe 16 Port Gigabit Smart Switch
Slideshow - Dell PowerConnect 2708
 

Most Read

 
 

Over At The Forums

Open Box 409 Pro safe to buy?
I've been doing my best to research the different NAS systems available and it seems QNAP is the way to go. I'd love to...

Router N
Im desperate. I have a rule that I'm looking in 3 sources to make opinion, but what if 3 sources say different word? I live...

need router for gaming and internet
ok so im finally fed up with my old netgear router, its slow, doesnt have good range and drops connection a lot. im using it...

looking for a good 200+ simultaneous connection dual-N router
I have been browsing the site reviews for several hours, but don't really see a wireless router that stands above the rest. Here are...

New firmware 2.1.0
see also http://forum.qnap.com/viewtopic.php?f=142&t=10052 i had already the beta's running with also iscsi. Many more features are there.

Slideshows

NETGEAR ReadyNAS Pro Western Digital ShareSpace QNAP TS-509 Pro D-Link DNS-343 4-Bay Network Storage Enclosure Thecus N3200 RAID 5 NAS D-Link DIR-628 RangeBooster N Dual Band Router More

Win This!

Enter to Win!

You could win a Trendnet TEW-633GR Wireless N Gigabit Router and two TEW-621PC 300Mbps Wireless N-Draft PC Cards

Learn How!

 

Ldr:0.0016188621521, Rct:0.00567483901978, Sky:0.0074028968811, Tlink:0.107007980347, TopPG:0.107085943222, GQV:0.107226848602 seconds to load.