Virtual Private Networks



Similar documents
Virtual Private Networks

VPN. Date: 4/15/2004 By: Heena Patel

How Virtual Private Networks Work

MPLS L2VPN (VLL) Technology White Paper

Cisco Which VPN Solution is Right for You?

ICTTEN6172A Design and configure an IP- MPLS network with virtual private network tunnelling

MPLS VPN Services. PW, VPLS and BGP MPLS/IP VPNs

MPLS is the enabling technology for the New Broadband (IP) Public Network

CS419: Computer Networks. Lecture 9: Mar 30, 2005 VPNs

Introducción n a MPLS y MPLS VPN MPLS VPN

Course Description. Students Will Learn

How Virtual Private Networks Work

Migrating to MPLS Technology and Applications

Virtual Private Networks. Juha Heinänen Song Networks

MPLS Layer 3 and Layer 2 VPNs over an IP only Core. Rahul Aggarwal Juniper Networks. rahul@juniper.net

Introducing Basic MPLS Concepts

Other VPNs TLS/SSL, PPTP, L2TP. Advanced Computer Networks SS2005 Jürgen Häuselhofer

MP PLS VPN MPLS VPN. Prepared by Eng. Hussein M. Harb

IBM enetwork VPN Solutions

MPLS Basics. For details about MPLS architecture, refer to RFC 3031 Multiprotocol Label Switching Architecture.

Data Networking and Architecture. Delegates should have some basic knowledge of Internet Protocol and Data Networking principles.

Junos MPLS and VPNs (JMV)

How Routers Forward Packets

Introduction to MPLS-based VPNs

What Is a Virtual Private Network?

INTRODUCTION TO L2VPNS

IP Switching: Issues and Alternatives

Computer Networks CS321

VPLS Technology White Paper HUAWEI TECHNOLOGIES CO., LTD. Issue 01. Date

VPN taxonomy. János Mohácsi NIIF/HUNGARNET tf-ngn meeting April 2005

Introduction to MPLS and Traffic Engineering

1.264 Lecture 37. Telecom: Enterprise networks, VPN

Interconnecting Cisco Networking Devices, Part 2 **Part of CCNA Route/Switch**

Enterprise Network Simulation Using MPLS- BGP

ISTANBUL. 1.1 MPLS overview. Alcatel Certified Business Network Specialist Part 2

Expert Reference Series of White Papers. An Overview of MPLS VPNs: Overlay; Layer 3; and PseudoWire

Investigation of different VPN Solutions And Comparison of MPLS, IPSec and SSL based VPN Solutions (Study Thesis)

Creating a VPN Using Windows 2003 Server and XP Professional

Virtual Private Networks (VPN) VPN. Agenda. Classical VPN s

VIRTUAL PRIVATE NETWORKS: SECURE REMOTE ACCESS OVER THE INTERNET

Agilent Technologies RouterTester Whitepaper

MPLS and IPSec A Misunderstood Relationship

AT&T Managed IP Network Service (MIPNS) MPLS Private Network Transport Technical Configuration Guide Version 1.0

Network Working Group Request for Comments: March 1999

Internet, Part 2. 1) Session Initiating Protocol (SIP) 2) Quality of Service (QoS) support. 3) Mobility aspects (terminal vs. personal mobility)

Broadband Networks. Prof. Karandikar. Department of Electrical Engineering. Indian Institute of Technology, Bombay. Lecture - 26

DD2491 p MPLS/BGP VPNs. Olof Hagsand KTH CSC

Implementing Cisco Service Provider Next-Generation Edge Network Services **Part of the CCNP Service Provider track**

November Defining the Value of MPLS VPNs

PRASAD ATHUKURI Sreekavitha engineering info technology,kammam

Demonstrating the high performance and feature richness of the compact MX Series

: Interconnecting Cisco Networking Devices Part 2 v2.0 (ICND2)

MPLS in Private Networks Is It a Good Idea?

Introduction to TCP/IP

Course Overview: Learn the essential skills needed to set up, configure, support, and troubleshoot your TCP/IP-based network.

Internetworking II: VPNs, MPLS, and Traffic Engineering

Network Access Security. Lesson 10

IP-VPN Architecture and Implementation O. Satty Joshua 13 December Abstract

