mirror of
https://github.com/natecarlson/quectel-rgmii-configuration-notes.git
synced 2026-04-25 06:35:55 +03:00
[GH-ISSUE #1] Error from AT Command when trying to pass through IP Address #2
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/quectel-rgmii-configuration-notes#2
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @chansearrington on GitHub (Jun 21, 2023).
Original GitHub issue: https://github.com/natecarlson/quectel-rgmii-configuration-notes/issues/1
I've enabled ethernet mode through the regular (?) way, not the rgmii method.
I've also enabled TTL and changed the local LAN address to work better with my network.
BUT when I try to use the AT command to enable IP passthrough, I get a return of "error"
@natecarlson commented on GitHub (Jun 21, 2023):
Can you try:
at+qmap="mpdn_rule",0,1,0,1,1,"FF:FF:FF:FF:FF:FF"
I believe I was looking at the RM500 AT commands and testing on my RM500 when I built that part of the docs.. the RM520 docs are different:
..so the third field is VLAN, and you'll want 0 for default VLAN.
@natecarlson commented on GitHub (Jun 21, 2023):
Also interesting:
@natecarlson commented on GitHub (Jun 21, 2023):
I tried the passthrough on a spare RM520 with the
at+qmap="mpdn_rule",0,1,0,1,1,"FF:FF:FF:FF:FF:FF". Seems to work, for IPv4 at least?@chansearrington commented on GitHub (Jun 21, 2023):
I got an accept response on this one "OK"
@qy2009 commented on GitHub (Jul 14, 2023):
I am on the same boat here.
Tried with at+qmap="mpdn_rule",0,1,0,1,1,"FF:FF:FF:FF:FF:FF" . and failed :(
I noticed you mentioned ipv6, is that why?
Here is my ifconfig:

@natecarlson commented on GitHub (Jul 17, 2023):
I haven't tested IPv6 passthrough yet.. v4 did work for me with the command in my comment above, looks like the same one you used. Did the modem return ERROR when executing the command, or is passthrough just still not working?
@qy2009 commented on GitHub (Jul 20, 2023):
Actually, I have contacted quectel tech support, he told me that IP pass-through only works when you connect to the internet via USB. if you are using ethernet, the IP pass-through won't work. that's why I am seeing the "ERROR" output.
You are using ethernet, not the USB to get the internet, right?
@annualstatement commented on GitHub (Aug 9, 2023):
How does one reset this back to default if you decide you don't want ip passthrough anymore?
@radiomean commented on GitHub (Aug 10, 2023):
Hi there,
Glad to hear from you. I've used your very helpful notes in git!
To reset it - short answer is I don't know...
I got the module (with latest firmware) into IPPT with the command -
at+qmap=“mpdn_rule”,0,1,0,4,1,“FF:FF:FF:FF:FF:FF” (note that
this is not quite the same as in your notes). I got the latest
Quectel_RG520N&RG525F&RG5x0F&RM5x0N_Series_AT_Commands_Manual_V1.0.0_Preliminary_20230731
manual via the Quectel forum.
Changing the 4 to 0 should reset it but I now get 'ERROR'.
However, connecting the module to a Gl-inet router (model GL-AXT1800,
flashed with OpenWRT) resulted in it reverting to NAT!
I want to use my RM520N-GL modules on the WAN port so I'm trying to
avoid double-NAT...
So it's a bit of a puzzle.
On Wednesday 09/08/2023 at 23:54, r01510 wrote:
@radiomean commented on GitHub (Aug 12, 2023):
Hi, did I reply to this?
at+qmap=“mpdn_rule”,0 disables IPPT - but I can't get it to work
again!
Help!
On Wednesday 09/08/2023 at 23:54, r01510 wrote:
@dr-dolomite commented on GitHub (Sep 20, 2023):
Did anyone here successfully tried to passthrough public IPV6?
My current config is this:
It works and I can receive public IPV4 from my modem, however, theres no WAN IPV6 even though I can see it being assigned on my modem (AT+CGCONTRDP=1)
also works for me but I disabled it since the IPV6 wasn’t also working so I tried RGMII mode and sticked with it for now.