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.
- Does EC25-E supports IPv6?
- 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/
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.
- Where is DHCPv6 server exists in cellular networks?
- How we assign a global ipv6 address?
First query your modem with
Here is the output
this is your IPv6 address,
126.96.36.199 corresponds to
2401:4900, this is a global address
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
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:100.124.56.49 P-t-P:100.124.56.49 Mask:255.255.255.252
UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:66 errors:0 dropped:0 overruns:0 carrier:0
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
Can you please tell me the commands on how we can assign ipv6 addresses manually with ifconfig/ip
sudo ip a add 2401:4900:376e:edee:c404:6063:560a:456e/64 dev wwan0
You can also try
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.