Internet Protocol: IP packet headers. vendredi 18 octobre 13

"Charting the Course...

How To Learn Cisco Cisco Ios And Cisco Vlan

Designing and Developing Scalable IP Networks

Firewalls and Virtual Private Networks

RFC 2547bis: BGP/MPLS VPN Fundamentals

Virtual Private Networks

Interconnecting Cisco Networking Devices, Part 2 Course ICND2 v2.0; 5 Days, Instructor-led

Objectives. Remote Connection Options. Teleworking. Connecting Teleworkers to the Corporate WAN. Providing Teleworker Services

WAN Data Link Protocols

Data Communication Networks and Converged Networks

Quidway MPLS VPN Solution for Financial Networks

Guide to TCP/IP, Third Edition. Chapter 3: Data Link and Network Layer TCP/IP Protocols

Group Encrypted Transport VPN

Secure Network Design: Designing a DMZ & VPN

MPLS Concepts. Overview. Objectives

IP/MPLS-Based VPNs Layer-3 vs. Layer-2

VPN Technologies: Definitions and Requirements

Technical papers Virtual private networks

Connecting Remote Users to Your Network with Windows Server 2003

SBSCET, Firozpur (Punjab), India

Tackling the Challenges of MPLS VPN Testing. Todd Law Product Manager Advanced Networks Division

13 Virtual Private Networks 13.1 Point-to-Point Protocol (PPP) 13.2 Layer 2/3/4 VPNs 13.3 Multi-Protocol Label Switching 13.4 IPsec Transport Mode

DD2491 p BGP-MPLS VPNs. Olof Hagsand KTH/CSC

Network virtualization

Layer 3 MPLS VPN Enterprise Consumer Guide Version 2

WAN. Introduction. Services used by WAN. Circuit Switched Services. Architecture of Switch Services

WAN Topologies MPLS. 2006, Cisco Systems, Inc. All rights reserved. Presentation_ID.scr Cisco Systems, Inc. All rights reserved.

Intranet Security Solution

VPN Technologies A Comparison

Virtual Private Networks Solutions for Secure Remote Access. White Paper

Building scalable IPSec infrastructure with MikroTik. IPSec, L2TP/IPSec, OSPF

How To Make A Network Secure

Multi-Protocol Label Switching To Support Quality of Service Needs

I. What is VPN? II. Types of VPN connection. There are two types of VPN connection:

CS 393/682 Network Security. Nasir Memon Polytechnic University Module 7 Virtual Private Networks

Cisco Dynamic Multipoint VPN: Simple and Secure Branch-to-Branch Communications

Computer Network Architectures and Multimedia. Guy Leduc. Chapter 2 MPLS networks. Chapter 2: MPLS

How To Understand The Benefits Of An Mpls Network

High-Level Data Link Control

Optimizing Networks for NASPI

CTS2134 Introduction to Networking. Module 07: Wide Area Networks

Transcription:

Virtual Private Networks Raj Jain Washington University in Saint Louis Saint Louis, MO 63130 Jain@cse.wustl.edu Audio/Video recordings of this lecture are available at: http://www.cse.wustl.edu/~jain/cse571-09/ 17-1

Overview Overview: What, When, Issues Types of VPNs: PE/CE based, L2 vs. L3 Point-to-Point Protocol (PPP) VPN Tunneling Protocols: GRE, PPTP, L2TPv3, MPLS 17-2

What is a VPN? Private Network: Uses leased lines Virtual Private Network: Uses public Internet Internet Service Provider 17-3

When to VPN? Modest Bandwidth Many Locations QoS not Critical Long Distance More Locations, Longer Distances, Less Bandwidth/site, QoS (Quality of Service) less critical VPN more justifiable Fewer Locations, Shorter Distances, More Bandwidth/site, QoS more critical VPN less justifiable 17-4

VPN Design Issues 1. Security 2. Address Translation 3. Performance: Throughput, Load balancing (round-robin DNS), fragmentation 4. Bandwidth Management: RSVP (Resource Reservation Protocol) 5. Availability: Good performance at all times 6. Scalability: Number of locations/users 7. Interoperability: Among vendors, Internet Service Providers (ISPs), customers (for extranets) Standards Compatibility, With firewall 17-5

