How to configure IPv6 with TMHI gateway and a cascading GL-MT6000

I have T-Mobile home internet (TMHI) in the US, I am using their gateway G4AR and I also have my own third party gateway GL-X3000, both operate like a modem, all the routing and AP is handle by a cascading router, first I had an Asus AX88U configured in Passthrough mode for IPv6, all good on the clients, they will pass IPv6-test.com.

Now I have replaced the Asus with the GL-MT6000, I am using vanilla OpenWrt 23.05.4, I have tried all the possible IPv6 operating modes, maters, relay, etc., and none of the clients pass the IPv6-test.com.

Is there a guide I can use to properly configure the MT6000 for IPv6 with TMHI and their own gateway or the X3000? Thank you

Since its a vanilla Openwrt firmware, I think its better to ask the folks there but on GL-inet's firmware, there is also a passthrough mode for IPv6 option. Also NAT6 option commonly works when using a different gateway.

TMHI gateway does not do ipv6 prefix delegation. A while ago I successfully configured a vanilla openwrt router by setting relay mode for both RA and DHCP service and enabled NDP-proxy on both WAN6 DHCP and LAN ipv6 DHCP. This essentially works similar to NAT for ipv4.

EDIT: Here were the relevant settings /etc/config/dhcp.conf

config dhcp 'lan'
option interface 'lan'
option start '100'
option limit '150'
option leasetime '12h'
option dhcpv4 'server'
option dhcpv6 'relay'
option ra 'relay'
option ndp 'relay'
option ndproxy_slave '1'

config dhcp 'wan'
option interface 'wan'
option ignore '1'

config dhcp 'wan6'
option dhcpv6 'relay'
option ra 'relay'
option ndp 'relay'
option master '1'
option interface 'wan6'
option ignore '1'

I have tried with all the options in the native GLiNet web UI of the X3000: Passthrough, Native, NAT6, and none of them work with the MT6000. Only If I replace the MT6000 with my Asus AX88U in IPv6 Passthrough mode as well, then the test-ipv6.com test will pass.

I have tried using the original TMHI gateway G4AR, same thing the MT6000 will not pass the IPv6 test, only if I install the Asus in IPv6 Passthrough mode, I don't understand what Asus is doing different than OpenWrt.

Is this the configuration for the MT6000? Remember that there are two devices involved here, first the TMHI gateway, I can use their equipment G4AR (no configuration possible, locked down device) or the GL-X3000 (currently using the GLiNet Firmware, but I have access to LuCI and ssh), I have tried within their GUI to configure IPv6 in Native, Passthrough and NAT6 mode, but in none of those cases the second device (cascading router), the MT6000 will pass the IPv6 test. If instead I use as the second device an Asus AX88U with IPv6 set in Passthrough mode, everything will work.

Bottom line, I have two places where I can do changes, the Gateway (G4AR or GL-X3000) or the Router GL-MT6000.

Yes, I used an AXT1800 when I was experimenting with vanilla openwrt, with the WAN port connected into the LAN port on the G4AR.

Unfortunately it didn't work

Here is the original thread that I used to derive my solution with openwrt 23.05 and g4ar. Check over it and see if anything was missed.

Thank you, I will check it, I am not IPv6 savvy, so trying to understand the terms to apply the suggestions correctly.

As an additional test, if I connect a MacBook (macOS), iPad (iOS) or Linux (Debian) devices directly to the second ethernet port on the TMHI gateway I pass the test-ipv6.com test, that means I am getting a valid IPv6 from T-Mobile, now, I need to understand why OpenWrt is not passing it through.

It might need NAT64. AFAIK, we have similar telco here that uses TMO's same IPv6 standard and I cannot also pass the test without using NAT64. I only tried this on Suncomm since GL inet doesnt have this? Im not sure. However, my other telco that uses dual stack, it works properly using GL inet's NAT6.

Have you tried the latest gl.inet firmware? I just installed the latest 4.6.2 stable firmware on my AXT-1800, factory config, plugged the WAN port into the LAN port on the TMHI gateway, enabled ipv6 NAT6 from the gl.inet admin page, connected MacBook Air M2 and iPhone 12 mini, and iPad 8th gen to wifi, and all devices immediately receive ipv6 leases and pass test-ipv6. I have private relay off, because I use Adguard DNS. The TMHI gateway identifies as a G4SE-1 32 GB.

@misuzu, @steep01 I am using NAT6 and it’s working fine, thanks

1 Like