NextEPC Configuration

1.Network Settings

  • Configuration file path

Open NextEPC config file,the file path is as follows:

/home/uepc/work/nextepc/install/etc/nextepc/nextepc.conf

NextEPC Install path:/home/uepc/work

2.Modification of MME config

 s1ap:

   addr: 192.29.29.3

3.Modification of SGW config

sgw:

    gtpc:

      addr: 127.0.0.2

    gtpu:

      addr: 192.29.29.3

4.Internet Access for UEs

sysctl net.ipv4.ip_forward

net.ipv4.ip_forward = 0

sudo sh -c "echo 1 > /proc/sys/net/ipv4/ip_forward"

5.NAT on PGW

sudo iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE

sudo iptables -I INPUT -i pgwtun -j ACCEPT

NOTE:

ens33, network interface.

6.LTE Settings

Open NextEPC config file,the file path is as follows:

/home/uepc/work/nextepc/install/etc/nextepc/nextepc.conf

NextEPC Install path:/home/uepc/work

7.PLMN and TAC

mme:

    gummei:

      plmn_id:

        mcc: 460

        mnc: 25

      mme_gid: 2

      mme_code: 1

    tai:

      plmn_id:

        mcc: 460

        mnc: 25

      tac: 106

8.Add a UE

  • Register a UE information

Open http://localhost:3000, Login with admin.

  - Username : admin

  - Password : 1423

Using Web UI, you can add a subscriber without a Mongo DB client.

  - Go to Subscriber Menu.

  - Click `+` Button to add a new subscriber.

  - Fill the IMSI, security context(K, OPc, AMF), and APN of the subscriber.

  - Click `SAVE` Button

NextEPC Configuration_第1张图片

9.Add Virtual interface

  • add sgw and pgw ip addr

ifconfig lo:2 127.0.0.2/24 up

ifconfig lo:3 127.0.0.3/24 up

10.add epc addr

ifconfig ens33:2 192.29.29.3/24 up

你可能感兴趣的:(4G,核心网,NextEPC)