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

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

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值