IPv6 test with EC25


I have a Quectel EC25- E module connected to my Linux Board, with IPv4 i can able to access internet.
Now i want to test IPv6 with EC25. Can some one help me on below queries.

  1. Does EC25-E supports IPv6?
  2. Procedure for testing IPv6 with EC25 module?

Thanks & Regards

Connect using “IPV4V6” as the PDP_type argument in your AT+CGDCONT command.

You can test using the URL http://test-ipv6.com/

Hi snowgum,

Thanks for the reply.

Unfortunately my Linux board doesn’t have a GUI to test with the suggested URL.
Can you please share the procedure for testing ipv6 with commands.

  1. Where is DHCPv6 server exists in cellular networks?
  2. How we assign a global ipv6 address?

First query your modem with AT+CGPADDR

Here is the output
+CGPADDR: 1,“,”

this is your IPv6 address, corresponds to 2401:4900, this is a global address

Try AT+CGPIAF=1,1,1,0 and then AT+CGPADDR again, you should get a better output.

Followed your commands and below is the output

+CGPADDR: 1,",2401:4900:3764:9C0F:0001:0001:E6B7:2783"


when i try to ping6 “2401:4900:3764:9C0F:0001:0001:E6B7:2783” this ipv6, it is showing Network is unreachable
and even ipv6 is not displaying in the wwan0 network configuration.

wwan0     Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
                inet addr:  P-t-P:  Mask:
                RX packets:8 errors:0 dropped:0 overruns:0 frame:0
                TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
                collisions:0 txqueuelen:1000 
                RX bytes:1270 (1.2 KiB)  TX bytes:8561 (8.3 KiB)

Any thing more needed for testing ipv6 between two gsm modules.

I suppose you either need to configure DHCPv6 client or manually add the address obtained to the interface and add default route for v6.

Tried with udhcpv6 client

root@rb-imx6ul:~# udhcpc6 -i wwan0
udhcpc6: can't get MAC
udhcpc6: can't get link-local IPv6 address

After assigning an ipv4 address with udhcp client link-local IPv6 address is removing
How to get a mac address for wwan0? It is always showing zeros.

I have no experience with this client. Try adding the address manually or try another client (if available for your platform).

With the below command i got the ipv6 addresses and i need to assign them to wwan0.

root@rb-imx6ul:~# qmicli -d /dev/cdc-wdm0 --wds-get-current-settings 
[/dev/cdc-wdm0] Current settings retrieved:
           IP Family: IPv6
        IPv6 address: 2401:4900:376e:edee:c404:6063:560a:456e/64
IPv6 gateway address: 2401:4900:376e:edee:690d:f86b:265c:6a1a/64
    IPv6 primary DNS: 2401:4900:50:9::65
  IPv6 secondary DNS: 2401:4900:50:9::55
                 MTU: 1500
             Domains: none

Can you please tell me the commands on how we can assign ipv6 addresses manually with ifconfig/ip

something like
sudo ip a add 2401:4900:376e:edee:c404:6063:560a:456e/64 dev wwan0

You can also try qmi-network script.

With that command i can able to assign ipv6 global ip. But when i try to assign ipv6 gateway it is throwing below error

root@rb-imx6ul:~# route -A inet6 add default gw 2401:4900:22e2:fe42:819c:4587:3751:dfb9/64 dev wwan0
route: getaddrinfo: 2401:4900:22e2:fe42:819c:4587:3751:dfb9/64: -2
route: resolving 2401:4900:22e2:fe42:819c:4587:3751:dfb9/64

Even with ip command too unable to assign gateway.

Any suggestions on this.