VPN Ipsec 2 Router

2
Para dibujar el esquema, hay que coger los router 1841, unidos por el latiguillo directo. Se debe enrutar las redes. - Router 0: En la pestaña , en el botón de STATIC: RED 0.0.0.0 MASK 0.0.0.0 SIG. SALTO 192.168.3.2 - Router 2: En la pestaña , en el botón de STATIC: RED 0.0.0.0 MASK 0.0.0.0 SIG. SALTO 192.168.4.1 En el router0: !−−− IKE configuration crypto isakmp policy 1 hash md5 authentication pre−share exit crypto isakmp key admin1234 address 192.168.4.2 !−−− IPsec configuration crypto ipsec transform−set politica1 ah−md5−hmac esp−des crypto ipsec transform−set politica2 ah−md5−hmac esp−des crypto map enlace 1 ipsec−isakmp set peer 192.168.4.2 set security−association lifetime seconds 190 set transform−set politica1 politica2 !−−− Traffic to encrypt match address 101 exit !−−− Traffic to encrypt access−list 101 permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255 interface fastethernet nº_boca_externa crypto map enlace do wr En el router 2: !−−− IKE configuration crypto isakmp policy 1 hash md5 authentication pre−share exit crypto isakmp key admin1234 address 192.168.3.1 !−−− IPsec configuration crypto ipsec transform−set politica1 ah−md5−hmac esp−des

Transcript of VPN Ipsec 2 Router

Para dibujar el esquema, hay que coger los router 1841, unidos por el latiguillo directo.

Se debe enrutar las redes.- Router 0:En la pestaa , en el botn de STATIC:RED 0.0.0.0MASK 0.0.0.0SIG. SALTO 192.168.3.2

- Router 2:En la pestaa , en el botn de STATIC:RED 0.0.0.0MASK 0.0.0.0SIG. SALTO 192.168.4.1

En el router0:

! IKE configurationcrypto isakmp policy 1hash md5authentication preshareexitcrypto isakmp key admin1234 address 192.168.4.2

! IPsec configurationcrypto ipsec transformset politica1 ahmd5hmac espdes crypto ipsec transformset politica2 ahmd5hmac espdes

crypto map enlace 1 ipsecisakmp set peer 192.168.4.2set securityassociation lifetime seconds 190set transformset politica1 politica2

! Traffic to encryptmatch address 101exit

! Traffic to encryptaccesslist 101 permit ip 192.168.1.0 0.0.0.255 192.168.2.0 0.0.0.255

interface fastethernet n_boca_externacrypto map enlacedo wr

En el router 2:

! IKE configurationcrypto isakmp policy 1hash md5authentication preshareexitcrypto isakmp key admin1234 address 192.168.3.1

! IPsec configurationcrypto ipsec transformset politica1 ahmd5hmac espdes crypto ipsec transformset politica2 ahmd5hmac espdes

crypto map enlace 1 ipsecisakmp set peer 192.168.3.1set securityassociation lifetime seconds 190set transformset politica1 politica2

! Traffic to encryptmatch address 101exit

! Traffic to encryptaccesslist 101 permit ip 192.168.2.0 0.0.0.255 192.168.1.0 0.0.0.255

interface fastethernet n_boca_externacrypto map enlacedo wr