Skip to content
Snippets Groups Projects
Commit 56b45b97 authored by Carlos Antonio De Lima Filho's avatar Carlos Antonio De Lima Filho
Browse files

Update README.md

parent 7b85a438
No related branches found
No related tags found
No related merge requests found
...@@ -278,7 +278,13 @@ However, if you are trying to connect to the 5G Core located on another PC, you ...@@ -278,7 +278,13 @@ However, if you are trying to connect to the 5G Core located on another PC, you
> sudo ip netns exec oai-ue1 iptables -P FORWARD ACCEPT > sudo ip netns exec oai-ue1 iptables -P FORWARD ACCEPT
**Step 11:** Configure the IMSI, Permanent Key and OPC **Step 11:** Enable packet forwarding on the Host:
> echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
>
> sudo iptables -t nat -A POSTROUTING -s 192.168.1.0/24 ! -o veth0 -j MASQUERADE
**Step 12:** Configure the IMSI, Permanent Key and OPC
This part you will configure the UE parameters. The UE parameters file is /home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf. The first three lines of the file are composed by the IMSI, Permanent Key and OPC, as shown in figure below. You will configure these parameters. This part you will configure the UE parameters. The UE parameters file is /home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf. The first three lines of the file are composed by the IMSI, Permanent Key and OPC, as shown in figure below. You will configure these parameters.
...@@ -362,15 +368,23 @@ The UE parameters (figure below) must be equal to the slice 1 configuration file ...@@ -362,15 +368,23 @@ The UE parameters (figure below) must be equal to the slice 1 configuration file
> sudo ip netns exec oai-ue2 sysctl net.ipv4.conf.all.forwarding=1 > sudo ip netns exec oai-ue2 sysctl net.ipv4.conf.all.forwarding=1
**Step 10:** Setting default policy for packet forwarding within the namespace to ACCEPT:: **Step 10:** Setting default policy for packet forwarding within the namespace to ACCEPT:
**Important:** If you are using the same PC for both UEs, and you have already done the configuration for the UE 1, you can skip the commands below.
> sudo ip netns exec oai-ue2 iptables -P FORWARD ACCEPT > sudo ip netns exec oai-ue2 iptables -P FORWARD ACCEPT
**Step 11:** Copy the UE file: **Step 11:** Enable packet forwarding on the Host:
> echo 1 | sudo tee /proc/sys/net/ipv4/ip_forward
>
> sudo iptables -t nat -A POSTROUTING -s 192.168.1.0/24 ! -o veth0 -j MASQUERADE
**Step 12:** Copy the UE file:
> cp /home/$your user$/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf /home/$your user$/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue2.conf > cp /home/$your user$/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue.conf /home/$your user$/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue2.conf
**Step 12:** Configure the IMSI, Permanent Key and OPC **Step 13:** Configure the IMSI, Permanent Key and OPC
This part you will configure the UE parameters. The UE parameters file is /home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue2.conf. The first three lines of the file are composed by the IMSI, Permanent Key and OPC, as shown in figure below. You will configure these parameters. This part you will configure the UE parameters. The UE parameters file is /home/dco1020/openairinterface5g/targets/PROJECTS/GENERIC-NR-5GC/CONF/ue2.conf. The first three lines of the file are composed by the IMSI, Permanent Key and OPC, as shown in figure below. You will configure these parameters.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment