Configure IPv6 address for UE and SGi interfaces
Overview
AGW has limited support for IPv6 address familty. It allows user to assign IPv6 address to UE. IPv6 UE datapath is only supported in Non-NAT mode.
Supported config
- Non-NAT datapath with only router mode for IPv6.
- Dual stack: IPv6 is supported in dual stack mode, IPv6 only AGW is not supported.
- IPv6 Allocation Using IP-POOL
- PDN type IPv6: IPv6 would assign single IPv6 address to UE.
- PDN type IPv4v6: AGW would assign IPv4 and IPv6 address to UE.
Steps to enable IPv6
Setup AGW in IPv4 and attached UE to AGW. Validate datapath using traffic test from UE over IPv4 network.
Once IPv4 datapath is validated, enable IPv6 config option in mme and spgw.
mme.yml:s1ap_ipv6_enabled
andspgw.yml:s1_ipv6_enabled
.Restart services on AGW using command:
config_stateless_agw.py flushall_redis
Rerun the IPv4 traffic test from UE to validate IPv4 datapath
Once IPv4 datapath is validated with IPv6 enabled, you can open NMS to configure IPv6 on orc8r.
Disable NAT from NMS AGW config and save the config. This would result in AGW services restart. Wait for 5 min and rerun the traffic test to validate Non-NAT datapath
Configure IPv6 networking for SGi interface: On NMS, in AGW config, Open ‘Edit Gateway’ dialog box assign IPv6 IP address along with subnet CIDR rage, also configure SGi IPv6 router IPv6 address. and save the configuration
SGi IPv6 configuration would result in AGW services restart. Wait for 5 min and rerun the traffic test to validate Non-NAT datapath
Validate IPv6 is working on AGW, run
ping6 fb.com
to make sure you have currect configuration on AGW.Configura IP-POOL for UE IPv6 address: Open JSON config for AGW config and add key, value pair for IPv6 block. This step will get NMS support soon.
Configure PDN Type in APN config: On NMS, Open the APNs tab. There should be list of APN, update the PDN type of APN to IPv6 or IPv4v6 to enable IPv6 for the PDN.
Validate IPv6 POOL config: on AGW run
mobility_cli.py list_ipv6_blocks
.Validate APN type: dump subscriber data and check PDN type:
subscriber_cli.py get IMSI00101XXXXXXXXXX
sid {
id: "00101XXXXXXXXXX"
}
lte {
state: ACTIVE
}
network_id {
id: "..."
}
state {
...
}
sub_profile: "default"
non_3gpp {
ambr {
max_bandwidth_ul: ...
max_bandwidth_dl: ...
}
apn_config {
service_selection: "oai.ipv6"
qos_profile {
class_id: 9
priority_level: 15
}
ambr {
max_bandwidth_ul: ...
max_bandwidth_dl: ...
}
pdn: IPv6 # or IPV4V6
}
}
sub_network {
}
12: Validate assigned IPv6 for UEs: Run mobility_cli.py get_subscriber_table
.
13: If everything looks good, Run IPv6 data traffic test from UE.