A - B - C
Con gli ip interni es 192.168.1.1 e 192.168.3.1
il router A pinga il router B e i pc della lan e B pinga A e i pc
mentre il router A pinga il router C ma non i pc della lan e il router C non pinga ne il router A ne i pc lan
Il router C è diverso dal router B e anche la connessione è diversa ma sempre cisco
Non capisco cosa non funzioni quindi posto la conf. sperando in un aiuto.
Grazie a Tutti!!!
Router C:
Codice: Seleziona tutto
router1#sh run
Building configuration...
Current configuration : 4569 bytes
!
version 12.4
no service pad
service tcp-keepalives-in
service tcp-keepalives-out
service timestamps debug datetime msec localtime show-timezone
service timestamps log datetime msec localtime show-timezone
service password-encryption
service sequence-numbers
!
hostname router1
!
boot-start-marker
boot-end-marker
!
logging buffered 51200 warnings
enable secret 5 xxxxxxxxxxxxxxxxxxx
!
no aaa new-model
clock timezone Berlin 1
clock summer-time Berlin date Mar 30 2003 2:00 Oct 26 2003 3:00
!
crypto pki trustpoint TP-self-signed-3241932976
enrollment selfsigned
subject-name cn=IOS-Self-Signed-Certificate-3241932976
revocation-check none
rsakeypair TP-self-signed-3241932976
!
!
crypto pki certificate chain TP-self-signed-3241932976
certificate self-signed 01
.....................
...............
dot11 syslog
!
!
ip cef
no ip domain lookup
ip domain name yourdomain.com
!
!
!
username router1_VPN secret 5 xxxxxxxxxx
!
!
crypto isakmp policy 1
encr 3des
authentication pre-share
crypto isakmp key router1 address 8x.xxx.xxx.xxx 255.255.255.0
!
!
crypto ipsec transform-set VPN_router1 esp-3des esp-sha-hmac
!
crypto map STATIC_router1 local-address Loopback0
crypto map STATIC_router1 1 ipsec-isakmp
set peer 8x.xxx.xxx.xxx
set transform-set VPN_router1
match address 100
!
archive
log config
hidekeys
!
!
!
!
!
interface Loopback0
ip address 9x.xxx.xxx.xx 255.255.255.248
crypto map STATIC_router1
!
interface ATM0
no ip address
ip route-cache flow
no atm ilmi-keepalive
dsl operating-mode auto
!
interface ATM0.1 point-to-point
ip address 8x.xxx.xxx.xx 255.255.255.0
ip nat outside
ip virtual-reassembly
pvc 8/35
encapsulation aal5snap
!
!
interface FastEthernet0
!
interface FastEthernet1
!
interface FastEthernet2
!
interface FastEthernet3
!
interface Dot11Radio0
no ip address
shutdown
speed basic-1.0 basic-2.0 basic-5.5 6.0 9.0 basic-11.0 12.0 18.0 24.0 36.0 48.0 54.0
station-role root
!
interface Vlan1
ip address 192.168.3.1 255.255.255.0
ip nat inside
ip virtual-reassembly
ip tcp adjust-mss 1452
!
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 ATM0.1
ip route 192.168.1.0 255.255.255.0 Loopback0
!
no ip http server
no ip http secure-server
ip http timeout-policy idle 60 life 86400 requests 10000
ip nat pool PoolRouter 9x.xxx.xxx.xx 9x.xxx.xxx.xx netmask 255.255.255.248
ip nat inside source list 110 pool PoolRouter overload
!
access-list 23 permit 8x.xxx.xxx.xxx ----IP DEL PEER------
access-list 23 permit any
access-list 100 permit ip 192.168.3.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 100 deny ip 192.168.3.0 0.0.0.255 any
access-list 110 deny ip 192.168.3.0 0.0.0.255 192.168.1.0 0.0.0.255
access-list 110 permit ip 192.168.3.0 0.0.0.255 any
no cdp run
!
control-plane
!
!
line con 0
login local
no modem enable
line aux 0
line vty 0 4
access-class 23 in
login local
transport input ......
!
scheduler max-task-time 5000
end
Router A:
Codice: Seleziona tutto
crypto isakmp policy 2
authentication pre-share
crypto isakmp key router1 address 9x.xx.xx.xx ----ip client vpn----
crypto map Sxxxxx local-address FastEthernet0/0
crypto map Sxxxxx 6 ipsec-isakmp
set peer 9x.xx.xx.xx ----ip client vpn----
set transform-set xxxxx
match address 105
.
access-list 105 permit ip 192.168.1.0 0.0.0.255 192.168.3.0 0.0.0.255