Set static route RM502Q-AE

Hello, I’m able to use Quectel’s RM502Q-AE in ethernet mode, I can correctly use it as a router for my home network. The device is reachable from 192.168.2.254 and I unlocked adb access for further accessibilty.

I’m trying to set a default STATIC route but the AT+QETH=“routing” AT command does not specify correctly how to add a specific default gateway for a specific subnet.

I want to add a default route from all traffic coming from 172.16.225.0/24 must go not to 0.0.0.0 but to 192.168.2.1. Is there a way to accomplish this please?

Dear @Alessandro
Currently, we don’t have AT command to configure default gateway.

So sad :confused:

Why is that? Can you ask developers to add it as a feature?

Dear @Alessandro
Please share your current firmware and check if it support AT+QCFG=“gatewayset” .

AT+QGMR
AT+QGMR
RM551EGL00AAR01A03M8G_A0.001.A0.001

OK

AT+QCFG=“gatewayset”
AT+QCFG=“gatewayset”
ERROR

Dear @Alessandro
It doesn’t support this, we don’t have way to configure this.
Sorry about this.

The only way I found is installing dropbear, enter in ssh, add a systemd service that runs the command once the system boots