[srsran-users] COTS UE cant connect to internet
Iman Mohammadi
iman.mohammadi.telecom at gmail.com
Tue Apr 2 09:57:03 UTC 2024
Hi,
PDN connectivity reject should be related to IMS APN and no relation with
using internet issue as UE already got IP 172.16.0.2, you can check IP
table configuration if are correct:
### Enable IPv4 Forwarding
$ sudo sysctl -w net.ipv4.ip_forward=1
$ sudo sysctl -w
### Add NAT Rule
$ sudo iptables -t nat -A POSTROUTING -s 172.16.0.0/24 ! -o "interface" -j
MASQUERADE
Or considering "srsepc_if_masq <out_interface>"
Best Regards
Iman Mohammadi
On Tue, Apr 2, 2024, 12:50 Bouazza EHM <bouazzaelhadjmessaoud at gmail.com>
wrote:
> I have an issue connecting to internet but the UE is capable to find the
> network and i have an IP address and the 4G logo
> i also have only the uplink bar beside the log
> here is what i get from the EPC
>
>
>
>
> Sending S1 Setup Response
> Initial UE message: LIBLTE_MME_MSG_TYPE_ATTACH_REQUEST
> Received Initial UE message -- Attach Request
> Attach request -- M-TMSI: 0xf4d6c1de
> Attach request -- eNB-UE S1AP Id: 1
> Attach request -- Attach type: 2
> Attach Request -- UE Network Capabilities EEA: 11110000
> Attach Request -- UE Network Capabilities EIA: 11110000
> Attach Request -- MS Network Capabilities Present: true
> PDN Connectivity Request -- EPS Bearer Identity requested: 0
> PDN Connectivity Request -- Procedure Transaction Id: 6
> PDN Connectivity Request -- ESM Information Transfer requested: true
> UL NAS: Received Identity Response
> ID Response -- IMSI: 222010100001120
> Downlink NAS: Sent Authentication Request
> UL NAS: Received Authentication Response
> Authentication Response -- IMSI 222010100001120
> 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: 222010100001120
> Sending ESM information request
> UL NAS: Received ESM Information Response
> ESM Info: APN srsapn
> ESM Info: 7 Protocol Configuration Options
> Getting subscription information -- QCI 7
> Sending Create Session Request.
> Creating Session Response -- IMSI: 222010100001120
> Creating Session Response -- MME control TEID: 1
> Received GTP-C PDU. Message type: GTPC_MSG_TYPE_CREATE_SESSION_REQUEST
> SPGW: Allocated Ctrl TEID 1
> SPGW: Allocated User TEID 1
> SPGW: Allocate UE IP 172.16.0.2
> Received Create Session Response
> Create Session Response -- SPGW control TEID 1
> Create Session Response -- SPGW S1-U Address: 127.0.1.100
> SPGW Allocated IP 172.16.0.2 to IMSI 222010100001120
> 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 0x1; eNB GTP-U Address 127.0.1.1
> UL NAS: Received Attach Complete
> Unpacked Attached Complete Message. IMSI 222010100001120
> Unpacked Activate Default EPS Bearer message. EPS Bearer id 5
> Received GTP-C PDU. Message type: GTPC_MSG_TYPE_MODIFY_BEARER_REQUEST
> Sending EMM Information
> UL NAS: PDN Connectivity Request
> DL NAS: Sending PDN Connectivity Reject
> UL NAS: PDN Connectivity Request
> DL NAS: Sending PDN Connectivity Reject
>
>
>
> this
> UL NAS: PDN Connectivity Request
> DL NAS: Sending PDN Connectivity Reject
>
> is the main problem
> Please help i truly need this
> thank you
> _______________________________________________
> srsran-users mailing list
> srsran-users at lists.srsran.com
> https://lists.srsran.com/mailman/listinfo/srsran-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.srsran.com/pipermail/srsran-users/attachments/20240402/1a55484a/attachment.htm>
More information about the srsran-users
mailing list