How it Works

This section provides a brief of how the Static IP Support feature feature works.

The SMF receives a framed-IP address of the subscriber from external AAA servers such as RADIUS. While IPAM is not involved in individual IP address management in this scenario, it still handles the route management and UPF management for static address-ranges.

IPAM splits the ‘static’ address-ranges equally according to number of UPFs present in the SMF configuration. Unlike dynamic IP, IPAM splits all static-IP address-ranges and assigns them for all configured UPFs. IPAM involves and selects an UPF when the external AAA server returns the framed-IP of the subscriber. IPAM looks for the route which includes this static-IP and then selects the UPF where the route is already configured.



Procedure

  1. IPAM splits the static ranges into equal number of address-ranges based on number of configured UPFs.

  2. The UPMGR programs the corresponding static routes on the associated UPFs.

  3. Subscribers get static IP from Radius server authorize response.

  4. SMF service selects the right UPF based on ADDR ranges and UPF map allocation from the Node Manager.

Address-Range Split

Splitting a given address-range into smaller address-ranges is a key functionality of the IPAM server and IPAM cache. The following guidelines determine address-range split:

  1. Size of a split address-range depends upon the ‘configured’ value or the ‘default’ value as per the AFI type.

  2. Size of a split address-range must be a ‘power-of-2’ or at least to the closest of it. That is, it should be able to represent the split range in “subnet/mask” notation such that a route can be added in the Data Plane (User Plane) if required.

  3. ‘Configured’ or ‘default’ address-range-size must be at the ‘power-of-2’.

The address-range must be split into smaller ranges immediately on configuration or initial start-up. This helps in better sorting of address-ranges based on size and faster allocation during actual address-range-allocation requests. The address-range exchange between modules is always in the mentioned size.

Examples of IPv4 Address-Range Split

Address-Range

Split-Size (number of addresses per range)

Split-ranges

(* Odd sized ranges)

Route Notation

1.1.1.0 - 1.1.1.255

128

[1] 1.1.1.0 – 1.1.1.127

[2] 1.1.1.128 – 1.1.1.255

[1] 1.1.1.0/25

[2] 1.1.1.128/25

1.1.0.0 – 1.1.10.255

256

[1] 1.1.0.0 – 1.1.0.255

[2] 1.1.1.0 – 1.1.1.255

[3] 1.1.2.0 – 1.1.2.255

...

[n] 1.1.10.0 – 1.1.10.255

[1] 1.1.0.0/24

[2] 1.1.1.0/24

[3] 1.1.2.0/24

...

[n] 1.1.10.0/24

1.1.0.5 – 1.1.2.200

256

[1] 1.1.0.5 – 1.1.0.255 *

[2] 1.1.1.0 – 1.1.1.255

[3] 1.1.2.0 – 1.1.2.200 *

[1] 1.1.0.0/24

[2] 1.1.1.0/24

[3] 1.1.2.0/24

Examples of IPv6 Address-Range Split

Address-Range

Split-Size (number of addresses per range)

Split-ranges

(* Odd sized ranges)

Route Notation

1:: - 1::1000

1024

[1] 1:: – 1::3FF

[2] 1::400 – 1::7FF

[3] 1::800 – 1::BFF

[4] 1::C00 – 1::FFF

[1] 1::/118

[2] 1::400/118

[3] 1::800/118

[4] 1::C00/118

1::3 - 1::1DEF

1024

[1] 1::3 – 1::3FF *

[2] 1::400 – 1::7FF

[3] 1::800 – 1::BFF

[n] 1::1C00 – 1::1DEF *

[1] 1::/118

[2] 1::400/118

[3] 1::800/118

[n] 1::1C00/118

Examples of IPv6 Address-Range Split

Prefix split needs two length fields for performing the split.

  • Network length

  • Host length

Prefixes are split between these and a new route is calculated.

Example 1: network-length = 48, prefix-length = 64

Total (64-48) = 16 bits (that is, 65536 prefixes are available for the split)

Example 2: network-length = 32, prefix-length = 56

Total (56-32) = 24 bits (that is, 16 million prefixes available for the split)

Note
For Cloud-Native 5G SMF, the host-length is hard-coded as ‘64’. Only network-length can be configured via the CLI.
Examples of IPv6 Address-Range Split

Prefix-Range

Split-Size (number of addresses per range)

Split-ranges

(* Odd sized ranges)

Route Notation

1:2:3::

Nw-len = 48

Host-len = 64

8192

[1]1:2:3:: ... 1:2:3:1fff

[2]1:2:3:2000:: ... 1:2:3:2fff::

[3]1:2:3:3000:: ... 1:2:3:3fff::

...

[1]1:2:3::/51

[2]1:2:3:2000/51

[3]1:2:3:3000/51

...