19.07.2013 Views

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

CCNA Complete Guide 2nd Edition.pdf - Cisco Learning Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

- The main challenge and problem faced by IKE and IPsec is NAT, as both protocols were not<br />

designed to work through NAT. NAT Traversal (NAT-T) has evolved as a method of enabling<br />

IPsec-protected IP packets to work well in NAT environments by encapsulating ISAKMP and<br />

ESP packets into UDP Port 4500 packets.<br />

The IPsec NAT Transparency feature was introduced in <strong>Cisco</strong> IOS Release 12.2T.<br />

The access control list configuration named UDP Port 4500 as “non500-isakmp”.<br />

IPsec Configuration<br />

PC1<br />

172.16.1.2<br />

Fa0/0<br />

172.16.1.1<br />

- IPsec configuration on RT1:<br />

RT1<br />

10.10.10.2<br />

S1/0<br />

RT2<br />

S1/0<br />

10.10.10.1<br />

Figure A6-27: Sample IPsec-Based VPN Network<br />

hostname RT1<br />

!<br />

crypto isakmp policy 1<br />

encr 3des<br />

authentication pre-share<br />

group 2<br />

crypto isakmp key CISCO-1234 address 10.10.10.2<br />

!<br />

!<br />

crypto ipsec transform-set ESP-3DES-SHA esp-3des esp-sha-hmac<br />

!<br />

crypto map CMAP-Site2 1 ipsec-isakmp<br />

description *** IPsec Tunnel to RT2 ***<br />

set peer 10.10.10.2<br />

set transform-set ESP-3DES-SHA<br />

match address 102<br />

!<br />

interface Serial1/0<br />

crypto map CMAP-Site2<br />

!<br />

ip route 172.16.2.0 255.255.255.0 10.10.10.2<br />

!<br />

access-list 102 permit ip 172.16.1.0 0.0.0.255 172.16.2.0 0.0.0.255<br />

- IPsec configuration starts with configuring the ISAKMP protection suite. The crypto isakmp<br />

policy global configuration command first defines an ISAKMP policy. It is possible to define<br />

multiple policies; the priorities of the policies determine the sequence of the policies during the<br />

IKE negotiation phase (IKE Phase 1).<br />

301<br />

Fa0/0<br />

172.16.2.1<br />

PC2<br />

172.16.2.2<br />

Copyright © 2008 Yap Chin Hoong<br />

yapchinhoong@hotmail.com

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!