Newsgroup: it.comp.reti.cisco
Titolo: Diverse reti lan unica VPN

Sto impazzendo su un problema e anche dopo diverse ricerche sul sito
cisco non ho avuto idee, se  per caso vi fosse capitato...Grazie di
cuore.
Il problema è questo ho due asa in vpn tra loro funzionante classe ip
privata del primo 172.30.1.xxx classe del secondo 192.168.3.xxx. Sulla
rete dell'asa con classe 172.30.1.xxx ho un router che ha diversi
instradamenti verso diverse reti ( 192.168.1.xxx , 192.168.2.xxx
ecc.ecc.)
Il mio problema è questo voglio che l'asa con classe 192.168.3.xxx
instradi i pacchetti nella vpn li mandi all'altro asa con classe
172.30.1.xxx che poi inoltri il pacchetto al router sulla stessa
classe che poi li recapita a destinazione ecc. ecc.
E' possibile ? Se si un esempio di come fare mi aiuterebbe parecchio
se non è possibile grazie lo stesso mi tolgo un bel dubbio.
Grazie

Nella VPN devi inserire TUTTE le reti che devi trasportare, anche
quelle che il primo ASA deve poi ruotare al Router.

 quelle che il primo ASA deve poi ruotare al Router.
Mi sai dare un aiuto con i comandi ? Ti posto la configurazione
dell'asa sede e remoto:
SEDE
ASA Version 7.2(3)
!
hostname ASAHDSL
enable password 7JN/fZKULRIyUO0S encrypted
names
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 172.30.1.233 255.255.255.0
!
interface Vlan2
 nameif outside
 security-level 0
 ip address xxx.xxx.xxx.xxx 255.255.255.224
!
interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
 shutdown
!
interface Ethernet0/3
 shutdown
!
interface Ethernet0/4
 shutdown
!
interface Ethernet0/5
 shutdown
!
interface Ethernet0/6
 shutdown
!
interface Ethernet0/7
 shutdown
!
passwd 7JN/fZKULRIyUO0S encrypted
ftp mode passive
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list 101 extended permit icmp host xxx.xxx.xxx.xxx any echo-
reply
access-list encrypt-acl extended permit ip 172.30.1.0 255.255.255.0
192.168.0.0 255.255.255.0
access-list encrypt-acl extended permit ip 172.30.1.0 255.255.255.0
192.168.2.0 255.255.255.0
access-list nonat extended permit ip 172.30.1.0 255.255.255.0
192.168.0.0 255.255.255.0
access-list nonat extended permit ip 172.30.1.0 255.255.255.0
192.168.2.0 255.255.255.0
pager lines 24
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
icmp permit any inside
icmp permit any outside
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 172.30.1.0 255.255.255.0
access-group 101 in interface outside
route inside 192.168.2.0 255.255.255.0 172.30.1.254 1
route outside 0.0.0.0 0.0.0.0 213.82.61.129 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat
0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-
disconnect 0:02:00
timeout uauth 0:05:00 absolute
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set myset esp-aes-256 esp-sha-hmac
crypto map IPSec_map 10 match address encrypt-acl
crypto map IPSec_map 10 set peer 82.88.134.85
crypto map IPSec_map 10 set transform-set myset
crypto map IPSec_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption aes-256
 hash sha
 group 2
 lifetime 28800
telnet 172.30.1.0 255.255.255.0 inside
telnet timeout 100
ssh timeout 5
console timeout 0
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect netbios
  inspect rsh
  inspect rtsp
  inspect skinny
  inspect esmtp
  inspect sqlnet
  inspect sunrpc
  inspect tftp
  inspect sip
  inspect xdmcp
!
service-policy global_policy global
tunnel-group xxx.xxx.xxx.xxx type ipsec-l2l
tunnel-group xxx.xxx.xxx.xxx ipsec-attributes
 pre-shared-key *
prompt hostname context
Cryptochecksum:3dda42f3a985736d8be0da98ca1f95d3
: end
REMOTO:
ASA Version 7.2(3)
!
hostname asagamba
enable password L3uV6MLBO28kriUU encrypted
names
!
interface Vlan1
 nameif inside
 security-level 100
 ip address 192.168.0.100 255.255.255.0
!
interface Vlan2
 nameif outside
 security-level 0
 ip address XXX.XXX.XXX.XXX 255.255.255.248
!
interface Ethernet0/0
 switchport access vlan 2
!
interface Ethernet0/1
!
interface Ethernet0/2
 shutdown
!
interface Ethernet0/3
 shutdown
!
interface Ethernet0/4
 shutdown
!
interface Ethernet0/5
 shutdown
!
interface Ethernet0/6
 shutdown
!
interface Ethernet0/7
 shutdown
!
passwd 2KFQnbNIdI.2KYOU encrypted
ftp mode passive
same-security-traffic permit inter-interface
same-security-traffic permit intra-interface
access-list 101 extended permit icmp host 82.88.134.81 any echo-reply
access-list 101 extended permit ip host 82.88.134.81 any
access-list encrypt-acl extended permit ip 192.168.0.0 255.255.255.0
172.30.1.0 255.255.255.0
access-list encrypt-acl extended permit ip 192.168.0.0 255.255.255.0
192.168.2.0 255.255.255.0
access-list nonat extended permit ip 192.168.0.0 255.255.255.0
172.30.1.0 255.255.255.0
access-list nonat extended permit ip 192.168.0.0 255.255.255.0
192.168.2.0 255.255.255.0
pager lines 24
mtu inside 1500
mtu outside 1500
icmp unreachable rate-limit 1 burst-size 1
no asdm history enable
arp timeout 14400
global (outside) 1 interface
nat (inside) 0 access-list nonat
nat (inside) 1 192.168.0.0 255.255.255.0
access-group 101 in interface outside
route outside 0.0.0.0 0.0.0.0 82.88.134.81 1
timeout xlate 3:00:00
timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02
timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat
0:05:00
timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-
disconnect 0:02:00
timeout uauth 0:05:00 absolute
no snmp-server location
no snmp-server contact
snmp-server enable traps snmp authentication linkup linkdown coldstart
crypto ipsec transform-set myset esp-aes-256 esp-sha-hmac
crypto map IPSec_map 10 match address encrypt-acl
crypto map IPSec_map 10 set peer XXX.XXX.XXX..XXX
crypto map IPSec_map 10 set transform-set myset
crypto map IPSec_map interface outside
crypto isakmp enable outside
crypto isakmp policy 10
 authentication pre-share
 encryption aes-256
 hash sha
 group 2
 lifetime 28800
telnet 192.168.0.0 255.255.255.0 inside
telnet timeout 100
ssh timeout 5
console timeout 0
!
class-map inspection_default
 match default-inspection-traffic
!
!
policy-map type inspect dns preset_dns_map
 parameters
  message-length maximum 512
policy-map global_policy
 class inspection_default
  inspect dns preset_dns_map
  inspect ftp
  inspect h323 h225
  inspect h323 ras
  inspect netbios
  inspect rsh
  inspect rtsp
  inspect skinny
  inspect esmtp
  inspect sqlnet
  inspect sunrpc
  inspect tftp
  inspect sip
  inspect xdmcp
!
service-policy global_policy global
tunnel-group XXX.XXX.XXX.XXX type ipsec-l2l
tunnel-group XXX.XXX.XXX.XXX ipsec-attributes
 pre-shared-key *
prompt hostname context
Cryptochecksum:1cf3eb1bdecd7825802d6149c784983c
: end
LA CLASSE CHE VOGLIO INSTRADARE NELLA VPN A PARTE QUELLA DI PERTINENZA
DEI DUE CHE E' RISPETTIVAMENTE QUELLA DI SEDE 172.30.1.0 E QUELLA
DELLA FILIALE LA 192.168.0.0 E' LA 192.168.2.0
GRAZIE