Rm520n-gl (a08) rgmii ipv6 passthrough

Did anyone here successfully tried to passthrough public IPV6?

My current config is this:
RGMII:

AT+QETH="ipptmac",XX:XX:XX:XX:XX:XX (where XX is my actual WAN MAC)
AT+QETH="RGMII","ENABLE",1,1

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)

AT+QMAP 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.

QMAP:

AT+QMAP="MPDN_RULE",0,1,0,1,1,"FF:FF:FF:FF:FF:FF"  

Current Setup:

Modem: RM520N-GL
Router: DIR-AX5460 (WAN ipv6 auto detect)

It looks like your modem is connected via Ethernet, so I suggest to connect your PC directly to the modem and see if it can obtain any IPv6 address.

Please send AT+CGPIAF=1,1,1,0 once and then show the output of:

AT+CGPADDR
AT+CGCONTRDP=1

IPCONFIG returns

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   IPv4 Address. . . . . . . . . . . : 100.6*.***.1**
   Subnet Mask . . . . . . . . . . . : 255.255.255.240
   Default Gateway . . . . . . . . . : 100.6*.***.1**

AT+CGCONTRDP=1 returns:

AT+CGCONTRDP=1

+CGCONTRDP: 1,0,"internet.dito.ph","100.6*.***.1**",
"2405:8D40:44D8:146F:1786:92C3:416D:6C63", "FE80:0000:0000:0000:0000:0000:0000:0001","
131.226.73.19","10.2.14.183" "2405:8D40:0A07:0001:0000:0000:0000:0021"

Do you have IPv6 enabled on this Ethernet adapter?
You don’t even have Link-local IPv6 Address mentioned in ipconfig output, so check the interface configuration.
There is no real need in masking private addresses like ones from 100.64.0.0/10 range.

I think theres no way to toggle ipv6 on my Ethernet device. It runs on RGMMI mode and the only settings that I can access are AT commands and built in TTL running on a lightweight httpd server stored on the module itself.

On the laptop itself, I can also receive ipv6 automatically on my local router.

UPDATE: I tried it again and heres the ipconfig result:

Note: Ipv4 shows 192.168.225.1 since I haven't been able to changed the IPPT MAC add. However, the test-ipv6 still returns 10/10.

Ethernet adapter Ethernet:

   Connection-specific DNS Suffix  . :
   IPv6 Address. . . . . . . . . . . : 2405:8d40:44d8:146f:e515:5e48:643a:9da8
   Temporary IPv6 Address. . . . . . : 2405:8d40:44d8:146f:b4f2:ef95:2d4f:eb76
   Link-local IPv6 Address . . . . . : fe80::2b46:dd66:e14f:4b8b%11
   IPv4 Address. . . . . . . . . . . : 192.168.225.95
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Default Gateway . . . . . . . . . : fe80::a44f:81ff:fe79:287b%11
                                       fe80::bc11:462c:661d:223d%11
                                       192.168.225.1

So the router must be the one causing the problem.
Heres the available IPv6 options on my router:

> Auto Detection
> Static IPv6
> Auto Configuration (SLAAC / DHCPv6)
> PPPoE
> 6rd
> Local Connectivity Only

I really appreciate your help. Hope I can get this fixed.

Well, you confirmed that the modem works well, so the issue is probably with the router.
Logically, it should be Auto Configuration (SLAAC / DHCPv6).

1 Like

Thats what I thought too. I just contacted Dlink for now.

Anyone find out this issue?

I get IPv6 pass with modem to computer but when modem is connected to router (Asus or TP-Link) and then to computer, I cannot make IPv6 work. Can you please advise?

I’m not sure if this is a router issue or no since I have tried on two different (routers) manufacturers and still no luck with IPv6.

That is normal. Draw (for yourself) a diagram with all the addresses and netmasks and you will probably see the reason for that.

Is there anyway to make this work? I will need IPv6 enabled for my anyconnect.

I can make this IPv6 work with outer router(modem in it) and connected to TP-Link. Only RGMII is not passing IPv6.

See if you can install OpenWrt on your router, then configure IPv6 relay mode where a single /64 is shared between WAN and LAN.

Unfortunately, I don’t think I can use OpenWRT with 5G to 2.5Gbps Ethernet(RJ45) board,USB3.0-C which has RTL8125 chipset.

There should be a way since directly connected to computer I get all IPv6 pass but when connected to Asus or TP-link to use more Ethernet ports and WiFi, IPv6 is failing.

I said router, not adapter.

Asus only supports the Asuswrt Merlin firmware or it has stock firmware. Cannot use OpenWRT on Asus or TP-Link.

Then ask people behind Merlin project for help.

This is IPv6 passthrough issue in the modem (RM520N) firmware in my opinion because it works when I use the modem in routers with PCIe slot.

The reason Im using 5G to 2.5Gbps Ethernet(RJ45) board,USB3.0-C, for the speeds I’m getting is much much better than using the modem in routers with PCIe slot.

Disregard. I was wrong.

I had a router with ROOTer (Goldenorb OpenWRT) in it and tried connecting to it. IPv6 passed. It should be something wrong with Asus and TP-Link firmware.
Thanks for the help.

it should be NAT6. Native Ipv6 won’t work.

@Rus
There is no options for NAT6 in IPv6 in Asus. Can you please let me know where to look for NAT6?

See below options in Asus IPv6:

Disable

Native

Static IPv6

Passthrough

FLET’S IPv6 service

Tunnel 6t04

Tunnel 6in4

Tunnel 6rd