r/meraki•
Reximuss

MG21E and Static IP

Question

I have a setup with an MG21E providing connectivity to an MX68, I want to use the auto VPN feature, however it's being blocked upstream by AT&T. I've reached out to support and they've provided me with a custom APN, however whenever I enter in the APN via the dashboard or directly connected to the MG via SIM override, the device completely loses connectivity. I've been back and forth with AT&T and the rep I've been talking to insists that my MG needs a static IP address. I'm pretty sure that assigning a static IP to the MG (similar to a static IP given by a wired provider) isn't possible on the MG, or am I overlooking something?

Posted Nov 5, 2022, 9:17 PM UTC

35
TorrinSilverclaw•

We have deployed about 200 MG21s with a mix of VZW and ATT. 90% are VZW but either way, once we used the carrier APN they work just fine. Never setup a static on the MG.

5
ReximussOP•

See, that's what I thought too. The rep keeps telling me to assign IP to the device but the only settings I have to configure are APN and IPv4 or IPv4/IPv6. Also the username and password which are not applicable in this situation. Something is still funky on the carrier end and they won't let me talk to the engineer directly. I have to keep going through the support rep.

1
silversides•

When we get static IPs from our cell carriers (ATT and VZ) they’re still assigned via DHCP to the MG—the IPs are bound to the ICCID of the SIM and don’t change.

I do use static IPs on all of my MGs, more for monitoring and accounting than anything else. I came from Cisco-land where they were necessary for our VPN to work and never dropped the habit. It’s absolutely possible.

From the carrier I ask for a static, public, *unrestricted * IP address and request the non-standard APN from the carrier. Have them confirm, I’ve had them be inconsistent across multiple SIMs on the same order, can depend on where the IP block was leased. From there if the MG has no cloud connectivity (you can set LAN1 in safe mode to get uplink to a switchport) you’ll have to (as you’ve tried) set the custom APN.

If you can make sure you’re on the latest firmware, I do recall an issue with saving the custom APN locally on an older version.

2
ReximussOP•

Thanks. Looks like I’ll be talking to the carrier again more on Monday.

1
heathenyak•

You can from the local config page, you’ll need the device on the same network as you if it’s not dashboard connected

1