由于 IKE "IKEv2儿童 SA 谈判失败消息缺乏 KE 有效载荷",V2的第2阶段没有出现

由于 IKE "IKEv2儿童 SA 谈判失败消息缺乏 KE 有效载荷",V2的第2阶段没有出现

71350
Created On 07/08/20 20:02 PM - Last Modified 03/26/21 18:28 PM


Symptom


IKEV2 阶段 2 失败或重新谈判失败。  

Environment


  • 站点到站点 VPN
  • VPN带蔚蓝网关的 IPSec


Resolution


  1. 更改 DH IPSec 加密中的组以匹配远程对等器。
  2. 在 Azure 同行的情况下,将 DH 组设置为"否 PFS "。


Additional Information


系统日志输出:
 
2020/MM/DD 10:48:32 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is succeeded as responder, non-rekey. Established SA
: 14.98.XXX.YY[500]-185.66.AAA.BBB[500] message id:0x0000011B, SPI:0xB3BC8745/0x4D286384.
2020/MM/DD 10:48:32 info     vpn     JTC    ipsec-k 0  IPSec key installed. Installed SA: 14.98.XXX.YY[500]-185.66.AAA.BBB[500] SPI:0x
B3BC8745/0x4D286384 lifetime 28800 Sec lifesize unlimited.
2020/MM/DD 10:48:32 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is started as responder, non-rekey. Initiated SA: 14
.98.XXX.YY[500]-185.66.AAA.BBB[500] message id:0x0000011B.
2020/MM/DD 10:48:26 info     vpn            ike-con 0  IKE daemon configuration load phase-2 succeeded.
2020/MM/DD 10:48:01 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is failed message lacks KE payload
2020/MM/DD 10:48:01 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is started as responder, non-rekey. Initiated SA: 14
.98.XXX.YY[500]-185.66.AAA.BBB[500] message id:0x0000011A.
2020/MM/DD 10:47:59 info     vpn            ike-con 0  IKE daemon configuration load phase-1 succeeded.
2020/MM/DD 10:47:30 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is failed message lacks KE payload
2020/MM/DD 10:47:30 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is started as responder, non-rekey. Initiated SA: 14
.98.XXX.YY[500]-185.66.AAA.BBB[500] message id:0x00000119.
2020/MM/DD 10:46:59 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is failed message lacks KE payload
2020/MM/DD 10:46:59 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is started as responder, non-rekey. Initiated SA: 14
.98.XXX.YY[500]-185.66.AAA.BBB[500] message id:0x00000118.
2020/MM/DD 10:46:28 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is failed message lacks KE payload
2020/MM/DD 10:46:28 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is started as responder, non-rekey. Initiated SA: 14
.98.XXX.YY[500]-185.66.AAA.BBB[500] message id:0x00000117.
2020/MM/DD 10:45:57 info     vpn     JTC    ikev2-n 0  IKEv2 child SA negotiation is failed message lacks KE payload


 
Debug Ikemgrd.log

2020-MM-DD 10:42:20.741 +0530  [DEBG]: {    4:    7}: TS matching for configured selector JTC:local 192.168.92.0[0]/24-172.17.0.0[0]/1
2020-MM-DD 10:42:20.741 +0530  [DEBG]: {    4:    7}: .. check local TS (num 1, TS0 is not specific) against selector 0:192.168.92.0[0
2020-MM-DD 10:42:20.741 +0530  [DEBG]: {     :    7}: ... TS 0: exact match
2020-MM-DD 10:42:20.741 +0530  [DEBG]: {    4:    7}: ... result: local TS = 192.168.92.0[0]/24
2020-MM-DD 10:42:20.741 +0530  [DEBG]: {    4:    7}: .. check remote TS (num 1, TS0 is not specific) against selector 0:172.17.0.0[0]
2020-MM-DD 10:42:20.741 +0530  [DEBG]: {     :    7}: ... TS 0: exact match
2020-MM-DD 10:42:20.741 +0530  [DEBG]: {    4:    7}: ... result: remote TS = 172.17.0.0[0]/16
2020-MM-DD 10:42:20.742 +0530  [DEBG]: {    4:    7}: TS matching result: TS_l match(=), TS_r match(=) *
2020-MM-DD 10:42:20.742 +0530  [DEBG]: {    4:    7}: selector chosen JTC:local: tid 7`
2020-MM-DD 10:42:20.742 +0530  [PERR]: {    4:    7}: message lacks KE payload  <<<<<<<<<<<---------------
2020-MM-DD 10:42:20.742 +0530  [DEBG]: 14.98.XXX.YY[500] - 185.66.AAA.BBB[500]:(nil) 1 times of 80 bytes message will be sent over soc
2020-MM-DD 10:42:26.014 +0530  [DEBG]: 14.98.XXX.YY[500] - 185.66.AAA.BBB[500]:(nil) 1 times of 80 bytes message will be sent over soc
2020-MM-DD 10:42:26.188 +0530  [DEBG]: processing isakmp packet

 


Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000008Uj1CAE&lang=zh_CN&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language