Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SPGW Allocated IP 0.0.0.0 to IMSI 001010123456789 #847

Open
ysgaga opened this issue Apr 13, 2022 · 6 comments
Open

SPGW Allocated IP 0.0.0.0 to IMSI 001010123456789 #847

ysgaga opened this issue Apr 13, 2022 · 6 comments

Comments

@ysgaga
Copy link

ysgaga commented Apr 13, 2022

Issue Description

[Describe the issue in detail]
Hi, I install srsran and try 5 UEs connect to it, it is good.
But when I try 6 UEs and more, some UE can not get ip.

Log

Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000013
Creating Session Response -- MME control TEID: 1359
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1359
SPGW: Allocated User TEID 1359
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1359
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000013
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x55b; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000006
UL NAS: Detach Request
Detach request -- IMSI 001016789000013
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000012
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6c2
Attach request -- eNB-UE S1AP Id: 1383
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 10
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000004, old eNB UE S1ap Id 1371, old MME UE S1AP Id 2483
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000004
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000004
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000004
Creating Session Response -- MME control TEID: 1360
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1360
SPGW: Allocated User TEID 1360
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1360
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000004
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x55c; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000004
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000004
Received UE Context Release Request. MME-UE S1AP Id 2498
UL NAS: Detach Request
Detach request -- IMSI 001016789000001
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6c8
Attach request -- eNB-UE S1AP Id: 1384
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 12
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000002, old eNB UE S1ap Id 1377, old MME UE S1AP Id 2494
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000002
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000002
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000002
Creating Session Response -- MME control TEID: 1361
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1361
SPGW: Allocated User TEID 1361
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1361
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000002
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x55d; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000002
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6ce
Attach request -- eNB-UE S1AP Id: 1385
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 11
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000004, old eNB UE S1ap Id 1383, old MME UE S1AP Id 2506
GUTI Attach -- NAS Integrity OK. UL count 3, DL count 1
Generating KeNB with UL NAS COUNT: 3
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000004
Creating Session Response -- MME control TEID: 1362
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1362
SPGW: Allocated User TEID 1362
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1362
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000004
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x55e; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000004
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
Received UE Context Release Request. MME-UE S1AP Id 2500
UL NAS: Detach Request
Detach request -- IMSI 001016789000006
UL NAS: Detach Request
Detach request -- IMSI 001016789000013
Received UE Context Release Request. MME-UE S1AP Id 2502
UL NAS: Detach Request
Detach request -- IMSI 001016789000012
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6c9
Attach request -- eNB-UE S1AP Id: 1386
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 11
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001010123456789, old eNB UE S1ap Id 1378, old MME UE S1AP Id 2496
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001010123456789
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001010123456789
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1010123456789
Creating Session Response -- MME control TEID: 1363
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1363
SPGW: Allocated User TEID 1363
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1363
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001010123456789
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x55f; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001010123456789
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000001
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6c6
Attach request -- eNB-UE S1AP Id: 1387
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 15
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000011, old eNB UE S1ap Id 1375, old MME UE S1AP Id 2490
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000011
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000011
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000011
Creating Session Response -- MME control TEID: 1364
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1364
SPGW: Allocated User TEID 1364
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1364
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000011
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x560; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000011
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6ca
Attach request -- eNB-UE S1AP Id: 1388
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 2
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000001, old eNB UE S1ap Id 1379, old MME UE S1AP Id 2498
GUTI Attach -- NAS Integrity OK. UL count 5, DL count 1
Generating KeNB with UL NAS COUNT: 5
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000001
Creating Session Response -- MME control TEID: 1365
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1365
SPGW: Allocated User TEID 1365
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1365
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000001
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x561; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000001
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000002
UL NAS: Detach Request
Detach request -- IMSI 001016789000004
Received UE Context Release Request. MME-UE S1AP Id 2504
UL NAS: Detach Request
Detach request -- IMSI 001016789000013
Received UE Context Release Request. MME-UE S1AP Id 2506
UL NAS: Detach Request
Detach request -- IMSI 001010123456789
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6c7
Attach request -- eNB-UE S1AP Id: 1389
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 3
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000003, old eNB UE S1ap Id 1376, old MME UE S1AP Id 2492
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000003
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000003
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000003
Creating Session Response -- MME control TEID: 1366
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1366
SPGW: Allocated User TEID 1366
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1366
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000003
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x562; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000003
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000011
UL NAS: Detach Request
Detach request -- IMSI 001016789000001
Received UE Context Release Request. MME-UE S1AP Id 2508
UL NAS: Detach Request
Detach request -- IMSI 001016789000002
Received UE Context Release Request. MME-UE S1AP Id 2509
UL NAS: Detach Request
Detach request -- IMSI 001016789000004
Received UE Context Release Request. MME-UE S1AP Id 2511
UL NAS: Detach Request
Detach request -- IMSI 001010123456789
UL NAS: Detach Request
Detach request -- IMSI 001016789000003
Received UE Context Release Request. MME-UE S1AP Id 2513
UL NAS: Detach Request
Detach request -- IMSI 001016789000011
Received UE Context Release Request. MME-UE S1AP Id 2514
UL NAS: Detach Request
Detach request -- IMSI 001016789000001
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6cb
Attach request -- eNB-UE S1AP Id: 1390
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 20
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000006, old eNB UE S1ap Id 1380, old MME UE S1AP Id 2500
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000006
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000006
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000006
Creating Session Response -- MME control TEID: 1367
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1367
SPGW: Allocated User TEID 1367
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1367
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000006
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x563; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000006
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
Received UE Context Release Request. MME-UE S1AP Id 2516
UL NAS: Detach Request
Detach request -- IMSI 001016789000003
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6cf
Attach request -- eNB-UE S1AP Id: 1391
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 13
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000002, old eNB UE S1ap Id 1384, old MME UE S1AP Id 2508
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000002
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000002
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000002
Creating Session Response -- MME control TEID: 1368
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1368
SPGW: Allocated User TEID 1368
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1368
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000002
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x564; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000002
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6cc
Attach request -- eNB-UE S1AP Id: 1392
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 15
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000012, old eNB UE S1ap Id 1381, old MME UE S1AP Id 2502
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000012
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000012
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000012
Creating Session Response -- MME control TEID: 1369
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1369
SPGW: Allocated User TEID 1369
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1369
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000012
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x565; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000012
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000012
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6d1
Attach request -- eNB-UE S1AP Id: 1393
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 12
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001010123456789, old eNB UE S1ap Id 1386, old MME UE S1AP Id 2511
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001010123456789
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001010123456789
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1010123456789
Creating Session Response -- MME control TEID: 1370
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1370
SPGW: Allocated User TEID 1370
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1370
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001010123456789
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x566; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001010123456789
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000006
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6d7
Attach request -- eNB-UE S1AP Id: 1394
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 16
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000012, old eNB UE S1ap Id 1392, old MME UE S1AP Id 2522
GUTI Attach -- NAS Integrity OK. UL count 3, DL count 1
Generating KeNB with UL NAS COUNT: 3
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000012
Creating Session Response -- MME control TEID: 1371
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1371
SPGW: Allocated User TEID 1371
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1371
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000012
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x567; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000012
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
Received Initial UE message -- Attach Request
Attach request -- M-TMSI: 0x1eb0b6cd
Attach request -- eNB-UE S1AP Id: 1395
Attach request -- Attach type: 2
Attach Request -- UE Network Capabilities EEA: 11110000
Attach Request -- UE Network Capabilities EIA: 01110000
Attach Request -- MS Network Capabilities Present: true
PDN Connectivity Request -- EPS Bearer Identity requested: 0
PDN Connectivity Request -- Procedure Transaction Id: 4
PDN Connectivity Request -- ESM Information Transfer requested: false
Attach Request -- Found previously attach UE.
Found UE context. IMSI: 001016789000013, old eNB UE S1ap Id 1382, old MME UE S1AP Id 2504
GUTI Attach request NAS integrity failed.
RE-starting authentication procedure.
Downlink NAS: Sent Authentication Request
UL NAS: Received Authentication Response
Authentication Response -- IMSI 001016789000013
UE Authentication Accepted.
Generating KeNB with UL NAS COUNT: 0
Downlink NAS: Sending NAS Security Mode Command.
UL NAS: Received Security Mode Complete
Security Mode Command Complete -- IMSI: 001016789000013
Getting subscription information -- QCI 7
Sending Create Session Request.
Creating Session Response -- IMSI: 1016789000013
Creating Session Response -- MME control TEID: 1372
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
SPGW: Allocated Ctrl TEID 1372
SPGW: Allocated User TEID 1372
SPGW: Allocate UE IP 0.0.0.0
Received Create Session Response
Create Session Response -- SPGW control TEID 1372
Create Session Response -- SPGW S1-U Address: 127.0.1.100
SPGW Allocated IP 0.0.0.0 to IMSI 001016789000013
Adding attach accept to Initial Context Setup Request
Sent Initial Context Setup Request. E-RAB id 5
Received Initial Context Setup Response
E-RAB Context Setup. E-RAB id 5
E-RAB Context -- eNB TEID 0x568; eNB GTP-U Address 127.0.1.1
UL NAS: Detach Request
Detach request -- IMSI 001016789000013
Received GTP-C PDU. Message type: GTPC_MSG_TYPE_DELETE_SESSION_REQUEST
UL NAS: Detach Request
Detach request -- IMSI 001016789000002

@andrepuschmann
Copy link
Collaborator

Which version is this? I think this issue has been solved a while ago.

@ysgaga
Copy link
Author

ysgaga commented Apr 21, 2022

Hi,andrepuschmann,
My version is 21_10,it is newest.

@andrepuschmann
Copy link
Collaborator

Please send complete eNB and EPC logs in info level. In general, however, it might be worth to try another EPC, like open5gs. The srsEPC is a light-weight testing EPC and was never intended for serious use.

@mazimkhan
Copy link

For me this happens when UE IPs are exhausted
image

@matan1008
Copy link
Contributor

Do you mind trying my branch #647?

@andrepuschmann
Copy link
Collaborator

@mazimkhan As @matan1008 said we would be really grateful if you could test his branch with your exact scenario. If you can, could you also post the log entries (like above) when the rollover happens?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants