Coder Social home page Coder Social logo

Comments (6)

III-5GC avatar III-5GC commented on July 17, 2024

Hello Noor
I would like to thank you for using our 5GC solution, and be sorry for replying delay.

Since there is no error while you started the natcontainer and oam, I suggest you could check the their status by the command
docker ps
image
A command docker exec -it oam bash could help you to access the OAM container, and then ps aux
image
It means that OAM GUI is working well, we can check the networking later.

If nothing shows on your terminal on first step, please try docker ps -a, the OAM container should have a status "Exited", please show us the logs of OAM container docker logs oam . We could check into that then.

For your networking, please make sure that your network interfaces enp0s8 and enp0s3 are wire-plugged and enabled.
You can utilizing ethtool enp0s8 and ifconfig enp0s8.
image
image
Please check if the "Link detected" is "yes".

Thank you again

from iii-5gc-free-trial.

noormohammedli avatar noormohammedli commented on July 17, 2024

Hello Sir,

Thank you for your replay.
I checked all the above commend with the code that I did it before and I still have a problem with OAM GUI.
When I tried to open OAM GUI with the -oamIp 192.168.1.10 is not working.
Do I need to use port number with it or just -->> http://192.168.1.10.

Regards,
Noor

Screenshot 2020-11-08 at 1 57 12 pm

Screenshot 2020-11-08 at 1 50 03 pm

Screenshot 2020-11-08 at 1 47 43 pm

from iii-5gc-free-trial.

III-5GC avatar III-5GC commented on July 17, 2024

Hello Noor,

I noticed there were two permition deny I have not seen before while you created the OAM and NAT containers.
image
Hence I recommend using a root role via sudo -s, and create containers again.

It seams your OAM works well, please show me logs of ethtool enp0s8 and ifconfig enp0s8.
I would like to check If the network inteface enp0s8 is assigned an IP 192.168.1.x , and "Link detected" is "yes".

I also noticed that you installed the OAM&NAT over a ubuntu desktop version, so you might execute the firefox in the same server, am I correct?
Since the container network mode we utilized was macvlan, based on this premise, it is hard to access the container's IP from host. (I take a guess that you can not ping container IP 192.168.1.10 from host server 192.168.1.x, right?)

Here is an quick solution, generally, there is a default container network bridge, "bridge", docker network ls
image

Inspect it will get you an IP subnet, docker network inspect bridge
image

Utilizing the following command to add another network interface for your OAM and check its IP:
docker network connect bridge oam & docker exec -it oam ifconfig
image

Now, please enter the new IP other than 192.168.1.10 in your firefox, I hope it could solve your problem.

Any question please let me know

Thanks

from iii-5gc-free-trial.

noormohammedli avatar noormohammedli commented on July 17, 2024

Hello Sir,

Thank you for your replay, your explanation very good and useful for me.

Now it’s work, I could access the OAM GUI from my firefox using 172.17.x.x address after I added the network bridge to the OAM container.

In addition, you are correct I use the same server and I installed them over a ubuntu-desktop.

In your example with -nic2, you put eno1.

And when I run the example I but enp0s3 which is the second network interface that I got from the ifconfig on ubuntu.

So, if enp0s3 corrects, is that means the NAT IP address will also belong to the same range of the network interface
or what I did as it is below was right if I want to access it from another server.

-nic2 enp0s3
-natIp 140.92.13.5
-nat 140.92.13.0/24
-natGw 140.92.13.254

As a result, of what I have done
I access the OAM GUI form the Firefox, Form the OAM container I can ping AMF, SMF, PCF and UPF

And because I use the same server I added a network bridge to the NAT and I accessed to them the IP address that I get.

With your application, you added a set of users, How can I make one of these users access to the internet through your OAM-5GC?

If you know a way that's help me to deal with uses and the network slice setting. Or, specify a user for specific SST that will be extremely helpfull for me.

Regards,

from iii-5gc-free-trial.

III-5GC avatar III-5GC commented on July 17, 2024

Hello, Noor

We are glad that your problem was solved.
Thanks to you, we fixed the mistyped and added the workround to the instruction.

With your application, you added a set of users, How can I make one of these users access to the internet through your OAM-5GC?

I am a little bit confused here, what did you mean me adding a set of users? Did you mean adding UE info, such as IMSI and UE key?
If so, you might have some misunderstanding about our project.
In this project, we presented a trial 5G core network only. The IMSI and UE key only means the informations of SIM card that 5G core network needed, it will not create a simulated user.
If you want to test or verify our 5G core network, you might have to prepare your own gNB (5G base station) and UE (5G mobile phone), or even a simulator that can create both. Then giving the information of SIM card you used, that is IMSI, Key, OP or OPc, to our 5G core network. After registration procedure complete, your UE can really access to the internet via gNB, 5GC, and NAT.

Regard

from iii-5gc-free-trial.

noormohammedli avatar noormohammedli commented on July 17, 2024

Hello, Noor

We are glad that your problem was solved.
Thanks to you, we fixed the mistyped and added the workround to the instruction.

With your application, you added a set of users, How can I make one of these users access to the internet through your OAM-5GC?

I am a little bit confused here, what did you mean me adding a set of users? Did you mean adding UE info, such as IMSI and UE key?
If so, you might have some misunderstanding about our project.
In this project, we presented a trial 5G core network only. The IMSI and UE key only means the informations of SIM card that 5G core network needed, it will not create a simulated user.
If you want to test or verify our 5G core network, you might have to prepare your own gNB (5G base station) and UE (5G mobile phone), or even a simulator that can create both. Then giving the information of SIM card you used, that is IMSI, Key, OP or OPc, to our 5G core network. After registration procedure complete, your UE can really access to the internet via gNB, 5GC, and NAT.

Regard

Hello,
Thank you for the explanation, you made it clear for me now.
Regards,

from iii-5gc-free-trial.

Related Issues (4)

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.