Configurazione IPSEC tra 2 Router 1721
Inviato: ven 29 lug , 2005 9:56 am
Buongiorno a tutti,
Avrei un quesito da porvi. Devo abilitare una vpn tra 2 router 1721 i quali hanno una configurazione un po' particolare che potete vedere negli sh run allegati. Il mio problema è che attivando la crittografia e digitando show crypto ipsec sa, i contatori aumentano solo se genero del traffico direttamente dai router (ad esempio se faccio un ping da uno dei 2 router verso l'altro il contatore si incrementa). Se invece provo a generare traffico da un qualsiasi pc della rete, i contatori no si muovono per niente. Da ciò deduco che il traffico generato dai pc sulla rete viene scambiato in chiaro tra i 2 router, quello che non riesco a capire è il perche'...
Se qualcuno ha qualche ipotesi è ben accetta... grazie a tutti per l'attenzione.
------- ROUTER A ---------
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 1700fa
!
no logging console
enable password xxxx
!
!
!
!
!
memory-size iomem 25
ip subnet-zero
no ip routing
!
!
!
crypto isakmp policy 15
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key xxxx address 10.153.102.18
!
!
crypto ipsec transform-set 1700map1 esp-3des esp-md5-hmac
!
!
crypto map 1700map1 10 ipsec-isakmp
set peer 10.153.102.18
set transform-set 1700map1
match address 101
cns event-service server
!
!
!
interface Serial0
ip unnumbered FastEthernet0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
bridge-group 1
bridge-group 1 spanning-disabled
crypto map 1700map1
!
interface FastEthernet0
ip address 10.153.102.17 255.255.0.0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
half-duplex
bridge-group 1
bridge-group 1 spanning-disabled
!
ip classless
no ip http server
!
access-list 101 permit ip any any
snmp-server engineID local 00000009020000B0C2895C06
snmp-server community public RO
snmp-server trap-source FastEthernet0
snmp-server enable traps snmp
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps hsrp
snmp-server enable traps config
snmp-server enable traps entity
snmp-server enable traps frame-relay
snmp-server enable traps syslog
snmp-server enable traps rtr
snmp-server enable traps rsvp
bridge 1 protocol ieee
bridge 1 address 0040.63d6.92b5 discard Serial0
!
line con 0
exec-timeout 5 0
password xxxxx
login
transport input none
line aux 0
exec-timeout 5 0
password xxxxx
login
line vty 0 4
password xxxxx
login
!
end
------------- ROUTER B -----------------------------------
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 1700fb
!
no logging console
enable password xxxx
!
!
!
!
!
memory-size iomem 25
ip subnet-zero
no ip routing
!
!
!
crypto isakmp policy 15
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key xxxx address 10.153.102.17
!
!
crypto ipsec transform-set 1700map1 esp-3des esp-md5-hmac
!
!
crypto map 1700map1 10 ipsec-isakmp
set peer 10.153.102.17
set transform-set 1700map1
match address 101
cns event-service server
!
!
!
interface Serial0
ip unnumbered FastEthernet0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
bridge-group 1
bridge-group 1 spanning-disabled
crypto map 1700map1
!
interface FastEthernet0
ip address 10.153.102.18 255.255.0.0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
half-duplex
bridge-group 1
bridge-group 1 spanning-disabled
!
ip classless
no ip http server
!
access-list 101 permit ip any any
snmp-server engineID local 00000009020000B0C2895C06
snmp-server community public RO
snmp-server trap-source FastEthernet0
snmp-server enable traps snmp
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps hsrp
snmp-server enable traps config
snmp-server enable traps entity
snmp-server enable traps frame-relay
snmp-server enable traps syslog
snmp-server enable traps rtr
snmp-server enable traps rsvp
bridge 1 protocol ieee
bridge 1 address 0040.63d6.92b5 discard Serial0
!
line con 0
exec-timeout 5 0
password xxxxx
login
transport input none
line aux 0
exec-timeout 5 0
password xxxxx
login
line vty 0 4
password xxxxx
login
!
end
Avrei un quesito da porvi. Devo abilitare una vpn tra 2 router 1721 i quali hanno una configurazione un po' particolare che potete vedere negli sh run allegati. Il mio problema è che attivando la crittografia e digitando show crypto ipsec sa, i contatori aumentano solo se genero del traffico direttamente dai router (ad esempio se faccio un ping da uno dei 2 router verso l'altro il contatore si incrementa). Se invece provo a generare traffico da un qualsiasi pc della rete, i contatori no si muovono per niente. Da ciò deduco che il traffico generato dai pc sulla rete viene scambiato in chiaro tra i 2 router, quello che non riesco a capire è il perche'...
Se qualcuno ha qualche ipotesi è ben accetta... grazie a tutti per l'attenzione.
------- ROUTER A ---------
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 1700fa
!
no logging console
enable password xxxx
!
!
!
!
!
memory-size iomem 25
ip subnet-zero
no ip routing
!
!
!
crypto isakmp policy 15
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key xxxx address 10.153.102.18
!
!
crypto ipsec transform-set 1700map1 esp-3des esp-md5-hmac
!
!
crypto map 1700map1 10 ipsec-isakmp
set peer 10.153.102.18
set transform-set 1700map1
match address 101
cns event-service server
!
!
!
interface Serial0
ip unnumbered FastEthernet0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
bridge-group 1
bridge-group 1 spanning-disabled
crypto map 1700map1
!
interface FastEthernet0
ip address 10.153.102.17 255.255.0.0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
half-duplex
bridge-group 1
bridge-group 1 spanning-disabled
!
ip classless
no ip http server
!
access-list 101 permit ip any any
snmp-server engineID local 00000009020000B0C2895C06
snmp-server community public RO
snmp-server trap-source FastEthernet0
snmp-server enable traps snmp
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps hsrp
snmp-server enable traps config
snmp-server enable traps entity
snmp-server enable traps frame-relay
snmp-server enable traps syslog
snmp-server enable traps rtr
snmp-server enable traps rsvp
bridge 1 protocol ieee
bridge 1 address 0040.63d6.92b5 discard Serial0
!
line con 0
exec-timeout 5 0
password xxxxx
login
transport input none
line aux 0
exec-timeout 5 0
password xxxxx
login
line vty 0 4
password xxxxx
login
!
end
------------- ROUTER B -----------------------------------
!
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
!
hostname 1700fb
!
no logging console
enable password xxxx
!
!
!
!
!
memory-size iomem 25
ip subnet-zero
no ip routing
!
!
!
crypto isakmp policy 15
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key xxxx address 10.153.102.17
!
!
crypto ipsec transform-set 1700map1 esp-3des esp-md5-hmac
!
!
crypto map 1700map1 10 ipsec-isakmp
set peer 10.153.102.17
set transform-set 1700map1
match address 101
cns event-service server
!
!
!
interface Serial0
ip unnumbered FastEthernet0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
bridge-group 1
bridge-group 1 spanning-disabled
crypto map 1700map1
!
interface FastEthernet0
ip address 10.153.102.18 255.255.0.0
no ip directed-broadcast
no ip route-cache
no ip mroute-cache
no keepalive
half-duplex
bridge-group 1
bridge-group 1 spanning-disabled
!
ip classless
no ip http server
!
access-list 101 permit ip any any
snmp-server engineID local 00000009020000B0C2895C06
snmp-server community public RO
snmp-server trap-source FastEthernet0
snmp-server enable traps snmp
snmp-server enable traps isdn call-information
snmp-server enable traps isdn layer2
snmp-server enable traps hsrp
snmp-server enable traps config
snmp-server enable traps entity
snmp-server enable traps frame-relay
snmp-server enable traps syslog
snmp-server enable traps rtr
snmp-server enable traps rsvp
bridge 1 protocol ieee
bridge 1 address 0040.63d6.92b5 discard Serial0
!
line con 0
exec-timeout 5 0
password xxxxx
login
transport input none
line aux 0
exec-timeout 5 0
password xxxxx
login
line vty 0 4
password xxxxx
login
!
end