Amarisoft

How to Configure Static IP address for UEs

This wiki explains how to configure a static IP address for a UE in Amarisoft LTE by using the APN IP address range defined in mme.cfg and the per-IMSI PDN configuration in ue_db-ims.cfg. The main idea is that the MME first defines the available IP pool for each APN, and then a specific UE can be forced to use a fixed IP address by adding pdn_list under the matching IMSI entry in the UE database.

IP range and Access point name

The Range of IP address is declared in the mme.cfg file .Each Access point name has its own range example: Internet APN range is :

first_ip_addr: "192.168.3.2", last_ip_addr: "192.168.3.254",

 

Set IP per IMSI in UE db file

You can force the IP address of a UE within this range by customizing the ue_db-ims.cfg.

Under ue_db, For the specific IMSI, add the pdn_list array field to set a static IP :

"pdn_list":[ { "access_point_name":"internet", "ipv4_addr":"192.168.3.6" } ],

Note: the static IP address selected must match with the ip_addr_shift parameter set for internet PDN