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

UE unable to ping #90

Closed
jy11-2 opened this issue Nov 27, 2023 · 1 comment
Closed

UE unable to ping #90

jy11-2 opened this issue Nov 27, 2023 · 1 comment

Comments

@jy11-2
Copy link

jy11-2 commented Nov 27, 2023

Hi! I was facing the issue below, would really appreciate some help. Thanks!!!

Environment
Ubuntu: 20.04-Focal
Docker version: 24.0.7
Docker compose version: 2.21.0
Kernel-release: 5.4.0-167-generic
Loaded Kernel module : gtp5g 0.8.3

Deployment status:

Free5GC and UERANSIM were deployed in a single host machine both using docker-compose version.

image

IP address for all containers:

image

In order to bring up UE only after setting up gNB and webconsole, I made the following modifications in docker-compose-build.yaml and docker-compose.yaml:

  1. Separate ueransim container into 2 containers: ue and gnb
  2. Container ue depends on container gnb
  3. After running docker compose -f docker-compose-build.yaml up , I run docker stop ue and log into webconsole to add in subscriber. Then run docker restart ue.

docker-compose-build.yaml

image

docker-compose.yaml

image

Could someone give me some advice if this deployment is fine?

Configuration

[amfcfg.yaml]
image

[smfcfg.yaml]
image
image

[nrfcfg.yaml]
image

[upfcfg.yaml]
image

[gnbcfg.yaml]

image

I've modified the linkIp as gnb.free5gc.org, which was originally 127.0.0.1

Others remained unchanged

[uecfg.yaml]

image

I've modified OP type as OP, and gNBSearchList as gnb.free5gc.org, which was originally 127.0.0.1

Current behaviour

ping -I uesimtun0 command ran inside the ue container is not receiving any ICMP reply as expected with 100% packet loss.

I have monitored necessary interfaces:

[UPF: eth0] No packets observed

image

[UPF:upfgtp] No packets observed

image

Verifying if upfgtp interface is assigned an IP address => no IP address is assigned to the upfgtp interface. I really appreciate it if someone can guide me towards verifying the reason for this.
image

[UPF routing table]

image

Applying the changes suggested by #28 does not fix the issue nor changed the above reported outputs

[UE: uesimtun tcpdump] : No packets observed

[UE: eth0 tcpdump]: Packets can be observed as per normal

[UE routing table]
image

Logs

amflog.txt
gnblog.txt
nrflog.txt
smflog.txt
uelog.txt
upflog.txt

I'm a fresh starter in 5g technologies and still have a lot to learn. Hoping someone can give me some advice on how to solve this issue, thank you so much!!!

@jy11-2 jy11-2 closed this as completed Nov 28, 2023
@pragyasharmaa
Copy link

Hey, did you solve this problem ultimately? I am facing the same issue

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