Hiện tại em gặp cái lỗi này không biết tại sao nữa.
*Aug 27 09:53:30.075: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.22, prot= 17
*Aug 27 09:54:30.895: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.58, prot= 17
*Aug 27 09:55:43.819: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.41, prot= 17
*Aug 27 09:57:06.907: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.22, prot= 17
Cấu hình;
R-2901:
Building configuration...
Current configuration : 2789 bytes
!
! Last configuration change at 08:31:59 UTC Wed Aug 26 2015
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname TrungTam
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$lrsk$MucpwJgQHm0xX1jdFORKK.
!
no aaa new-model
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
username KCN password 7 05202521011D1C5A59
!
redundancy
!
!
!
!
!
!
!
crypto isakmp policy 10
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key KCN address 0.0.0.0
!
!
crypto ipsec transform-set MYSET esp-3des esp-md5-hmac
mode tunnel
!
!
!
crypto dynamic-map TT-VPN 10
set security-association lifetime seconds 86400
set transform-set MYSET
match address VPN-CongNgheCao
crypto dynamic-map TT-VPN 11
set security-association lifetime seconds 86400
set transform-set MYSET
match address VPN-LinhTrung1
!
!
crypto map VPN 1 ipsec-isakmp dynamic TT-VPN
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description "Connect ISP"
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
crypto map VPN
!
interface GigabitEthernet0/1
description "Connec LAN"
ip address 192.168.21.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Dialer1
mtu 1492
ip address xxxxxxxxxx
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxx
ppp chap password 7 010102145C06111B3654
ppp pap sent-username xxxx password 7 06140B314B431E0D120F
crypto map VPN
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 99 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
!
ip access-list extended VPN-CongNgheCao
permit ip 192.168.21.0 0.0.0.255 192.168.1.0 0.0.0.255
permit ip any any
ip access-list extended VPN-LinhTrung1
permit ip 192.168.21.0 0.0.0.255 192.168.2.0 0.0.0.255
ip access-list extended VPN1
!
!
!
access-list 99 permit 192.168.21.0 0.0.0.255 log
access-list 99 permit any
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
access-class 99 in
password 7 062D2C0F6C1F5B4A
login
transport input telnet ssh
!
scheduler allocate 20000 1000
!
!
pnp profile pnp_profile
transport http host pnpserver.Home port 80 source GigabitEthernet0/0
end
R-867
Building configuration...
Current configuration : 1557 bytes
!
! Last configuration change at 02:42:29 UTC Wed Aug 26 2015
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname KhuCongNgheCao
!
boot-start-marker
boot-end-marker
!
!
enable password KCN@123
!
no aaa new-model
wan mode dsl
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
controller VDSL 0
!
!
!
!
!
!
crypto isakmp policy 10
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key KCN address 113.161.38.137
!
!
crypto ipsec transform-set MYSET esp-3des esp-md5-hmac
mode tunnel
!
!
!
crypto map VPN-TO-TT 10 ipsec-isakmp
set peer 113.161.38.137
set transform-set MYSET
match address VPN
!
!
!
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Ethernet0
no ip address
shutdown
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.1.10 255.255.255.0
crypto map VPN-TO-TT
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
ip access-list extended VPN
permit ip any 192.168.21.0 0.0.0.255
!
mac-address-table aging-time 15
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
password KCN@123
login
transport input telnet ssh
!
scheduler allocate 60000 1000
!
end
*Aug 27 09:53:30.075: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.22, prot= 17
*Aug 27 09:54:30.895: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.58, prot= 17
*Aug 27 09:55:43.819: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.41, prot= 17
*Aug 27 09:57:06.907: %CRYPTO-4-RECVD_PKT_NOT_IPSEC: Rec'd packet not an IPSEC packet. (ip) vrf/dest_addr= /192.168.1.255, src_addr= 192.168.1.22, prot= 17
Cấu hình;
R-2901:
Building configuration...
Current configuration : 2789 bytes
!
! Last configuration change at 08:31:59 UTC Wed Aug 26 2015
!
version 15.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
!
hostname TrungTam
!
boot-start-marker
boot-end-marker
!
!
enable secret 5 $1$lrsk$MucpwJgQHm0xX1jdFORKK.
!
no aaa new-model
!
!
!
!
!
!
!
ip cef
no ipv6 cef
!
multilink bundle-name authenticated
!
!
!
!
!
!
username KCN password 7 05202521011D1C5A59
!
redundancy
!
!
!
!
!
!
!
crypto isakmp policy 10
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key KCN address 0.0.0.0
!
!
crypto ipsec transform-set MYSET esp-3des esp-md5-hmac
mode tunnel
!
!
!
crypto dynamic-map TT-VPN 10
set security-association lifetime seconds 86400
set transform-set MYSET
match address VPN-CongNgheCao
crypto dynamic-map TT-VPN 11
set security-association lifetime seconds 86400
set transform-set MYSET
match address VPN-LinhTrung1
!
!
crypto map VPN 1 ipsec-isakmp dynamic TT-VPN
!
!
!
!
!
interface Embedded-Service-Engine0/0
no ip address
shutdown
!
interface GigabitEthernet0/0
description "Connect ISP"
ip address dhcp
ip nat outside
ip virtual-reassembly in
duplex auto
speed auto
pppoe enable group global
pppoe-client dial-pool-number 1
crypto map VPN
!
interface GigabitEthernet0/1
description "Connec LAN"
ip address 192.168.21.1 255.255.255.0
ip nat inside
ip virtual-reassembly in
duplex auto
speed auto
!
interface Dialer1
mtu 1492
ip address xxxxxxxxxx
ip nat outside
ip virtual-reassembly in
encapsulation ppp
dialer pool 1
dialer-group 1
ppp authentication pap chap callin
ppp chap hostname xxxxx
ppp chap password 7 010102145C06111B3654
ppp pap sent-username xxxx password 7 06140B314B431E0D120F
crypto map VPN
!
ip forward-protocol nd
!
no ip http server
no ip http secure-server
!
ip nat inside source list 99 interface Dialer1 overload
ip route 0.0.0.0 0.0.0.0 Dialer1
ip route 0.0.0.0 0.0.0.0 GigabitEthernet0/0
!
ip access-list extended VPN-CongNgheCao
permit ip 192.168.21.0 0.0.0.255 192.168.1.0 0.0.0.255
permit ip any any
ip access-list extended VPN-LinhTrung1
permit ip 192.168.21.0 0.0.0.255 192.168.2.0 0.0.0.255
ip access-list extended VPN1
!
!
!
access-list 99 permit 192.168.21.0 0.0.0.255 log
access-list 99 permit any
!
control-plane
!
!
!
line con 0
line aux 0
line 2
no activation-character
no exec
transport preferred none
transport output pad telnet rlogin lapb-ta mop udptn v120 ssh
stopbits 1
line vty 0 4
access-class 99 in
password 7 062D2C0F6C1F5B4A
login
transport input telnet ssh
!
scheduler allocate 20000 1000
!
!
pnp profile pnp_profile
transport http host pnpserver.Home port 80 source GigabitEthernet0/0
end
R-867
Building configuration...
Current configuration : 1557 bytes
!
! Last configuration change at 02:42:29 UTC Wed Aug 26 2015
version 15.2
no service pad
service timestamps debug datetime msec
service timestamps log datetime msec
no service password-encryption
!
hostname KhuCongNgheCao
!
boot-start-marker
boot-end-marker
!
!
enable password KCN@123
!
no aaa new-model
wan mode dsl
!
!
!
!
!
!
ip cef
no ipv6 cef
!
!
!
!
!
!
!
!
!
controller VDSL 0
!
!
!
!
!
!
crypto isakmp policy 10
encr 3des
hash md5
authentication pre-share
group 2
crypto isakmp key KCN address 113.161.38.137
!
!
crypto ipsec transform-set MYSET esp-3des esp-md5-hmac
mode tunnel
!
!
!
crypto map VPN-TO-TT 10 ipsec-isakmp
set peer 113.161.38.137
set transform-set MYSET
match address VPN
!
!
!
!
!
interface ATM0
no ip address
shutdown
no atm ilmi-keepalive
!
interface Ethernet0
no ip address
shutdown
!
interface FastEthernet0
no ip address
!
interface FastEthernet1
no ip address
!
interface FastEthernet2
no ip address
!
interface FastEthernet3
no ip address
!
interface GigabitEthernet0
no ip address
!
interface GigabitEthernet1
no ip address
shutdown
duplex auto
speed auto
!
interface Vlan1
ip address 192.168.1.10 255.255.255.0
crypto map VPN-TO-TT
!
ip forward-protocol nd
no ip http server
no ip http secure-server
!
!
ip route 0.0.0.0 0.0.0.0 192.168.1.1
!
ip access-list extended VPN
permit ip any 192.168.21.0 0.0.0.255
!
mac-address-table aging-time 15
!
!
line con 0
no modem enable
line aux 0
line vty 0 4
password KCN@123
login
transport input telnet ssh
!
scheduler allocate 60000 1000
!
end
Comment