Design Issues (Cont) 8. Compression: Reduces bandwidth requirements 9. Manageability: SNMP (Simple Network Management Protocol), Browser based, Java based, centralized/distributed 10. Accounting, Auditing, and Alarming 11. Protocol Support: IP, non-ip (IPX) 12. Platform and O/S support: Windows, UNIX, MacOS, HP/Sun/Intel 13. Installation: Changes to desktop or backbone only 14. Legal: Exportability, Foreign Govt Restrictions, Key Management Infrastructure (KMI) initiative Need key recovery 17-6

Ends: Types of VPNs WAN VPN: Branch offices Access VPN: Roaming Users Extranet VPNs: Suppliers and Customers Branch Office ISP Head Office Telecommuter 17-7 Partner

Types of VPNs (Cont) Payload Layer: Layer 1 (L1), Layer 2 (L2) VPN (Ethernet), L3 VPN (IP) Tunneling Protocol: MPLS (Multiprotocol Label Switching), GMPLS (Generalized MPLS), L2TPv3 (Layer 2 Tunneling Protocol version 3), PPTP (Point to Point Tunneling Protocol) Who is in charge?: Provider Edge Device (PE Based) or Customer Edge Device (CE Based) VPN Site-to-Site PPVPN L3 L2 L1 MPLS Virtual VPWS VPLS Router 17-8 CE Based L3 IPsec L2 L2TPv3 L1 Access GRE PPTP

CE Based VPNs Customers Edge routers implement IPsec tunnels Customer Net 2 CE Customer Net 1 CE CE Customer Net 4 CE Customer Net 3 17-9

PE Based VPNs Service providers offers privacy, QoS, and Routing Customer uses standard routers Customer Net 2 CE PE Customer Net 1 CE PE PE CE Customer Net 4 PE 17-10

Layer 1 VPNs A single fiber can carry multiple wavelengths, which can be rearranged dynamically to provide a VPN for customers. Similarly, a single SONET (Synchronous optical network) stream can be shared by multiple customers. Connectivity is at layer 1. Any layer 2 signal (Ethernet, ATM, etc) or multiple L2 signals can be carried. [RFC 4847] Can be used by carrier s carriers PE Customer Net 1 CE PE PE CE Customer Net 2 PE 17-11

Layer 2 VPNs Customers' Layer 2 packets are encapsulated and delivered at the other end Looks like the two ends are on the same LAN or same wire Provides Ethernet connectivity Works for all Layer 3 protocols Virtual Private Wire Service (VPWS) Virtual Private LAN Service (VPLS) RFC4664, "Framework for L2 VPNs," Sep 2006. Provider Net Provider Net 17-12

Provides Layer 3 connectivity Layer 3 VPN Looks like the two customer routers are connected Usually designed for IP packets Provider Net 17-13

Point-to-point Protocol PPP: Introduction Originally for User-network connection Now being used for router-router connection Three Components: Data encaptulation, Link Control Protocol (LCP), Network Control Protocols (NCP) Dead Up Establish Opened Authenticate Fail Fail Success/None Down Terminate Closing Network 17-14

PPP Procedures Typical connection setup: Home PC Modem calls Internet Provider's router: sets up physical link PC sends series of LCP packets Select PPP (data link) parameters Authenticate PC sends series of NCP packets Select network parameters E.g., Get dynamic IP address Transfer IP packets 17-15

VPN Tunneling Protocols GRE: Generic Routing Encaptulation (RFC 1701/2) PPTP: Point-to-point Tunneling Protocol L2TP: Layer 2 Tunneling protocol IPsec: Secure IP MPLS: Multiprotocol Label Switching 17-16

Delivery Header GRE GRE Header Payload Generic Routing Encaptulation (RFC 1701/1702) Generic X over Y for any X or Y Optional Checksum, Loose/strict Source Routing, Key Key is used to authenticate the source Over IPv4, GRE packets use a protocol type of 47 Allows router visibility into application-level header Restricted to a single provider network end-to-end 17-17

PPTP Server ISP PPTP Network Access Server Client PPTP Tunnel PPTP = Point-to-point Tunneling Protocol Developed jointly by Microsoft, Ascend, USR, 3Com and ECI Telematics PPTP server for NT4 and clients for NT/95/98 17-18

