Comments (17)
Hi, laps4111wu
Could you see the configuration guide?
You may need to set the following configuration in your ubuntu machine.
If you have no NAT router, there is another option for you. iptables can solve the problem. You execute the following command in NextEPC installed host. The eth0 shown below is just an example. Do not miss out on modifying your interface name(e.g enp0s25, wls3).
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
sudo iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE
sudo iptables -I INPUT -i pgwtun -j ACCEPT
Thanks!
from open5gs.
Hi,
Thanks for your reply
Let me verify my idea
The IP in my computer that use to surf Internet is 192.168.101.134
and I find that it go through a D-Link router
So that means I have NAT router?
Thanks!
from open5gs.
You may not fully control D-Link router. D-Link may restrict 45.45.0.0/16 network. So, we suggest use iptables
in this case.
Thanks!
from open5gs.
I typed your commands and check the routing table by "route -n"
the IP table is that
but the problem still exist ><
I try restart the computer and retype the commands as follow
sudo ip tuntap add name pgwtun mode tun
sudo ip addr add 45.45.0.1/16 dev pgwtun
sudo ip addr add cafe::1/16 dev pgwtun
sudo ip link set pgwtun up
sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"
sudo iptables -t nat -A POSTROUTING -o enp5s0 -j MASQUERADE
sudo iptables -I INPUT -i pgwtun -j ACCEPT
sudo ifconfig enp2s0 10.0.102.18
./nextepcd
Is there any mistake here?
Thanks!
from open5gs.
I'm not sure why you set the 10.0.102.18 in enp2s0.
BTW, could you send me a configuration file(nextepc.conf
) and log file(nextepc.log
)?
And also, I need a result of ifconfig -a
.
Thanks!
from open5gs.
The reason why I set that is
enp2s0 is NIC that connect to eNB
enp5s0 is NIC that connect to Internet
The attached files are:
nextepc.log & nextepc.conf : the file you requested
sometimes_can_ping_google_DNS.pcapng &(log)sometimes_can_ping_google_DNS.txt :
I move between eNBs and find out that sometimes(not always) the ping will reply OK for a short time,
(the situation seems to happen when handover)
but I don't know why.
files1.zip
Thanks a lot!
from open5gs.
Your configuration might be good. There are 3 or 4 eNodeBs. Right?
But, Handover is not initiated. Just Tracking area update is performed.
ping will reply OK sometimes
means that your iptables configuration is also correct.
So, for verifying your environment, how about use only 1 eNodeB and 1 UE?
Nevertheless, if the ping is not working, please change the gtp
trace level to 5
.
If we can get the log with gtp
trace level 5, we can see the reason more clearly.
Thank you for your effort.
from open5gs.
Good morning,
Good news for 1 eNB and 1UE can connect to the Internet.
For 2 eNBs or more still can't surf the Internet.
1 eNB [03/16 09:09:18.609]
2 eNBs [03/16 09:58:11.073]
nextepc.log
Thanks!
from open5gs.
Good starting! Basic NextEPC configuration has no problem.
We'll try to find out why your UE didn't initiate handover from your pcap and log files.
Thanks!
from open5gs.
Hi,
Another good news for you
I change the UE from Huawei E3372h-510 to Samsung J7 prime.
Without changing the core network and femtocell setting, the UE is able to connect to the Internet and handover(?) between femtocells.
Here is some wireshark file for you.
https://drive.google.com/drive/folders/1zZGsxWhCodTawdIQV1x6SmuYjVplhtq2?usp=sharing
Hope you can find the reason.
Thanks a lot.
from open5gs.
Great! We're happy that your UE can connect to the internet.
BTW, could you share your nextepc.log? It will be very helpful for us to analyze your environment.
Thanks!
from open5gs.
Here you are.
https://drive.google.com/file/d/104DY1SqnTNit_j2lu-M5p7iu40-Edrhp/view?usp=sharing
Also can you tell me the following wireshark files
https://drive.google.com/drive/folders/1zZGsxWhCodTawdIQV1x6SmuYjVplhtq2?usp=sharing
Have it trigger S1-handover or X2-handover?
Thanks a lot!
from open5gs.
There are three pcap files.
-
many_femotocell_ok_with_J7.pcapng
Too big files. So, I skipped it. -
many_femotocell_idle.pcapng : X2-handover
I think X2-handover is properly worked. -
many_femotocell_ok_with_J7_walking.pcapng : X2-handover
X2-handover is properly worked. However,Handover-Required(S1)
is initiated by UE, and MME does not sendHandover-Request
message to target enodeb. So, I requested log file to analyze the reason. Unfortunately, the log file is too big(over 30Gb). I cannot find a related log in this file.
To do my analysis,
- Change the gtp trace level to 1 in nextepc.conf
- Remove the nextepc.log file
- Restart wireshark capture
- Run your test
- Give me a nextepc.log and wireshark.pcapng
And then, I'll analyze your multiple femtocell environment.
Thanks!
from open5gs.
Hi,
I allow only 3 femtocells(10.102.0.226 & 228 & 236) to connect to EPC.
The following files are:
nextepc.log
0322_3xfemtocell_with_J7_walk.pcapng.zip
Thanks !!
from open5gs.
For triggering S1-handover, you may need to configure your eNodeB.
As I know, if there is X2 connection between eNBs, X2-handover will be triggered.
From your log, I cannot find the NextEPC problem. It seems to be properly worked.
Thanks!
from open5gs.
I think the problem of connection of Huawei dongle may be due to different 3GPP release.
By surveying the production date,
Huawei may follow R11
Samsung J7 prime may follow R13.
FYI.
I think this issue is able to close.
Thanks a lot
from open5gs.
Nice information to us.
Github master branch is now using R14.
It will be release v0.3.7 soon.
Thanks!
from open5gs.
Related Issues (20)
- volte_ue
- Assistance Needed with Open5GS and IMS Setup in XIAOMI UEs
- meson test failed 9 tests HOT 1
- meson test failed 9 tests
- Documentation (https://open5gs.org/open5gs/docs/) links under "@gradiant helm charts" are not reachable (404 error) HOT 2
- The slice cannot be throttled.
- Webui failing to get booted
- UE downlink data forwarding HOT 1
- [Bug]: the ogs_pool_cycle macro maybe logic invalid HOT 4
- SMFd uses first PFCP udp socket disregarding multiple IP homing
- No PFCP Session establishment response
- Vulnerability Remediations (#3206)
- [Bug]: Some assertions can be triggered HOT 3
- EAP-TLS support
- [Bug]: Delegated ipv6 prefix changes to invalid after changing UE APN ip type from dual to ipv4 only back to dual HOT 5
- NB-IOT with support for Non-IP PDN
- ogs_sbi_client_handler() failed [-1] (../lib/sbi/path.c:62) HOT 1
- UE failed to attach. Activating Failed Error HOT 1
- 5G Roaming SEPP N32-C and N32-F on separate interfaces
- 5G Roaming AMF support more than one TAI? HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from open5gs.