How to setup network with VLAN

This tutorial explains how to setup a network using vlan technology and the mechanism by which intervlan communication can be achieved. The appropriate components required, TCP/IP network design and techniques are analysed.

Do I know this Quiz

1.What type of switches should be used to setup vlans
2.Is a router required for communicating between vlans
3.What should be default gateway IP address of the users on respective vlans.
4.What type of interface is configured on the router for vlan communication.

Step 1

Analyse the number of users on the network and the number of segregated networks required. VLANs are typically used to segregate the networks, where the segregated networks would correlate to the number of departments on the network. In this tutorial we would assume that there are 2 departments and each department has 10 users.

Step 2

Identify the appropriate switch which supports vlans and can accommodate the number of users. In this example there are 20 users in total. So a 24 port switch which supports vlans is required. The switch should be checked if it supports vlan technology / protocols before purchase, as typically unmanageable switches does not support vlan. Cisco 2960—24 switch is identified. Identify a router which supports intervlan routing. Cisco 1840 series routers are proposed for the same.

Buy from Amazon

Step 3

Segregate the networks into two TCP/IP networks for each department. The networks are segregated as and Assign the first IP address of each network for the appropriate routers interface for each network. The IP addresses and are allocated for the purpose. The IP addresses and are assigned for the users on the network. The subnet mask of default gateway of the IP address of users on the network would be and the respective router interface IP address.

Step 4

Create vlans on the switches , VLAN 2 and VLAN 3. Configure the ports on the switches to which the users PC’s are connected as members of the specific vlan. Connect the respective PC’s to the respective ports on the switches.

Step 5

Connect a port on the switch to the interface of the router. Configure the port as trunk port as it carries traffic for multiple vlans. The physical interface of the router, is configured with two virtual interfaces and associated with appropriate VLAN ID and IP address. The fastethernet 0/0.1 virtual interface 0is configured with the IP address and associated with the VLAN ID 2 and the 0/0.2 is associated with the IP address and associated with the IP address VLAN 3.

Step 6

The above design and configuration guidelines can be used to setup the network with VLAN.

Answers to the Do I know this Quiz

1.A manageable switch which supports vlans and appropriate technology is required.
2.A router is typically required for intervlan communication unless a layer 3 switch which supports vlans are used.
3.The default gateway of the users should be the IP address of the virtual interface of the router configured for the specific vlan.
4.The router is typically configured with virtual interfaces which are associated with the respective vlan ID.s

Ebook Store – Click here