Printer Friendly
The Free Library
14,496,683 articles and books
Member login
User name  
Password 
 
Join us Forgot password?

IPSec or MPLS: understanding technology choices in virtual private networks. (Internet).


Having gained momentum and industry acceptance over the past several years, virtual private networks (VPNs) are currently one of the hottest selling technologies in the market. Recognizing this trend, a growing number of systems integrators and value added resellers See VAR.

(company) value added reseller - (VAR, or "value added retailer") A company which sells something (e.g. computers) made by another company (an OEM) with extra components added (e.g. specialist software).
 are looking to add some type of VPN (Virtual Private Network) A private network that is configured within a public network (a carrier's network or the Internet) in order to take advantage of the economies of scale and management facilities of large networks.  offering to their product portfolio. However, given the amount of "buzz" surrounding VPNs, and the seemingly endless number of solutions available, it can be somewhat daunting daunt  
tr.v. daunt·ed, daunt·ing, daunts
To abate the courage of; discourage. See Synonyms at dismay.



[Middle English daunten, from Old French danter, from Latin
 to determine which VPN solution is right for a reseller and its customers.

Currently, two of the most popular types of VPN technology are known as IPSec VPNs and multi-protocol label switching (networking) label switching - A routing technique that uses information from existing IP routing protocols to identify IP datagrams with labels and forwards them to a modified switch or router, which then uses the labels to switch the datagrams through the network.  (MPLS (1) (MultiProtocol Lambda Switching) The earlier name for GMPLS. See GMPLS.

(2) (MultiProtocol Label Switching) A standard from the IETF for including routing information in the packets of an IP network.
) VPNs. But from a technology, performance, implementation and cost perspective, how do these two different VPN approaches compare, and what does this mean for resellers?

IPSec Approach

To begin this discussion, let's examine "traditional" VPNs, which rely on an encapsulation (1) In object technology, the creation of self-contained modules that contain both the data and the processing. See object-oriented programming.

(2) The transmission of one network protocol within another.
 (tunneling) and an encryption model to securely transport data between two locations. This type of VPN is an overlay of point-to-point tunnels on top of an existing IP network. There are many different types of VPN protocols such as GRE (Generic Routing Encapsulation) A tunneling protocol developed by Cisco that allows network layer packets to contain packets from a different protocol. It is widely used to tunnel protocols inside IP packets for virtual private networks (VPNs). , PPTP (Point-to-Point Tunneling Protocol) A protocol from Microsoft that is used to create a virtual private network (VPN) over the Internet. Remote users can access their corporate networks via any ISP that supports PPTP on its servers. , L2TP (Layer 2 Tunneling Protocol) A protocol from the IETF that allows a PPP session to travel over multiple links and networks. L2TP is used to allow remote users access to the corporate network. , and IPSec. They all rely on tunneling of some form, and usually employ encryption. For this discussion, we will focus on the IPSec protocol since it is the most widely used today. Generally, the same features identified with IPSec are applicable to the other traditional VPN protocols as well. Resellers interested in these types of VPNs can choose to implement their own solution (hardware or software) or resell services offered by a managed services An umbrella term for third-party monitoring and maintaining of computers, networks and software. The actual equipment may be inhouse or at the third-party's facilities, but the "managed" implies an ongoing effort; for example, making sure the equipment is running at a certain quality  provider.

Figure 1 is a simple example of an IPSec VPN tunnel between two sites. Site A connects to Site B through a service provider network, or the public Internet, using IPSec with 3DES encryption.

One of the key concerns with IPSec VPNs is performance degradation. For example, working from the Figure 1 diagram, imagine a packet sent from Computer A to Computer B. The packet is sent from Computer A to Customer Premise Equipment (CPE (Customer Premises Equipment) Communications equipment that resides on the customer's premises.

CPE - Customer Premises Equipment
) A. CPE A examines the packet and forwards it to CPE B. In a non-IPSec VPN environment, the packet would now be on its way to CPE B. However, with IPSec, CPE A must perform numerous tasks before this can be accomplished. First, the packet is encrypted, which takes time to perform, thus causing the packet to be delayed (latency). Next the packet is put into another IP packet (encapsulated) taking even more time, hence adding more latency. Now the packet is sent to the service provider network (or public Internet).

Another holdup may occur at this point, which is commonly known as fragmentation. If the newly formed packet is bigger than the MTU (1) (Maximum Transmission Unit, Maximum Transfer Unit) The largest frame size that can be transmitted over the network. For example, an Ethernet MTU is 1,500 bytes. Messages longer than the MTU must be divided into smaller frames.  (maximum transmission unit) size of any of the links between CPE A and CPE B then the packet will need to be fragmented into two packets. Once the packet arrives at CPE B it will de-encapsulate and de-encrypt the packet causing additional latency. Finally CPE B will forward the packet to Computer B.

The amount of actual latency experienced will depend on the CPE involved. Low-end CPE devices typically perform all IPSec functions in software and have the slowest performance. More expensive CPEs will perform the IPSec functions in hardware. Pricing can range from $400 to $3,000 for remote locations and up to $50,000 for Hub-site CPE devices.

IPSec VPNs are essentially an "overlay networks," meaning they ride on top of another IP network. Because of this, a tunnel must be established between every site. The two most common configurations are known as a hub and spoke Any architecture that uses a central connecting point. It is the same as a star topology in a network. A network hub is hardware that functions as a central hub to all nodes. See hub and full mesh.

 or a fully meshed configuration.

As the name suggests, the hub and spoke configuration consists of one central (hub) site connected to many remote (spoke) sites. This is the most practical configuration for an IPSec VPN network. The hub site CPE is usually a fairly expensive piece of equipment (depending on the number of spokes). Every spoke establishes an IPSec tunnel to the hub site. If there are 20 remote sites then 20 IPSec tunnels will be terminated at the hub site. Unfortunately, this model is not optimal for spoke-to-spoke communications. Packets coming from one spoke to another spoke must first pass through the hub, requiring the hub to perform its steps of deencapsulating, de-encrypting, determining a forwarding path, encrypting and encapsulating every single packet. This is in addition to the encapsulation/encryption performed at the spokes. In effect, each packet traverses two IPSec tunnels, which greatly adds to each packet's latency. The latency would be roughly double compared to what it would be if the two sites communicated directly.

One option to replace a hub and spoke configuration is to create a fully meshed network. Benefits of this type of network architecture include any-to-any connectivity and redundancy, as important application servers may be "mirrored" in multiple locations ensuring no interruption in service if the primary "hub" site access should experience connectivity problems. However, this type of configuration must be carefully considered due to its scalability concerns. The number of tunnels needed to support a fully meshed IPSec network geometrically increases with the number of sites. For example, the 20-site plus network discussed earlier would require 210 IPSec tunnels. As each site would need CPE that is capable of terminating 20 IPSec tunnels, this network configuration would require each site to have high-end (more expensive) CPE. And when you get into deployments around the 100-site number, a fully meshed configuration is not feasible (a 100-site VPN would require 4,950 tunnels).

Another key factor to consider when selecting an IPSec solution is interoperability. Most customers looking to add or expand VPN deployments will almost certainly have a unique mixture of existing CPE devices. And, as one would expect, customers will likely want to reuse as much of that equipment as possible to drive down costs. Although the most efficient way to solve this problem is to implement the same CPE devices at each location, this is not always possible. While interoperability is not as big a problem today, it is still an issue that must be considered when contemplating an IPSec VPN solution.

Provisioning is another issue that must be addressed, particularly since each IPSec tunnel must be established manually. Configuring a single IPSec tunnel is not a problem, but the time required to bring up a multi-site VPN increases dramatically as the size of the network grows. With a fully meshed network, it can take a number of days to configure the 21-node network, making support and troubleshooting efforts rather difficult.

The final element to address when considering an IPSec VPN is probably the most important: security. With an IPSec VPN, every CPE is accessible to the public Internet and relies on IPSec tunnels to securely transmit data between sites. Therefore, every CPE device must have security measures Noun 1. security measures - measures taken as a precaution against theft or espionage or sabotage etc.; "military security has been stepped up since the recent uprising"
security
 in place, such as a firewall, to protect each location. Due to the number of CPE devices generally required for large deployments, it is easy to see that more and more firewalls need to be maintained, resulting in more opportunities for security failures.

The MPLS Option

Unlike IPSec VPNs, MPLS VPNs do not rely upon encapsulation and encryption to maintain a high level of security. Delivered most effectively as a service offering from a service provider, MPLS VPNs use forwarding tables and "tag" the packets to create a secure VPN. This type of network architecture delivers intelligence within the core of its network (instead of on its edge).

Before proceeding, some terminology used with MPLS VPNs should be discussed. The CPE is referred to as a Customer Edge (CE) router. The CE router connects to a service provider's network through a Provider Edge (PE) router. A VPN consists of a group of CE routers connected to the service provider's PE routers. Only the PE routers are aware of the VPN. The CE routers do not see the underlying network and perceive that they are connected via a private network (see Figure 2).

Each VPN is associated with a VPN routing/forwarding instance (VRF VRF VPN Routing and Forwarding
VRF Variable Refrigerant Flow (HVAC)
VRF Virtual Routing & Forwarding
VRF Visiting Research Fellow
VRF Vector Relational Format
VRF Very Rapid Fire
VRF Victims' Rights Foundation
). A VRF defines the VPN membership of a customer site attached to a PE router. A VRF consists of an IP routing table A database in a router that contains the current network topology. See routing protocol. , a derived Cisco Express Forwarding Cisco Express Forwarding (CEF) is an advanced layer 3 switching technology used mainly in large core networks or the Internet. Function
CEF is mainly used to increase packet switching speed, reducing the overhead and delays introduced by other routing techniques,
 (CEF CEF CAN (Controller Area Network) Extended Frame
CEF Caixa Economica Federal (Brazil)
CEF Cisco Express Forwarding
CEF Common European Framework
CEF Continuing Education Fund
CEF Closed End Fund
) table, a set of interfaces that use the forwarding table, and a set of rules and routing protocol A formula used by routers to determine the appropriate path onto which data should be forwarded. The routing protocol also specifies how routers report changes and share information with the other routers in the network that they can reach.  parameters that control the information that is included into the routing table. A site can associate with one (and only one) VRF. A customer site's VRF contains all the routes available to the site from the VPN of which it is a member.

Packet forwarding Forwarding is the relaying of packets from one network segment to another by nodes in a computer network.

The simplest forwarding model - unicasting - involves a packet being relayed from link to link along a chain leading from the packet's source to its destination.
 information is stored in the IP routing table and the CEF table for each VRF. A separate set of routing and CEF tables is maintained for each VRF. These tables prevent information from being forwarded outside a VPN, and also prevent packets that are outside a VPN from being forwarded to a router within the VPN. This is the mechanism that makes the VPN secure. Within each VPN there is any-to-any connectivity and each site can send IP packets directly to any other site in the VPN, without having to go through a central site.

A Route Distinguisher A route distinguisher is an address qualifer used only within a single internet service provider's Multi-Protocol Label Switching (MPLS) network. It is used to distinguish the distinct Virtual Private Network (VPN) routes of separate customers who connect to the provider.  (RD) identifies the IP addresses of each individual VPN. In Figure 2, three different VPNs are shown with Route Distinguishers 10, 20, and 30. An MPLS network can support hundreds of thousands of VPNs. The interior of an MPLS VPN network is made up of Provider (P) devices. These devices form the MPLS core and do not directly connect to a CE router. Provider Edge (PE) routers that surrounded the core of P devices enable the VPN functions of an MPLS VPN network. Both P and PE routers are considered Label Switch Routers A Label Switch Router (LSR) (sometimes called transit router), is a type of a router located in the middle of a Multiprotocol Label Switching (MPLS) network. It is responsible for switching the labels used to route packets.  (LSR 1. (networking) LSR - Label Switching Router.
2. (operating system) LSR - Local Shared Resources.
). An LSR is a device that is capable of switching packets based on their labels. Customer sites are connected to the PE routers in many different ways: T1, Frame Relay A high-speed packet switching protocol used in wide area networks (WANs). Providing a granular service of up to DS3 speed (45 Mbps), it has become popular for LAN to LAN connections across remote distances, and services are offered by most major carriers. , DSL DSL
 in full Digital Subscriber Line

Broadband digital communications connection that operates over standard copper telephone wires. It requires a DSL modem, which splits transmissions into two frequency bands: the lower frequencies for voice (ordinary
, ATM and so on.

At the PE router, a VRF and route distinguisher is associated with each link to a customer site. The links may be physical links such as T1, individual Frame Relay or ATM virtual circuits, DSL links or other options. The Route Distinguisher is configured at the PE router as part of the set-up of a VPN site. It is not configured on the customer equipment and is not visible to the customer.

One of the greatest advantages of MPLS VPNs is that no intelligence is required in the CPE devices, since all of the VPN functions are performed at the core, meaning that customers may now use much less expensive CPE devices.

Latency is kept to a minimum, since packets are not encapsulated or encrypted. Encryption is not required since an MPLS VPN creates a private network. It is very similar to the security provided by a Frame Relay network. Latency is even reduced compared to non-MPLS IP networks due to the label switching. Moreover, it is very simple to create a full-mesh VPN network since there are no tunnels. The default configuration is in fact a full-mesh. Sites connect directly to a PE and then can reach any other sites in the VPN. If the hub-site should become unreachable, remote sites can still communicate with each other.

Provisioning is also much easier in an MPLS VPN. Provisioning only needs to be done on the core network equipment, and access to the CPE is not required. Once a site has been configured, it does not need to be revisited to add additional sites later. As new sites are added, configuration changes are only done to the PE they connect to.

In addition, security is much easier to implement with MPLS VPNs. A closed VPN is inherently secure since it has no connection to the public Internet. If Internet access See how to access the Internet.  is needed, one path may be set up to provide access. A single firewall is placed on this path to provide a secure connection for the entire VPN. This is much easier to manage, since policies will only need to be maintained on one firewall for the entire VPN.

A final feature of MPLS VPNs is that only one connection is required to each remote site. Imagine a traditional Frame Relay network with a hub and ten remote sites. A Frame Relay PVC PVC: see polyvinyl chloride.
PVC
 in full polyvinyl chloride

Synthetic resin, an organic polymer made by treating vinyl chloride monomers with a peroxide.
 would be required for each remote site, meaning ten PVCs would be needed at the hub site. Within an MPLS VPN network, only one PVC is needed at the hub location, which equates to a less expensive network.

Making the Right Choice

VPNs all provide the same basic function: to offer remote offices or users secure access to their organization's network. However, the performance, the cost to implement, and the cost to manage the VPN and underlying network elements are the driving force behind the different protocols and technologies that have emerged today. SIs and VARs who are looking to add a VPN solution to their portfolio must fully explore all of the "hidden" costs to determine the true fully burdened cost of delivering a high performance VPN solution to their customers.

Cliff Young Cliff Young is the name of several notable individuals including:
  • Cliff Young (athlete)
  • Cliff Young, founding member and vocalist of Contemporary Christian band Caedmon's Call
  • Cliff Young (baseball player)
  • Cliff Young (judge)
 is president of ClearPath Networks, Inc. (El Segundo El Segundo (ĕl sēgŭn`dō), industrial city (1990 pop. 15,223), Los Angeles co., S Calif., on Santa Monica Bay; inc. 1917. Its products include navigation and computer systems, aircraft parts, office machines, telephone apparatus, and , Calif.)

www.clearpathnet.com
COPYRIGHT 2003 West World Productions, Inc.
No portion of this article can be reproduced without the express written permission from the copyright holder.
Copyright 2003, Gale Group. All rights reserved. Gale Group is a Thomson Corporation Company.

 Reader Opinion

Title:

Comment:



 

Article Details
Printer friendly Cite/link Email Feedback
Author:Young, Cliff
Publication:Computer Technology Review
Date:Apr 1, 2003
Words:2200
Previous Article:Next generation portals: will Web services make a difference? (Internet).
Next Article:Application-driven, attribute-based storage that fits the Oracle9i RAC paradigm perfectly. (Advertisement).



Related Articles
Cisco Announces IP Services Aggregation Platform with VPN Capabilities; First Carrier-Class IP Edge Router Integrates IPsec and MPLS VPN...
Cisco Announces First Virtual Private Network Management Platform to Deliver Both IPsec and MPLS for Security and Scalability.
HITACHI SYSTEMS CHOOSES SSH IPSEC TOOLKIT FOR VPN DEVELOPMENT.(Company Business and Marketing)
Making Sense Of VPN Systems, Standards, And Protocols.(Internet/Web/Online Service Information)
SSH, HIFN BROADEN STRATEGIC PARTNERSHIP FOR HIGH-SPEED SECURITY SOLUTIONS.
ORCHESTREAM: SERVICE ACTIVATOR 3.1 NEW VERSION OF SERVICE ACTIVATOR SUPPORTS METROPOLITAN ETHERNET SERVICES.(Product Announcement)
NEXSI SYSTEMS AMONG HANDFUL TO RECEIVE FULL VPNC CERTIFICATION FOR IPSEC VPN COMPLIANCE.
Netifice Launches Network-Based IPSec VPN Service Using Technology from Cisco Systems; Integration With MPLS Provides Maximum Performance and...
SingTel Completes Deployment of Quarry Security Service Routers In Next Generation Service Rollout.
Troubleshooting Virtual Private Networks.(Brief Article)(Book Review)

Terms of use | Copyright © 2009 Farlex, Inc. | Feedback | For webmasters | Submit articles