aligungr / UERANSIM

Open source 5G UE and RAN (gNodeB) implementation.
GNU General Public License v3.0
758 stars 316 forks source link

TUN interface[uesimtun0, 60.61.0.1] #369

Open noormohammedli opened 3 years ago

noormohammedli commented 3 years ago

Hello Sir,

I installed the free5GC Stage 3 Installation Guide from this link " https://www.free5gc.org/installations/stage-3/" by fallow this link "https://www.free5gc.org/stage-3-videos/create-ubuntu-machine/" and the UERANSIM from " https://github.com/aligungr/UERANSIM/wiki/Installation". At the beginning, everything went fine, I installed the 5G core and UERANSIM as well in different VMs.

In the UERANSIM VM, the UE is connected to the RAN and RAN connect to the free5GC VM. but the UE lost connection, as I see I had a connection failure. Also, TUN interface[uesimtun0, 60.61.0.1] not created.

Screenshot 2021-07-26 at 4 56 14 pm

Thanks

aligungr commented 3 years ago

Hello @noormohammedli

It seems that there are lots of "address already in use" errors. Please make sure that there is no other program using the same ports. (Perhaps you run more than one gNodeBs?)

(If you are unable to figure it out, try restarting your virtual machines)

Regards

noormohammedli commented 3 years ago

Hello, Yes, I restart the VM and try it again they are connected but the tun interface is still not created.

Screenshot 2021-07-22 at 8 23 30 pm

I will do it again and send you the new image. Regards,

noormohammedli commented 3 years ago

Hello @aligungr ,

I run the code again and this is the log file for the core and gNB and UE, Could you please look at it them?

Screenshot 2021-08-04 at 1 46 09 pm Screenshot 2021-08-04 at 3 02 23 pm

log files.zip

This is all the port i use after i run the code

Screenshot 2021-08-04 at 3 06 52 pm

Regards, Noor

aligungr commented 3 years ago

@noormohammedli

Thanks. That's strange. "Initial random id conflict" is a very unusual error, and it may be a temporary situation. Is this issue still exists?

noormohammedli commented 3 years ago

Yes, Still exists.

shahid2636 commented 3 years ago

uesimtun0 interface is not created. I am having the same problem. I used 3 different VMs to setup UERANSIM with free5gc. 1 machine running only UE. 2nd machine running gNB. I see successful connection between two machines. (UE and gNB are connected). 3rd. free5gc is configured. I can see a session established at SMF and UPF when I try to connect UE. After every connection and restarting a couple of times, still there is no uesimtun0 interface at UE VM.

aligungr commented 3 years ago

@shahid2636 Please share your UE, gNodeB and core network logs.

shahid2636 commented 3 years ago

image image image image I am using a custom build UPF with ONOS. My UPF accepts PFCP request and responds to SMF which can be confirmed by SMF logs.

aligungr commented 3 years ago

@shahid2636

Looks like the issue is related to core network according to the logs you share.

It would be better to open a issue in free5gc side.

Regards.

hxx-98 commented 2 years ago

@noormohammedli

Thanks. That's strange. "Initial random id conflict" is a very unusual error, and it may be a temporary situation. Is this issue still exists?

i also have this error(Initial random id conflict) now. Is there a solution?

noormohammedli commented 2 years ago

@noormohammedli Thanks. That's strange. "Initial random id conflict" is a very unusual error, and it may be a temporary situation. Is this issue still exists?

i also have this error(Initial random id conflict) now. Is there a solution?

I still have the same issue, I don't know, i will try to install the new version maybe it solved