Git Product home page Git Product logo

Comments (17)

acetcom avatar acetcom commented on June 12, 2024

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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

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.

acetcom avatar acetcom commented on June 12, 2024

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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

I typed your commands and check the routing table by "route -n"
the IP table is that
image

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.

acetcom avatar acetcom commented on June 12, 2024

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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

The reason why I set that is
enp2s0 is NIC that connect to eNB
enp5s0 is NIC that connect to Internet

ifconfig -a result:
image

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.

acetcom avatar acetcom commented on June 12, 2024

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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

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.

acetcom avatar acetcom commented on June 12, 2024

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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

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.

acetcom avatar acetcom commented on June 12, 2024

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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

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.

acetcom avatar acetcom commented on June 12, 2024

There are three pcap files.

  1. many_femotocell_ok_with_J7.pcapng
    Too big files. So, I skipped it.

  2. many_femotocell_idle.pcapng : X2-handover
    I think X2-handover is properly worked.

  3. 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 send Handover-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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

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.

acetcom avatar acetcom commented on June 12, 2024

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.

lsps4111wu avatar lsps4111wu commented on June 12, 2024

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.

acetcom avatar acetcom commented on June 12, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.