EG25-G modem not getting an IPv4 address after connecting to APN=vzwinternet

I’m using a Quectel EG25-G modem card purchased through SixFab. ‘mmcli -L’ in a CentOS 8 platform shows the card, and it also connects and registers with the Verizon Network. However, I’m only getting an IPv6 address for this card and no IPv4. Attempting to force an ipv4-only connection using ‘sudo mmcli -m 3 --simple-connect=“apn=vzwinternet,ip-type=ipv4”’ results in a interface-in-use-config-match error as follows:

error: couldn’t connect the modem: ‘GDBus.Error:org.freedesktop.ModemManager1.Error.MobileEquipment.Unknown: Call failed: internal error: interface-in-use-config-match’

Any suggestions for how I can get mmcli or nmcli to get an IPv4 assigned? The SIM card has been used for quite some time previously in a different modem card (AMIT Wireless) and we had no issues getting an IPv4 address. Hence, this appears to be a configuration issue with this modem card.

Hi,

It looks like your EG25-G modem is connecting to Verizon but is only getting an IPv6 address, which suggests a configuration issue rather than a network or SIM problem. Here are a few things you can try to get an IPv4 address assigned:

Check and Set the Correct PDP Type

Verizon’s vzwinternet APN typically supports both IPv4 and IPv6, but sometimes the modem defaults to IPv6-only. You can check your current PDP context settings with:

AT+CGDCONT?

If you see IPV6 or IPV4V6 for vzwinternet, change it to IP (IPv4-only) using:

AT+CGDCONT=1,"IP","vzwinternet"

Reboot the modem after making this change.

Manually Force IPv4 Using QMI

If you’re using the QMI interface, try forcing the modem to request an IPv4 address:

sudo qmicli -d /dev/cdc-wdm0 --wds-set-ip-family ipv4
sudo qmicli -d /dev/cdc-wdm0 --wds-start-network="apn=vzwinternet,ip-type=4" --client-no-release-cid

This should ensure that the network assigns an IPv4 address.

Restart ModemManager and Reconnect

The error “interface-in-use-config-match” suggests that ModemManager is holding onto a conflicting configuration. Try resetting the modem and reconnecting:

sudo mmcli -m 3 --simple-disconnect
sudo mmcli -m 3 -r
sleep 5
sudo mmcli -m 3 --simple-connect="apn=vzwinternet,ip-type=ipv4"

If that fails, restart ModemManager completely:

sudo systemctl restart ModemManager

Check Verizon’s IMEI Restrictions

If this SIM card worked in a different modem but isn’t getting IPv4 on the EG25-G, Verizon might have restrictions based on the modem’s IMEI. Some carriers require a specific IMEI to be whitelisted for full IPv4 support. You might need to check with Verizon to confirm if this modem is fully activated on their network.

Try setting the PDP type to IPv4 first, then test with qmicli or nmcli. If the problem persists, it could be a Verizon-side IMEI restriction. Let me know if you need more help!

Hi!
Thank you very much for your reply. I tried all the different steps and variations including forcing the PDP to “ip”. The modem simply refuses to connect with a “interface-in-use-config-match” error. Reverting PDP to IPv4v6 allows it to connect. I’m now investigating - as you’ve suggested - if Verizon is preventing the IMEI from receiving IPv4 addresses.