How to execute:
---------------
1. Assign virtual IP addresses as follows:
- ifconfig <interface name>:ODU "10.0.2.20"
- ifconfig <interface name>:CU_STUB "10.0.2.25"
- ifconfig <interface name>:RIC_STUB "10.0.2.30"
+ ifconfig <interface name>:ODU "192.168.130.81"
+ ifconfig <interface name>:CU_STUB "192.168.130.82"
+ ifconfig <interface name>:RIC_STUB "192.168.130.80"
2. CU execution folder:
cd l2/bin/cu_stub
#include "rgu.x"
-#define DU_IP_V4_ADDR "10.0.2.20"
-#define CU_IP_V4_ADDR "10.0.2.25"
+#define DU_IP_V4_ADDR "192.168.130.81"
+#define CU_IP_V4_ADDR "192.168.130.82"
S16 macStubBOStatus(Pst *pst, SpId spId, RlcMacBOStatus *boSta);
S16 macStubSendDlData(Pst *post, SpId spId, RlcMacData *dlData);
#define CU_ID 1
#define CU_NAME "ORAN_OAM_CU"
-#define DU_IP_V4_ADDR "10.0.2.20"
-#define CU_IP_V4_ADDR "10.0.2.25"
+#define DU_IP_V4_ADDR "192.168.130.81"
+#define CU_IP_V4_ADDR "192.168.130.82"
#define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001"
#define CU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011"
#define DU_PORT 38472
#define DU_INST 0
#define DU_ID 1
#define DU_IP_V4_ADDR "192.168.130.81"
-#define CU_IP_V4_ADDR "10.0.2.25"
+#define CU_IP_V4_ADDR "192.168.130.82"
#define RIC_IP_V4_ADDR "192.168.130.80"
#define DU_PORT 38472
#define CU_PORT 38472
-#define RIC_PORT 36422
+#define RIC_PORT 36422 /* using X2 port since E2 port not defined */
#define DU_EGTP_PORT 39001
#define CU_EGTP_PORT 39002
#define NR_PCI 1
#define RIC_ID 1
#define RIC_NAME "ORAN_OAM_RIC"
-#define DU_IP_V4_ADDR "10.0.2.20"
-#define RIC_IP_V4_ADDR "10.0.2.30"
+#define DU_IP_V4_ADDR "192.168.130.81"
+#define RIC_IP_V4_ADDR "192.168.130.80"
#define DU_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0001"
#define RIC_IP_V6_ADDR "0000:0000:0000:0000:0000:0000:0000:0011"
-#define DU_PORT 38482
-#define RIC_PORT 38482
+#define DU_PORT 36422
+#define RIC_PORT 36422
#define RRC_VER 0
#define EXT_RRC_VER 5
#define PLMN_MCC0 3