RM520N-GL Ping Failed (Code 565/569)

Hi, I am trying to connect the RM520N-GL modem to the Open5GS core. I use a Windows laptop to connect to the modem. The modem can obtain an IP address (e.g., 10.45.0.3), but the module is unable to ping the core network or 8.8.8.8. However, my core network can ping the UE. Does anyone know how to resolve this issue?

Here are some AT command outputs.

ATI

Quectel
RM520N-GL
Revision: RM520NGLAAR03A02M4GA

OK
AT+QIACT?

+QIACT: 1,1,1,"10.45.0.3"

OK
AT+CGCONTRDP=1

+CGCONTRDP: 1,0,"oai","10.45.0.3",,"8.8.8.8","8.8.4.4"

OK
AT+CGPADDR=1

+CGPADDR: 1,"10.45.0.3"

OK
AT+QICSGP=1

+QICSGP: 1,"oai","","",0

OK
AT+QENG="SERVINGCELL"

+QENG: "servingcell","NOCONN","NR5G-SA","TDD",001,01,000BC614E,0,1,647424,78,6,-101,-11,13,1,-

OK
AT+QPING=1,"www.google.com"

OK

+QPING: 565
AT+QPING=1,"8.8.8.8"

OK

+QPING: 569
AT+QPING=1,"10.45.0.1"

OK

+QPING: 569

Thanks!

Dear @mtk20
Please check network card type via AT+QCFG=“USBNET” .
Then check if host have the automatic dial-up function.

Hi, @silvia. Here are the command outputs. The Network card type interface is RNIDS. Regarding checking the dial-up function, do you mean to check the laptop or the Quectel modem? Can you give me more details? Thank you.


AT+QIACT=1

OK
AT+QIACT?

+QIACT: 1,1,1,"10.45.0.4"


OK
AT+QCFG="USBNET"

+QCFG: "usbnet",3

OK

Dear @mtk20
Like below, it had dail-up. You can try to use AT+QCFG=“USBNET”,0 or AT+QCFG=“USBNET”,2.
If still have problem, you can capture wireshark log for analyze.

As I guess you didn’t setup the NAT rules and the ip forward in the machine of the Open5GS core.
Maybe you can try with your mobilephone first.

Hi, @silvia, thanks for your reply, but I still cannot access the internet with these commands. I will try to capture the package.

Hi, @Bean.Wang-Q, thanks. It may be related to the NAT and forwarding, but I set them as per the Open5GS tutorial. As a result, the same thing happened on my phone. I have full signal and get “5g” sign, but no internet connection, like this. Can you share more insights?
Currently, my modem and phone are able to connect to the Core, but they both cannot access the internet. Thank you.

It must be related with something about the NAT and ip forwarding or firewall.
I don’t have experience with the Open5GS.

OK, I will check that. Thank you.