Private Network PPP IP/IPX/NetBEUI Data PPTP Server Public IP Addressing Internal IP Addressing PPTP Packets Internet PPP IP GRE PPP IP/IPX/NetBEUI Data Network Access Server Encrypted Client PPP IP GRE PPP IP/IPX/NetBEUI Data 17-19

L2TP Layer 2 Tunneling Protocol L2F = Layer 2 Forwarding (From CISCO) L2TP = L2F + PPTP Combines the best features of L2F and PPTP Easy upgrade from L2F or PPTP Allows PPP frames to be sent over non-ip (Frame relay, ATM) networks also (PPTP works on IP only) Allows multiple (different QoS) tunnels between the same end-points. Better header compression. Supports flow control 17-20

L2TPv3 Provider Net Allows service providers to offer L2 VPN over IP network. L2TPv2 was for tunneling PPP over packet switched data networks (PSDN) V3 generalizes it for other protocols over PSDN PPP specific header removed Can handle HDLC (High-Level Data Link Control), Ethernet, 802.1Q VLANs, Frame relay, packet over SONET (Synchronous Optical Network) 17-21

L2TPv3 (Cont) Universal Transport Interface (UTI) is a pre-standard effort for transporting L2 frames. L2TPv3 extends UTI and includes it as one of many supported encapsulations. L2TPv3 has a control plane using reliable control connection for establishment, teardown and maintenance of individual sessions. RFC4667, "L2 VPN extensions for L2TP," Sept 2006 Ref: L2TPv3 FAQ, www.cisco.com/warp/public/cc/so/neso/vpn/unvpnst/ 2tpv3_qp.pdf 17-22

L2TPv3 Frame Format Delivery Header L2TPv3 Header 20B 12B Payload Tunnel Identifier Tunnel Cookie 4B Delivery Header: IPv4 header Payload: L2 or L3 packet 8B 17-23

Multiprotocol Label Switching (MPLS) PBX PBX 1 3 5 2 3 Allows virtual circuits in IP Networks (May 1996) Each packet has a virtual circuit number called label Label determines the packet s queuing and forwarding Circuits are called Label Switched Paths (LSPs) LSP s have to be set up before use Allows traffic engineering 17-24

Label Switching Example Ethernet Header IP Header Payload Layer 2.5 Ethernet Header Label IP Header Payload 64 3 5 A B <64> <5> R1 <3> R2 <3> R3 <5> <2> C 5 3 2 17-25

Label Assignment Unsolicited: Topology driven Routing protocols exchange labels with routing information. Many existing routing protocols are being extended: BGP, OSPF On-Demand: Label assigned when requested, e.g., when a packet arrives latency Label Distribution Protocol called LDP RSVP has been extended to allow label request and response 17-26

VPN Support with MPLS Labels contain Class of Service (CoS), Stack Indicator (SI), and Time to Live (TTL) Label Switch/Router Private ISP R S S S S S R Unlabeled Labeled Unlabeled Packet Packet Packet 20b 3b 1b 8b Label CoS SI TTL 17-27

Virtual Router IP VPNS PE router emulates many virtual routers Each virtual router belongs to only one VPN 17-28

Summary VPN allows secure communication on the Internet Three types: WAN, Access, Extranet Key issues: address translation, security, performance Layer 2 (PPTP, L2TP), Layer 3 (IPSec) QoS is still an issue MPLS 17-29

Lab Homework 17 Install CSE VPN or CEC VPN. See instructions at http://www.cts.wustl.edu/cts/help/vpn/cse-vpnconfig.htm or https://www.cec.wustl.edu/help.aspx?page=20&treepath=0.5 Connect to VPN from outside the campus using your computer. Right click on the VPN icon and submit a screen capture of the statistics or note down the following: Encryption algorithm Authentication algorithm Client Address Server Address 17-30

Acronyms BGP Border Gateway Protocol CE Customer Edge DNS Domain Name System GRE Generic Routing Encaptulation IPsec IP Security IPv4 IP Version 4 IPv6 IP Version 6 ISP Internet Service Provider KMI Key Management Infrastructure L2 Layer 2 L2F Layer 2 Forwarding L2TP Layer 2 Tunneling Protocol 17-31

Acronyms (Cont) L2TPv3 Layer 2 Tunnelling Protocol Version 3 L3 Layer 3 LAN Local Area Network LCP Link Control Protocol LDP Label Distribution Protocol LSP Label Switched Path MIB Management Information Base MPLS Multiprotocol Label Switching OSPF Open Shortest Path PE Provider Edge PPP Point-to-point Protocol PPTP Point-to-point Tunneling Protocol 17-32

Acronyms (Cont) PPVPN RFC SNMP TP USR UTI VPN VPWS WAN Provider Provisioned VPN Request for Comment Simple Network Management Protocol Tunneling protocol US Robotics Universal Transport Interface Virtual Private Network Virtual Private Wire Service Wide Area Network 17-33

Reading List http://en.wikipedia.org/wiki/vpn http://en.wikipedia.org/wiki/layer_2_tunneling_protocol http://en.wikipedia.org/wiki/l2tpv3 http://www.ripe.net/ripe/meetings/ripe-42/presentations/ripe42- eof-pseudowires2/sld001.html http://en.wikipedia.org/wiki/multiprotocol_label_switching http://www.netcraftsmen.net/welcher/papers/mplsvpn.html http://en.wikipedia.org/wiki/pptp Understanding PPTP, http://technet.microsoft.com/enus/library/cc768084.aspx RFC 2637 (PPTP), 3931 (L2TPv3), 4364 (BGP/MPLS VPNs) 17-34

RFC2637, PPTP, July 1999 VPN RFCs RFC 2685, Virtual Private Networks Identifier, September 1999. RFC 2735, NHRP Support for VPNs, December 1999. RFC 2764, A Framework for IP Based VPNs, February 2000. RFC2917, A Core MPLS IP VPN Architecture. Sep 2000. RFC3809, Generic Requirements for PPVPN. Jun 2004. RFC3931, L2TPv3, Mar 2005. RFC4026, PPVPN Terminology. Mar 2005. RFC4031, Service Requirements for Layer 3 PPVPNs. Apr 2005. 17-35

VPN RFCs (Cont) RFC4093, Problem Statement: Mobile IPv4 Traversal of VPN Gateways. Aug 2005. RFC4110, A Framework for Layer 3 PPVPNs. Jul 2005. RFC4111, Security Framework for PPVPNs. Jul 2005. RFC4176, Framework for L3 VPN Operations and Management. Oct 2005. RFC4265, Definition of Textual Conventions for VPN Management. Nov 2005. RFC4364, BGP/MPLS IP VPNs. Feb 2006. RFC4365, Applicability Statement for BGP/MPLS IP VPNs. Feb 2006. RFC4381, Analysis of the Security of BGP/MPLS IP VPNs. Feb 2006. 17-36

VPN RFCs (Cont) RFC4382, MPLS/BGP Layer 3 VPN MIB. Feb 2006. RFC4576, Using a LSA Options Bit to Prevent Looping in BGP/MPLS IP VPNs. Jun 2006. RFC4577, OSPF as the Provider/Customer Edge Protocol for BGP/MPLS IP VPNs. Jun 2006. RFC4659, BGP-MPLS IP VPN Extension for IPv6 VPN. Sep 2006. RFC4664, Framework for L2 VPNs. Sep 2006. RFC 4665, Service Requirements for Layer 2 PPVPNs, September 2006. RFC4667, L2 VPN Extensions for L2TP. Sep 2006. RFC4684, Constrained Route Distribution for BGP/MPLS IP VPNs. Nov 2006. 17-37

VPN RFCs (Cont) RFC 4797, Use of PE-PE GRE or IP in BGP/MPLS IP VPNs, January 2007. RFC4834, Requirements for Multicast in L3 PPVPNs. Apr 2007. RFC 4847, Framework and Requirements for Layer 1 VPNs, April 2007. RFC 4923 QoS Signaling in a Nested VPN, August 2007. RFC 5195, BGP-Based Auto-Discovery for Layer-1 VPNs, June 2008. RFC 5251, Layer 1 VPN Basic Mode, July 2008. RFC 5252, OSPF-Based Layer 1 VPN Auto-Discovery, July 2008. RFC 5253, Applicability Statement for Layer 1 Virtual Private Network (L1VPN) Basic Mode, July 2008. RFC 5265, Mobile IPv4 Traversal across IPsec-Based VPN Gateways, June 2008. 17-38