Quectel RM530NG ip address disable bridging

Hi,
I have installed Iperf3 on quectel module, Id like to perform tests via iperf adb shell, but IP is bound to windows network interface, instead of rmnet/rmdata interface on the Quectel module itself, is there an option to set via AT commands mode, to not bridge IP into windows Quectel interface.

Dear @hubertmulewski
Could you give us more information about this?
How did you test and network topology?
Is it possible to disable windows network from your PC? Then test again.

Hi @silvia, I have disabled network adapter, sadly IP still stays on the modem, but not getting forwardeded to adb android, and we’d like to utilize iperf installed directly on Quectel, since iperf is already operational, but issue is with IP.

Dear @silvia please help support this issue

Hi, still problem is unresolved @silvia

Dear @hubertmulewski
Which network did you test? rmnet or others? Please check via AT+QCFG=“usbnet”
I saw you disable modem’s network, not PC. You can try disable your network and use modem’s network to test.

Sadly I cannot disable my network interface, as its used for remote desktop access.
Here’s output

AT+QCFG=“usbnet”
+QCFG: “usbnet”,0

Dear @hubertmulewski
Actually, you want to test iperf with module, you need to disabe other network, then try if it has network or not.

Hi, how do I disable other network?

Dear @hubertmulewski
image

Yes as you can see its already disabled, what do I do else?
Disabled all other interfaces, outcome is the same:

What is the output of a command AT+QMAP="mPDN_status"

Fourth number tells which rule is connected and third number tells if IPPT is active.

You can use command AT+QMAP="mPDN_rule" to change settings.

Fourth number of the rule setting in use should be 0 to disable IPPT which would assign IPv4 address to the module.

There are additional settings which might affect this but check this first.

Hi,
current config is:

AT+QMAP=“mPDN_status”
AT+QMAP=“mPDN_status”
+QMAP: “MPDN_status”,0,0,0,0
+QMAP: “MPDN_status”,1,0,0,0
+QMAP: “MPDN_status”,2,0,0,0
+QMAP: “MPDN_status”,3,0,0,0

That says that you don’t have mobile network connection at all, your screenshots also tell that rmnet_data-connection is not up, that is the interface which would get the public IP.

Screenshots show only default private address 192.168.255.1

Heres output with assigned public addres from AT commands:

at+cgpaddr
+CGPADDR: 1,“10.42.211.178”
+CGPADDR: 2,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”
+CGPADDR: 3,“0.0.0.0”,“0.0.0.0.0.0.0.0.0.0.0.0.0.0.0.0”

OK
AT+QMAP=“mPDN_status”
AT+QMAP=“mPDN_status”
+QMAP: “MPDN_status”,0,0,0,0
+QMAP: “MPDN_status”,1,0,0,0
+QMAP: “MPDN_status”,2,0,0,0
+QMAP: “MPDN_status”,3,0,0,0

10.XX.XX.XX belongs to private address range too.

But you should have rmnet_dataX interface up too to have a connection, lets try what ip link show shows instead of ifconfig

Dear @hubertmulewski
It seems this is module’s network, but you had disabled.

That’s correct, 10.x.x.x this is a private network used for Labolatory testing, however rest of the 5G phones are working fine within that pool.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: teql0: mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 100
link/void
3: tunl0@NONE: mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ipip 0.0.0.0 brd 0.0.0.0
4: gre0@NONE: mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre 0.0.0.0 brd 0.0.0.0
5: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
6: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
7: sit0@NONE: mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/sit 0.0.0.0 brd 0.0.0.0
8: ip6tnl0@NONE: mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/tunnel6 :: brd ::
9: ip6gre0@NONE: mtu 1448 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/gre6 :: brd ::
10: rmnet_ipa0: <UP,LOWER_UP> mtu 9216 qdisc mq state UNKNOWN mode DEFAULT group default qlen 1000
link/[519]
11: bridge0: <NO-CARRIER,BROADCAST,MULTICAST,PROMISC,UP> mtu 1500 qdisc noqueue state DOWN mode DEFAULT group default qlen 1000
link/ether ea:ad:0e:4d:6a:7b brd ff:ff:ff:ff:ff:ff
12: rmnet_data0@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
13: rmnet_data1@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
14: rmnet_data2@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
15: rmnet_data3@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
16: rmnet_data4@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
17: rmnet_data5@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
18: rmnet_data15@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
19: rmnet_data16@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
link/[519]
/ #

Ok, your in the lab.

This is how things should look when mobile data link is running, module you are using doesn’t have a single interface in a UP state. I think something missing in a configuration of the module is very likely.

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: tunl0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ipip 0.0.0.0 brd 0.0.0.0
3: gre0@NONE: <NOARP> mtu 1476 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/gre 0.0.0.0 brd 0.0.0.0
4: gretap0@NONE: <BROADCAST,MULTICAST> mtu 1462 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
5: erspan0@NONE: <BROADCAST,MULTICAST> mtu 1450 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
6: sit0@NONE: <NOARP> mtu 1480 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/sit 0.0.0.0 brd 0.0.0.0
7: ip6tnl0@NONE: <NOARP> mtu 1452 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/tunnel6 :: brd ::
8: ip6gre0@NONE: <NOARP> mtu 1448 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/gre6 :: brd ::
9: rmnet_ipa0: <UP,LOWER_UP> mtu 9216 qdisc pfifo_fast state UNKNOWN mode DEFAULT group default qlen 1000
    link/[519] 
10: bridge0: <BROADCAST,MULTICAST,ALLMULTI,PROMISC,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP mode DEFAULT group default qlen 1000
    link/ether ee:58:f3:da:a6:4d brd ff:ff:ff:ff:ff:ff
11: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master bridge0 state UP mode DEFAULT group default qlen 1000
    link/ether 3e:da:53:d5:a8:7d brd ff:ff:ff:ff:ff:ff
12: rmnet_data0@rmnet_ipa0: <ALLMULTI,PROMISC,UP,LOWER_UP> mtu 1500 qdisc mq state UNKNOWN mode DEFAULT group default qlen 1000
    link/[519] 
13: rmnet_data1@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/[519] 
14: rmnet_data2@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/[519] 
15: rmnet_data3@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/[519] 
16: rmnet_data4@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/[519] 
17: rmnet_data5@rmnet_ipa0: <> mtu 1500 qdisc noop state DOWN mode DEFAULT group default qlen 1000
    link/[519]