**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:
**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.