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
Internet access while using outside eNB with dockerized volte on openstack #33
Comments
here is the log |
Set SGWU_ADVERTISE_IP to 44.102.129.54 in .env and then do source .env and bring back the stack with docker-compose up and then give it a try |
Dear @herlesupreeth Thanks for your replay I did that but still No internet connection Here are pcaps and logs: Core Configs: |
also it is pcap from eNB prespective: |
its not wrong My ip is 46.102.129.156 i changed floating ip as used new VM! |
Sorry, i thought its just 4G not NSA! I changed it, but still not having internet acess on UE! |
Do i need to add some route in eNB? on eNB when i do: as in readme it says : am i doing wrong? |
Check the security policies, are you allowing UDP port 2152? do not set UPF_ADVERTISE_IP to 46.102.129.158, keep it same as UPF_IP as you are in 4G only |
If you modify .env make sure to run source .env again and bring down the stack and up again before re-tryng |
Yea, i always do that do u have any other idea? |
Can it be because of the time syncronization? I did changed it But Notting happened! so its not the problem! |
Post here the output of |
Yea, i think its smf, there are some warning in logs about it, I'll post ip a here but it is 192.168.1.10/24
as i see in smf.yaml the Ue pool is like this:
should i change it? |
i dont think you have to change it as your enp1s0 subnet does not collide with UE subnet |
My topology is 1- eNB <===> MME ))))))))) sucess Dockerized CORE is on the openstack vm[192.168.1.141] with default docker ip[172.22. ...] I will send some logs again! |
Also there is sth wrong with time!( maybe because i donot have internet access) In Ue the time is UTC while in Openstack Vm and eNB its all right to local time! Here is my new logs, pcap and configs: before turning on the UE i removed old APN and add new one! Thanks |
Can u give me a hint? |
Dear @herlesupreeth I also tested your repo[https://github.com/herlesupreeth/docker_open5gs/tree/4g] with 4G branch( Not master) Thanks |
Also changed timezone of all components including dockers, Openstack VM, native ubuntu(for eNB) as ETC/UTC
|
I found the reason why you dont have internet access. In the pcap attached here #33 (comment) the S1AP traffic is between NATed IP address of eNB (5.239.89.219) and your EPC at 192.168.1.141. However, the eNB is advertising in s1ap.InitialContextSetupResponse that its transportLayerAddress(IPv4) is 192.168.1.10. As a result of this the GTP traffic in Downlink (EPC to eNB direction) will be sent from 192.168.1.141 to 192.168.1.10 and EPC has no idea where to find 192.168.1.10 resulting in traffic flowing from internet only till EPC and not till eNB. There are two options to fix this (i.e. if you want to stick with using OpenStack)
|
@herlesupreeth The 5.239.x.x is the dhcp Ip address from ISP, I do not have Dedicated ip in eNB side ( because i'm using fiber optic which bought from isp and i'm using modem (By LAN CABLE ) to connect eNB PC to the internet ( My modem has been assigned 192.168.1.10 to PC while Modem gets 5.239.x.x from ISP) Can u give me hint for creating IPSEC tunnel? is it possible to solve the issue By changing My Modem Ip address ? for example change 192.168.1.10 to 172.22.x.x which has no conflict with Core Ip address? Thank you so much again |
Will suggest you a fix shortly |
It means i cannot add route ( Your second solution ), because it says
|
Here is My new test For scenario number 4
in this scenario I have internet access as before i did
For this Scenario of CORE, I just stopped the VM of scenario number 2 ( which was created few hours ago ) and in OpenStack made Snapshot of that VM. So then Created New VM based on the snapshot but with diffrent Ip address [this new VM just have Public Ip address and do not have floating or local Ip] and then signed into it and just changed the .env configs (HOST IP AND SGWU Advertise). then source that and compose up So Now the interent is stable so Now i can see same connection rnti name ( twice rnti with the same ID ) in srsenb log file COTS UE is Samsung A42 and SDR is USRP B210 . here are Core files: PCAP was more than 10MB so i upload it in Google DRIVE RAN files: |
configs.zip As i said Before My Webui configs are like:
But in DRB, i Do not have QCI 2! ( as you can see in Configs ) . . Also FOR FOHSS configuration i followed this
MY configuration For FOHSS is b.txt |
Can u please Confirm if i'm doing FOHSS and DRB configuration in the right way? Also Please Lemme Know if Scenario Number 1 and 3 is needed Thanks |
I Now Also add QCI 2 in DRB
Looks like there is an error in CDP |
Do NOT run this if you are using docker_open5gs repository as its already been executed inside the container. I dont understand why you are executing the above in eNB (its meaningless, so please dont run it on eNB) |
a.txt is the correct one. |
Also Add QCI 2 as Follows in srsran/drb.conf
Yea you are right. i was wrong In Core run that because i'm using cloud so tried to forward ipv4 Thanks |
I run that again But the same thing happened as #33 (comment) Each time this will happen:
|
dear @herlesupreeth This is Also My SecurityGroup in openstack All are Open . I'm using cloud image for my VM in Openstack [https://cloud-images.ubuntu.com/bionic/current/bionic-server-cloudimg-amd64.img] Should it be because of that? |
Hello again, We've got The Problem solved by adding IPTABLE in UPF Container ADD this to UPF_INIT.SH after python3s @herlesupreeth is it possible to add this in repo? Thanks |
@modyngs I dont think this is needed if UPF and SGWU is running in the same VM. Cam you send me a pcap for this? I mean UE registration pcap |
Yea, they are in the same VM, the UPF sends packets to 46.102.143.x while it can not access the interface as UPF advertise IP is Not set for NSA I'll send it in few minutes. can you also check this ( #37) in between please? |
I have an example pcap here, where eNb is running at 172.30.200.48 and docker_open5gs running at 172.30.200.223. and if you follow the GTP packets from 1359 till 1395 i see UPF properly sending the packets to SGWU internal address and from SGWU to UE via advertised address. This setup does not use openstack..its purely based on physical machine running in 172.30.200.0/24 subnet |
@herlesupreeth This is the same structure with the same VM on the same Docker, just comment that line I'll send the successful Pcap after adding that line on the same VM and same Docker, just add that line
I think its Not Running Over OpenStack! So the problem is with Openstack. its fine in other setups |
Sorry for late |
I do not know whats wrong with Openstack in that case! So u can also add that manually by |
Thanks for the pcap, i still dont think this issue could arise from using openstack.. looks like a residual NAT rule in your VM |
Anytime Can you give hint on this issue? #37 Thanks |
Dear @herlesupreeth Hi again, Sorry for opening an old issue, Thanks for you recommendation in open5gs/open5gs#1341 (comment) but i saw this issue here that the same problem was solved for SRSLTE in #33 (comment) by adding GTP Advertise address in SRSLTE repo I'm using OAI gNB for the RAN and open5GS as my core setup for 5G SA the actual setup is now like bellow:
I've set the Advertise Ip in UPF and all the forwardings are set! but still do not have internet access. If it is possible to do the same thing on OAI code as done for SRSLTE, that would be really amazing. Also, I've installed the Quicktun in both sides ( CORE[openstack] & RAN ) but is there any configurations should be changed in gNB or AMF_UPF ? Thanks |
Dear @herlesupreeth |
@bhuvaneshnexn please post a pcap file so that I can get complete picture of the issue. Also, describe your setup, send your .env file used |
I had same issue for 5G SA setup. UE registration was OK but no internet access. When my AMF is
and my UE IPs are in this range
Now I have internet access on my UE via USRP gNB |
Dear @herlesupreeth
Hi,
My topology is
eNB( is on Local computer)[192.168.1.60] <==========> Openstack VM { Floating Ip add [44.102.129.54] , Docker Host(Openstack vm) [192.168.1.107] , VOLTE_DOCKERized [172.22.xx.xx] }
1- eNB <===> MME ))))))))) sucess
2- UE )))))))) got connected to network
3- UE can't access internet while i can see 4G sing in one direction!
Dockerized CORE is on the openstack vm[192.168.1.107] with default docker ip[172.22. ...]
eNB is on the Local Coputer with [192.168.1.60]
here is attached pcap
No Int3.zip
in Both sides ipv4 forwarding is enabled!
Thanks
Best regards
The text was updated successfully, but these errors were encountered: