Friday, 11 July 2014

What is VLAN and VPN

What is VLAN and VPN?

VLAN
Virtual LAN; a logical, not physical, group of devices, defined by software. VLANs allow network administrators to resegment their networks without physically rearranging the devices or network connections¹. A VLAN (Virtual LAN) is a network composed of logical broadcast domains. Configuration VLANs allows network traffic to be separated logically. Network devices on VLAN1 will not be able to communicate (ping) devices on VLAN2. It is possible to have devices on VLAN1 of a switch communication with VLAN1 on another switch through a method called VLAN trucking. See the image below:
This diagram gives you the basic idea of VLAN membership. You can see how the floors of the building are separate and that each department is represted by a different color. The switches lie below and the trunk link is represented by the lightning bolt. Trunk links may also be referred to as .1q or "dot one Q." This refers to the IEEE standard of 802.1q which defines the method of vlan trucking. 

Types of Membership

There are several different types of memberships associated with VLANs:
  • Static VLANs
  • Dynamic VLANs
Static VLANs are specified by switch port. For example, a 12 port fast Ethernet switch is split for the creation of 2 VLANs. The first 6 ports are associated with VLAN1 and the last 6 ports are associated with VLAN2. If a machine is moved from port 3 to port 11, it will effectively change VLANs. 

Dynamic VLANs are specified by MAC address. Assuming the same scenario, a system administrator will enter MAC addresses for all machines connecting to the switch. These addresses will be stored in a memory chip inside the switch that forms a database of local MAC addresses. Each MAC address can then be associated with a certain VLAN. This way, if a machine is moved, it will retain the original VLAN membership regardless of its port number. 


Virtual private network
VPN is a computer network that uses a public telecommunication infrastructure such as the Internet to provide remote offices or individual users secure access to their organization's network. It aims to avoid an expensive system of owned or leased lines that can be used by only one organization.

It encapsulates data transfers using a secure cryptographic method between two or more networked devices which are not on the same private network so as to keep the transferred data private from other devices on one or more intervening local or wide area networks. There are many different classifications, implementations, and uses for VPNs.

No comments:

Post a Comment