You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi everyone,
I start saying that I am new to all of this.
I have three VMs. In one of them, I have 5G CN OAI that works fine, in the second and third UERANSIM running gNB and UE.
I'm using docker.
SUPPORT_FEATURES:
{
# STRING, {"yes", "no"},
NF_REGISTRATION = "yes"; # Set to yes if AMF registers to an NRF
NRF_SELECTION = "no"; # Set to yes to enable NRF discovery and selection
EXTERNAL_NRF = "no"; # Set to yes if AMF works with an external NRF
SMF_SELECTION = "yes"; # Set to yes to enable SMF discovery and selection
EXTERNAL_AUSF = "yes"; # Set to yes if AMF works with an external AUSF
EXTERNAL_UDM = "no"; # Set to yes if AMF works with an external UDM
EXTERNAL_NSSF = "no"; # Set to yes if AMF works with an external NSSF
USE_FQDN_DNS = "yes"; # Set to yes if AMF relies on a DNS to resolve NRF/SMF/UDM/AUSF's FQDN
USE_HTTP2 = "yes"; # Set to yes to enable HTTP2 for AMF server
}
AUTHENTICATION:
{
## MySQL mandatory options
MYSQL_server = "mysql"; # MySQL Server address
MYSQL_user = "test"; # Database server login
MYSQL_pass = "test"; # Database server password
MYSQL_db = "oai_db"; # Your database name
RANDOM = "true";
};
Mobile Network Code value of HPLMN (2 or 3 digits)
mnc: '95'
nci: '0x1' # NR Cell Identity (36-bit)
idLength: 32 # NR gNB ID length in bits [22...32]
tac: 1 # Tracking Area Code
linkIp: 10.0.3.11 # gNB's local IP address for Radio Link Simulation (Usually same with local IP)
ngapIp: 192.168.12.69 # gNB's local IP address for N2 Interface (Usually same with local IP)
gtpIp: 192.168.12.69 # gNB's local IP address for N3 Interface (Usually same with local IP)
List of AMF address information
amfConfigs:
address: 192.168.12.192
port: 38412
List of supported S-NSSAIs by this gNB
slices:
sd: '1'
sst: 1
Indicates whether or not SCTP stream number errors should be ignored.
ignoreStreamIds: true
and for UE is:
IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15 or 16 digits)
supi: 'imsi-208950000000001'
Mobile Country Code value of HPLMN
mcc: '208'
Mobile Network Code value of HPLMN (2 or 3 digits)
mnc: '95'
Permanent subscription key
key: '465B5CE8B199B49FAA5F0A2EE238A6BC'
Operator code (OP or OPC) of the UE
op: 'E8ED289DEBA952E4283B54E88E6183CA'
This value specifies the OP type and it can be either 'OP' or 'OPC'
opType: 'OPC'
Authentication Management Field (AMF) value
amf: '8000'
IMEI number of the device. It is used if no SUPI is provided
imei: '356938035643803'
IMEISV number of the device. It is used if no SUPI and IMEI is provided
imeiSv: '4370816125816151'
List of gNB IP addresses for Radio Link Simulation
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hi everyone,
I start saying that I am new to all of this.
I have three VMs. In one of them, I have 5G CN OAI that works fine, in the second and third UERANSIM running gNB and UE.
I'm using docker.
In AMF docker-compose file I've followed the instruction for integrity and ciphering algorithms NIA0 NEA0 at https://gitlab.eurecom.fr/oai/cn5g/oai-cn5g-fed/-/blob/master/docs/DEPLOY_SA5G_WITH_UERANSIM.md giving result to this configuration:
AMF =
{
INSTANCE_ID = 0 ; # 0 is the default
PID_DIRECTORY = "/var/run"; # /var/run is the default
AMF_NAME = "OAI-AMF";
LOG_LEVEL = "debug";
RELATIVE_CAPACITY = 30;
Display statistics about whole system (in seconds)
STATISTICS_TIMER_INTERVAL = 20;
CORE_CONFIGURATION:
{
EMERGENCY_SUPPORT = "false";
};
GUAMI:
{
MCC = "208"; MNC = "95"; RegionID = "128"; AMFSetID = "1"; AMFPointer = "1"
}
SERVED_GUAMI_LIST = (
{MCC = "208"; MNC = "95"; RegionID = "128"; AMFSetID = "1"; AMFPointer = "0"}
#48bits
);
PLMN_SUPPORT_LIST = ({
MCC = "208"; MNC = "95"; TAC = 0x0001;
SLICE_SUPPORT_LIST = (
{SST = 1; SD = "1"}
,{SST = 128;SD = "12"}
});
INTERFACES:
{
# AMF binded interface for N1/N2 interface (NGAP)
NGAP_AMF:
{
INTERFACE_NAME = "eth0";
IPV4_ADDRESS = "read";
PORT = 38412;
PPID = 60;
};
};
SUPPORT_FEATURES:
{
# STRING, {"yes", "no"},
NF_REGISTRATION = "yes"; # Set to yes if AMF registers to an NRF
NRF_SELECTION = "no"; # Set to yes to enable NRF discovery and selection
EXTERNAL_NRF = "no"; # Set to yes if AMF works with an external NRF
SMF_SELECTION = "yes"; # Set to yes to enable SMF discovery and selection
EXTERNAL_AUSF = "yes"; # Set to yes if AMF works with an external AUSF
EXTERNAL_UDM = "no"; # Set to yes if AMF works with an external UDM
EXTERNAL_NSSF = "no"; # Set to yes if AMF works with an external NSSF
USE_FQDN_DNS = "yes"; # Set to yes if AMF relies on a DNS to resolve NRF/SMF/UDM/AUSF's FQDN
USE_HTTP2 = "yes"; # Set to yes to enable HTTP2 for AMF server
}
AUTHENTICATION:
{
## MySQL mandatory options
MYSQL_server = "mysql"; # MySQL Server address
MYSQL_user = "test"; # Database server login
MYSQL_pass = "test"; # Database server password
MYSQL_db = "oai_db"; # Your database name
RANDOM = "true";
};
NAS:
{
ORDERED_SUPPORTED_INTEGRITY_ALGORITHM_LIST = ["NIA1" , "NIA2"] ;
ORDERED_SUPPORTED_CIPHERING_ALGORITHM_LIST = ["NEA1" , "NEA2"] ;
};
};
config file for gNB is:
Mobile Country Code value of HPLMN
mcc: '208'
Mobile Network Code value of HPLMN (2 or 3 digits)
mnc: '95'
nci: '0x1' # NR Cell Identity (36-bit)
idLength: 32 # NR gNB ID length in bits [22...32]
tac: 1 # Tracking Area Code
linkIp: 10.0.3.11 # gNB's local IP address for Radio Link Simulation (Usually same with local IP)
ngapIp: 192.168.12.69 # gNB's local IP address for N2 Interface (Usually same with local IP)
gtpIp: 192.168.12.69 # gNB's local IP address for N3 Interface (Usually same with local IP)
List of AMF address information
amfConfigs:
port: 38412
List of supported S-NSSAIs by this gNB
slices:
sst: 1
Indicates whether or not SCTP stream number errors should be ignored.
ignoreStreamIds: true
and for UE is:
IMSI number of the UE. IMSI = [MCC|MNC|MSISDN] (In total 15 or 16 digits)
supi: 'imsi-208950000000001'
Mobile Country Code value of HPLMN
mcc: '208'
Mobile Network Code value of HPLMN (2 or 3 digits)
mnc: '95'
Permanent subscription key
key: '465B5CE8B199B49FAA5F0A2EE238A6BC'
Operator code (OP or OPC) of the UE
op: 'E8ED289DEBA952E4283B54E88E6183CA'
This value specifies the OP type and it can be either 'OP' or 'OPC'
opType: 'OPC'
Authentication Management Field (AMF) value
amf: '8000'
IMEI number of the device. It is used if no SUPI is provided
imei: '356938035643803'
IMEISV number of the device. It is used if no SUPI and IMEI is provided
imeiSv: '4370816125816151'
List of gNB IP addresses for Radio Link Simulation
gnbSearchList:
UAC Access Identities Configuration
uacAic:
mps: false
mcs: false
UAC Access Control Class
uacAcc:
normalClass: 0
class11: false
class12: false
class13: false
class14: false
class15: false
Initial PDU sessions to be established
sessions:
slice:
sd: 1
sst: 1
type: IPv4
Configured NSSAI for this UE by HPLMN
configured-nssai:
sst: 1
Default Configured NSSAI for this UE
default-nssai:
sst: 1
Supported encryption algorithms by this UE
integrity:
IA1: true
IA2: true
IA3: true
Supported integrity algorithms by this UE
ciphering:
EA1: true
EA2: true
EA3: true
Integrity protection maximum data rate for user plane
integrityMaxRate:
uplink: 'full'
downlink: 'full'
The error that I have on UE is:
[2023-12-01 11:08:54.549] [nas] [info] UE switches to state [MM-DEREGISTERED/PLMN-SEARCH]
[2023-12-01 11:08:54.550] [rrc] [debug] New signal detected for cell[1], total [1] cells in coverage
[2023-12-01 11:08:54.551] [nas] [info] Selected plmn[208/95]
[2023-12-01 11:08:54.551] [rrc] [info] Selected cell plmn[208/95] tac[1] category[SUITABLE]
[2023-12-01 11:08:54.552] [nas] [info] UE switches to state [MM-DEREGISTERED/PS]
[2023-12-01 11:08:54.552] [nas] [info] UE switches to state [MM-DEREGISTERED/NORMAL-SERVICE]
[2023-12-01 11:08:54.552] [nas] [debug] Initial registration required due to [MM-DEREG-NORMAL-SERVICE]
[2023-12-01 11:08:54.554] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2023-12-01 11:08:54.554] [nas] [debug] Sending Initial Registration
[2023-12-01 11:08:54.554] [nas] [info] UE switches to state [MM-REGISTER-INITIATED]
[2023-12-01 11:08:54.554] [rrc] [debug] Sending RRC Setup Request
[2023-12-01 11:08:54.556] [rrc] [info] RRC connection established
[2023-12-01 11:08:54.556] [rrc] [info] UE switches to state [RRC-CONNECTED]
[2023-12-01 11:08:54.556] [nas] [info] UE switches to state [CM-CONNECTED]
[2023-12-01 11:08:54.621] [nas] [debug] Authentication Request received
[2023-12-01 11:08:54.621] [nas] [debug] Received SQN [000000000FC0]
[2023-12-01 11:08:54.621] [nas] [debug] SQN-MS [000000000000]
[2023-12-01 11:08:54.652] [nas] [debug] Security Mode Command received
[2023-12-01 11:08:54.652] [nas] [debug] Selected integrity[1] ciphering[1]
[2023-12-01 11:08:54.679] [nas] [debug] Registration accept received
[2023-12-01 11:08:54.679] [nas] [info] UE switches to state [MM-REGISTERED/NORMAL-SERVICE]
[2023-12-01 11:08:54.679] [nas] [debug] Sending Registration Complete
[2023-12-01 11:08:54.679] [nas] [info] Initial Registration is successful
[2023-12-01 11:08:54.679] [nas] [debug] Sending PDU Session Establishment Request
[2023-12-01 11:08:54.680] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2023-12-01 11:08:54.927] [nas] [error] PDU Session Establishment Reject received [?]
[2023-12-01 11:08:55.650] [nas] [debug] Sending PDU Session Establishment Request
[2023-12-01 11:08:55.650] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2023-12-01 11:08:55.676] [nas] [error] PDU Session Establishment Reject received [?]
[2023-12-01 11:08:56.751] [nas] [debug] Sending PDU Session Establishment Request
[2023-12-01 11:08:56.751] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2023-12-01 11:08:56.767] [nas] [error] PDU Session Establishment Reject received [?]
[2023-12-01 11:08:57.852] [nas] [debug] Sending PDU Session Establishment Request
[2023-12-01 11:08:57.852] [nas] [debug] UAC access attempt is allowed for identity[0], category[MO_sig]
[2023-12-01 11:08:57.870] [nas] [error] PDU Session Establishment Reject received [?]
I don't really know what to do anymore.
Can you please help me?
Thanks
Beta Was this translation helpful? Give feedback.
All reactions