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

N3 GTP/UDP is not setting #49

Open
Codent0101 opened this issue Jan 3, 2023 · 2 comments
Open

N3 GTP/UDP is not setting #49

Codent0101 opened this issue Jan 3, 2023 · 2 comments

Comments

@Codent0101
Copy link

I am having an issue when attempting to ping out via the tunnel interface of the virtual UE. I am using an Open5GS core with multiple physical UE connected and internet access working.

After starting the virtual GNB and UE they attach correctly with the core but the following message "N3 GTP/UDP is not setting" is repeated in the output and pings via the tunnel interface to 8.8.8.8 or google.com fail.

~/my5G-RANTester/cmd# ./app ue
INFO[0000] my5G-RANTester version 1.0.1
INFO[0000] ---------------------------------------
INFO[0000] [TESTER] Starting test function: Testing an ue attached with configuration
INFO[0000] [TESTER][UE] Number of UEs: 1
INFO[0000] [TESTER][GNB] Control interface IP/Port: 10.18.188.80/9487
INFO[0000] [TESTER][GNB] Data interface IP/Port: 10.18.188.80/2152
INFO[0000] [TESTER][AMF] AMF IP/Port: 10.18.188.80/38412
INFO[0000] ---------------------------------------
INFO[0000] [GNB] SCTP/NGAP service is running
INFO[0000] [GNB] UNIX/NAS service is running
INFO[0000] [GNB][SCTP] Receive message in 0 stream
INFO[0000] [GNB][NGAP] Receive Ng Setup Response
INFO[0000] [GNB][AMF] AMF Name: open5gc-amf0
INFO[0000] [GNB][AMF] State of AMF: Active
INFO[0000] [GNB][AMF] Capacity of AMF: 255
INFO[0000] [GNB][AMF] PLMNs Identities Supported by AMF -- mcc: 272 mnc:42
INFO[0000] [GNB][AMF] List of AMF slices Supported by AMF -- sst:01 sd:000001
INFO[0001] [UE] UNIX/NAS service is running
INFO[0001] [GNB][SCTP] Receive message in 1 stream
INFO[0001] [GNB][NGAP] Receive Downlink NAS Transport
INFO[0001] [UE][NAS] Message without security header
INFO[0001] [UE][NAS] Receive Authentication Request
INFO[0001] [UE][NAS][MAC] Authenticity of the authentication request message: OK
INFO[0001] [UE][NAS][SQN] SQN of the authentication request message: VALID
INFO[0001] [UE][NAS] Send authentication response
INFO[0001] [GNB][SCTP] Receive message in 1 stream
INFO[0001] [GNB][NGAP] Receive Downlink NAS Transport
INFO[0001] [UE][NAS] Message with security header
INFO[0001] [UE][NAS] Message with integrity and with NEW 5G NAS SECURITY CONTEXT
INFO[0001] [UE][NAS] successful NAS MAC verification
INFO[0001] [UE][NAS] Receive Security Mode Command
INFO[0001] [UE][NAS] Type of ciphering algorithm is 5G-EA0
INFO[0001] [UE][NAS] Type of integrity protection algorithm is 128-5G-IA2
INFO[0001] [GNB][SCTP] Receive message in 1 stream
INFO[0001] [GNB][NGAP] Receive Initial Context Setup Request
INFO[0001] [GNB][UE] UE Context was created with successful
INFO[0001] [GNB][UE] UE RAN ID 1
INFO[0001] [GNB][UE] UE AMF ID 22
INFO[0001] [GNB][UE] UE Mobility Restrict --Plmn-- Mcc: not informed Mnc: not informed
INFO[0001] [GNB][UE] UE Masked Imeisv: 1110000000ffff00
INFO[0001] [GNB][UE] Allowed Nssai-- Sst: 01 Sd: 000001
INFO[0001] [GNB][NAS][UE] Send Registration Accept.
INFO[0001] [GNB][NGAP][AMF] Send Initial Context Setup Response.
INFO[0001] [UE][NAS] Message with security header
INFO[0001] [UE][NAS] Message with integrity and ciphered
INFO[0001] [UE][NAS] successful NAS MAC verification
INFO[0001] [UE][NAS] successful NAS CIPHERING
INFO[0001] [UE][NAS] Receive Registration Accept
INFO[0001] [GNB][SCTP] Receive message in 1 stream
INFO[0001] [GNB][NGAP] Receive Downlink NAS Transport
INFO[0001] [UE][NAS] Message with security header
INFO[0001] [UE][NAS] Message with integrity and ciphered
INFO[0001] [UE][NAS] successful NAS MAC verification
INFO[0001] [UE][NAS] successful NAS CIPHERING
INFO[0001] [UE][NAS] Receive Configuration Update Command
INFO[0001] [GNB][SCTP] Receive message in 1 stream
INFO[0001] [GNB][NGAP] Receive PDU Session Resource Setup Request
INFO[0001] [GNB][NGAP][UE] PDU Session was created with successful.
INFO[0001] [GNB][NGAP][UE] PDU Session Id: 1
INFO[0001] [GNB][NGAP][UE] NSSAI Selected --- sst: 01 sd: 000001
INFO[0001] [GNB][NGAP][UE] PDU Session Type: ipv4
INFO[0001] [GNB][NGAP][UE] QOS Flow Identifier: 1
INFO[0001] [GNB][NGAP][UE] Uplink Teid: 74
INFO[0001] [GNB][NGAP][UE] Downlink Teid: 1
INFO[0001] [GNB][NGAP][UE] Non-Dynamic-5QI: 9
INFO[0001] [GNB][NGAP][UE] Priority Level ARP: 8
INFO[0001] [GNB][NGAP][UE] UPF Address: 10.18.188.80 :2152
INFO[0001] [UE][NAS] Message with security header
INFO[0001] [UE][NAS] Message with integrity and ciphered
INFO[0001] [UE][NAS] successful NAS MAC verification
INFO[0001] [UE][NAS] successful NAS CIPHERING
INFO[0001] [UE][NAS] Receive DL NAS Transport
INFO[0001] [UE][NAS] Receiving PDU Session Establishment Accept
INFO[0001] [UE][DATA] UE is ready for using data plane
INFO[0008] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0015] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0041] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0047] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0051] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0057] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0099] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0099] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0127] [GNB][GTP] N3 GTP/UDP is not setting
INFO[0158] [GNB][GTP] N3 GTP/UDP is not setting
PING google.com (216.58.214.14) from X.X.X.X uetun1: 56(84) bytes of data.
From open5gc (X.X.X.X) icmp_seq=2 Destination Host Unreachable
From open5gc (X.X.X.X) icmp_seq=3 Destination Host Unreachable
From open5gc (X.X.X.X) icmp_seq=4 Destination Host Unreachable
From open5gc (X.X.X.X) icmp_seq=5 Destination Host Unreachable
From open5gc (X.X.X.X) icmp_seq=6 Destination Host Unreachable
From open5gc (X.X.X.X) icmp_seq=7 Destination Host Unreachable

Is there any IP routing required for the tunnel interface to enable internet access?

@baleeiro17
Copy link
Collaborator

Hi @Codent0101, it seems the UPF gtp server and TESTER gtp server has the same IP and Port , please try change these information in configuration file (differenciate ports) ...

@Codent0101
Copy link
Author

Thanks @baleeiro17! I modified the IP and Port and it's working correctly now.

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

No branches or pull requests

2 participants