fasttrack-7 - ipsec vpn

30
1 IPSec - VPN

Upload: denda-sandika

Post on 13-Apr-2016

41 views

Category:

Documents


1 download

TRANSCRIPT

Page 1: FastTrack-7 - IPSec VPN

1

IPSec - VPN

Page 2: FastTrack-7 - IPSec VPN

2

What is VPN? VPN (Virtual Private Network) :

“Logical connections on public networks.”

Two type VPN Connections:–Layer 2 VPN: Asynchronous transfer mode (ATM) and Frame Relay –Layer 3 VPN: Generic Route Encapsulation (GRE), Layer 2 Tunneling Protocol (L2TP,

Multiprotocol Label Switching (MPLS), and IP Security (IPSec)

Page 3: FastTrack-7 - IPSec VPN

3

Applications of IPSec IPSec provides the capability to secure

communications across a LAN, across private and public WANs, and across the Internet. Examples of its use include:

Secure branch office connectivity over the Internet Secure remote access over the Internet

Page 4: FastTrack-7 - IPSec VPN

4

Application of IPSec

Page 5: FastTrack-7 - IPSec VPN

5

Benefits of IPSec

The benefits of IPSec include: –Strong security that can be applied to all traffic crossing the perimeter.

–Transparent to applications.

–No need to change software on a user or server system

•When IPSec is implemented in a router or firewall

–IPSec can be transparent to end users.

–There is no need to train users on security mechanisms

–IPSec can provide security for individual

Page 6: FastTrack-7 - IPSec VPN

6

The Scope of IPSec

IPSec provides three main facilities–An authentication-only function,

•Referred to as Authentication Header (AH)

–A combined authentication/ encryption function

•Called Encapsulating Security Payload (ESP)

–A key exchange function.

•IKE (ISAKMP / Oakley)

Page 7: FastTrack-7 - IPSec VPN

7

Basic IPsec Example

Internet10.1.1.0/24

10.1.2.0/24

• IKE Policy (Phase I)crypto isakmp policy 1

authentication pre-shared

hash sha

encryption 3des

crypto isakmp key cisco123isabadkey address 2.2.2.2

crypto isakmp key passwordisiabadkey address 3.3.3.3

1.1.1.1

2.2.2.2

10.1.3.0/243.3.3.3

Page 8: FastTrack-7 - IPSec VPN

8

Basic IPsec Example

• IPsec Policy (Phase II) crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac

!

access-list 102 permit ip 10.1.1.0 0.0.0.255 10.1.2.0 0.0.0.255

access-list 103 permit ip 10.1.1.0 0.0.0.255 10.1.3.0 0.0.0.255

Internet10.1.1.0/24

10.1.2.0/241.1.1.1

2.2.2.2

10.1.3.0/243.3.3.3

Page 9: FastTrack-7 - IPSec VPN

9

Basic IPsec Example

• IPsec Policy (Phase II) crypto map IPSEC 20 ipsec-isakmp

set peer 2.2.2.2

match address 102

set transform-set ESP-3DES-SHA

crypto map IPSEC 30 ipsec-isakmp

set peer 3.3.3.3

match address 103

set transform-set ESP-3DES-SHA

Internet10.1.1.0/24

10.1.2.0/241.1.1.1

2.2.2.2

10.1.3.0/243.3.3.3

Page 10: FastTrack-7 - IPSec VPN

10

Basic IPsec Example

• Apply Crypto Map interface serial 0

crypto map IPSEC

!

ip route 10.0.0.0 255.0.0.0 serial 0

Internet10.1.1.0/24

10.1.2.0/241.1.1.1

2.2.2.2

10.1.3.0/243.3.3.3

Page 11: FastTrack-7 - IPSec VPN

11

Frame Relay Communication

Page 12: FastTrack-7 - IPSec VPN

12

Terminology The connection through the Frame Relay network between two DTEs

is called a virtual circuit (VC).

Virtual circuits may be established dynamically by sending signaling messages to the network. In this case they are called switched virtual circuits (SVCs).

Virtual circuits can be configured manually through the network. In this case they are called permanent virtual circuits (PVCs).

Page 13: FastTrack-7 - IPSec VPN

13

Frame Relay Concepts

Page 14: FastTrack-7 - IPSec VPN

14

Frame Relay Operation

Page 15: FastTrack-7 - IPSec VPN

15

Frame Relay ConceptsQueue

Page 16: FastTrack-7 - IPSec VPN

16

Frame Relay Switches

Page 17: FastTrack-7 - IPSec VPN

17

Frame Relay Functions

Page 18: FastTrack-7 - IPSec VPN

18

Virtual Circuits

Page 19: FastTrack-7 - IPSec VPN

19

Local Significance of DLCIsThe data-link connection identifier (DLCI) is stored in the Address field of every frame transmitted.

Page 20: FastTrack-7 - IPSec VPN

20

Star (Hub and Spoke)

Full Mesh

Partial Mesh

Selecting a Frame Relay Topology

Page 21: FastTrack-7 - IPSec VPN

21

Local Management Interface (LMI)

Three types of LMIs are supported by Cisco routers:–Cisco — The original LMI extensions –Ansi — Corresponding to the ANSI standard T1.617 Annex D –q933a — Corresponding to the ITU standard Q933 Annex A

Page 22: FastTrack-7 - IPSec VPN

22

Configuring Basic Frame Relay

Page 23: FastTrack-7 - IPSec VPN

23

Configuring a Static Frame Relay Map

Page 24: FastTrack-7 - IPSec VPN

24

Configuring Point-to-Point Subinterfaces

Page 25: FastTrack-7 - IPSec VPN

25

The show interface Command

LMI Type

LMI DLCI

LMI Status

Page 26: FastTrack-7 - IPSec VPN

26

The show frame-relay lmi Command

Page 27: FastTrack-7 - IPSec VPN

27

The show frame-relay pvc Command

Page 28: FastTrack-7 - IPSec VPN

28

The show frame-relay map Command

Page 29: FastTrack-7 - IPSec VPN

29

Troubleshooting Frame Relay The debug frame-relay lmi Command

PVC Status0x2 – Active0x0 – Inactive0x4 – Deleted

Page 30: FastTrack-7 - IPSec VPN

30