Building a reputation
Feb 14 20208:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 14 20208:32 PM
Public IP set to 0.0.0.0
The following API:
https://api.meraki.com/api/v0/networks/{networkId}/devices/{serial}/uplink
returns:
[
{
"interface": "WAN 1",
"status": "Not connected"
},
{
"interface": "WAN 2",
"status": "Active",
"ip": "192.168.110.130",
"gateway": "192.168.110.1",
"publicIp": "0.0.0.0",
"dns": "192.168.110.1",
"usingStaticIp": false
}
]
Why is the publicIp set to 0.0.0.0?
Solved!Go to solution.
Labels:
- Labels:
- Code Sample
1 Accepted Solution
Kind of a big deal
Feb 15 20203:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15 20203:06 PM
My guess is this device is online via a cellular connection.
My guess is the device has WAN2 plugged into something that is giving it a DHCP address but it has no connection to the Internet.
3 Replies 3
Kind of a big deal
Feb 14 202011:51 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 14 202011:51 PM
A public IP should not be 0.0.0.0 (all IP addresses on the local machine) - but it may be an internal address used for the port connected to the WAN gateway.
To meet certain advanced configuration requirements, I do use 0.0.0.0/0 as it is a non-routable meta-address used to designate an invalid, unknown or non-applicable target.
So who knows what is going on . . .
Robin St.Clair | Principal, Caithness Analytics | @uberseehandel
Meraki Employee
Feb 15 20207:32 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15 20207:32 AM
The Public IP is basically Dashboard's interpretation of how it communicates back to the device, and there are rare cases where it can be stale information. I just jumped into Postman and tried it on one of my own devices just to make sure it worked as expected and it did.
Assuming the MX is currently online in Dashboard (if you're getting a 200/OK response from the API call) what are you seeing for a public IP in the UI on the Appliance Summary page under the Uplink tab? Has the external/public IP recently changed from your ISP, or was this MX just brought up for the first time? It doesn't look like it now, but maybe before were you using (or changed) uplink preferences which could cause the Public IP to become stale?
If it doesn't clear in time, reboot the MX and check it again. If still not, I'd open a support ticket.
Kind of a big deal
Feb 15 20203:06 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Feb 15 20203:06 PM
My guess is this device is online via a cellular connection.
My guess is the device has WAN2 plugged into something that is giving it a DHCP address but it has no connection to the Internet.
Get notified when there are additional replies to this discussion.