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 How To arrow VLAN How To: Segmenting a small LAN
VLAN How To: Segmenting a small LAN Print E-mail
Doug Reid   
June 20, 2007

How To

Now that you understand VLAN basics, let's get to the fun part! I'll be showing you how to segment a single-subnet LAN into multiple private segments.This basic application of VLANs is handy for adding an extra measure of security to clients or servers that contain confidential information. It can also be used in multi-tenant applications, to share a single Internet connection, yet allow each tenant to share files and printers without worrying about the others. I'm sure you can think of other applications.

I'll be using a Linksys SRW2008 (Figure 4), an eight port 10/100/1000 switch with a nice web utility for configuration. The SRW (reviewed here) is a Layer 2 switch with a large number of features, including VLAN support.

Linksys SRW2008

Figure 4: The Linksys SRW2008 switch

The basic steps in configuring a VLAN are:

  1. Plan your network.
  2. Create the VLANs.
  3. Associate switch ports with the VLANs.
  4. Test VLAN connectivity.
  5. Implement security measures as appropriate.

Planning

The most important part of VLAN implementation, even in a small network, is planning. You need to review your devices and decide which ones should go in which VLAN. A network administrator must consider the components, functions, and traffic types of all the elements of the network when planning VLANs.

The network components connected to the eight port SRW switch I'm using for this VLAN example are a LAN port from the RV042 router on port 1, a WiFi router on port 2, a Windows Server on port 3, a NAS on port 4, a printer on port 5, a Linux VoIP Server on port 6, a VoIP ATA on port 7, and a laptop computer on port 8. Figure 5 is a simple diagram of the "Before LAN."

Before VLANs

Figure 5: The network before dividing into VLANs

None of these components are "VLAN-aware," meaning they will send all frames to the switch "UnTagged." VLAN-aware devices, such as VLAN-enabled switches, as well as advanced network interface cards, can specify VLAN information by "Tagging" a frame with a VLAN number. This is an important factor when it comes to multi-switch configurations.

A common VLAN best practice is to place all VoIP devices in their own VLAN to prevents data traffic from interfering with time-sensitive voice traffic. So we have:

- a VLAN for the Data devices
- a VLAN for the VoIP devices

But I also need both Data and VoIP devices to have Internet access. So I'll need:

- a VLAN to enable Internet access for both VLANs

This ability to allow ports to access multiple VLANs comes in very handy and is key to our example.

I'm also going to configure the Laptop switch port for access to all VLANs and the management functions of the SRW. The SRW switch itself is also a member of the LAN, and has its own IP address. It is important to remember this device and include it in a VLAN to retain access to the switch's management utility. More on this later.

Mapping your network is a big part of the planning. The SRW allows for naming the devices on each port, which is time well spent for the future date when you're troubleshooting. I took a few minutes and wrote down which devices in my LAN were going to be plugged into which physical port on the switch. I then configured the SRW with a recognizable name for each port in the Description field of the Port Management menu (Figure 6), making it easier to see what was where.

Port naming
Click to enlarge image

Figure 6: Naming the 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

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.

Your thoughts about QNAP TS-109 II
I'm at the point where DVD backups for my photos,mp3 is taken too much of my time. I'm thinking of using the TS-109 II to...

OpenWRT not working as wireless repeater bridge on Netgear WGR614L
Hi , I have flashed my wgr614l with openwrt firmware . I have tested it for wireless client bridge mode and it is working fine but I...

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.00288987159729, Rct:0.00682997703552, Sky:0.00853896141052, Tlink:0.0853579044342, TopPG:0.0854408740997, GQV:0.0856010913849 seconds to load.