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

**URL:** <https://community.sixfab.com/t/eg25-g-modem-not-getting-an-ipv4-address-after-connecting-to-apn-vzwinternet/3380>\
**Category:** 3G/4G&LTE Base HAT\
**Tags:** quectel, eg25-g\
**Created:** [February 20, 2025, 1:03am UTC](https://community.sixfab.com/t/eg25-g-modem-not-getting-an-ipv4-address-after-connecting-to-apn-vzwinternet/3380 "2025-02-20T01:03:22Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![vp1](https://community.sixfab.com/user_avatar/community.sixfab.com/vp1/32/1867_2.png) [@vp1](https://community.sixfab.com/u/vp1)\
**Post date:** [February 20, 2025, 1:03am UTC](https://community.sixfab.com/t/eg25-g-modem-not-getting-an-ipv4-address-after-connecting-to-apn-vzwinternet/3380/1 "2025-02-20T01:03:22Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![ensar](https://community.sixfab.com/user_avatar/community.sixfab.com/ensar/32/8_2.png) [@ensar](https://community.sixfab.com/u/ensar)\
**Post date:** [March 3, 2025, 2:14pm UTC](https://community.sixfab.com/t/eg25-g-modem-not-getting-an-ipv4-address-after-connecting-to-apn-vzwinternet/3380/2 "2025-03-03T14:14:01Z")

</div>

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:

```auto
AT+CGDCONT?

```

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

```auto
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:

```auto
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:

```auto
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:

```auto
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!

---

<div class="post-metadata">

**Author:** ![vp1](https://community.sixfab.com/user_avatar/community.sixfab.com/vp1/32/1867_2.png) [@vp1](https://community.sixfab.com/u/vp1)\
**Post date:** [March 4, 2025, 10:15pm UTC](https://community.sixfab.com/t/eg25-g-modem-not-getting-an-ipv4-address-after-connecting-to-apn-vzwinternet/3380/3 "2025-03-04T22:15:08Z")

</div>

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.
