cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7564
Views
4
Helpful
2
Replies

Local LAN Addresses

B Cyr
Community Member

We deploy MX64s that have names that allow me to easily parse the location where it resides. Most of them use one of a handful of templates. The managed computers at a location have SCCM on them and I can see the LAN address that they are using, but I don't know where they are. What I am trying to achieve is to locate the computers based on the unique subnet issued by the MX64. Using the API I can easily pull all of the MXs on our network, and I can see their WAN addresses, but I don't see a way to tell what DHCP pool range the device is using when handing out addresses on the LAN side, or even it's LAN address even though there is a field for that, it does not have a value.

I have written a script that loops through all the devices and then all the clients but that is tedious and very time consuming. Is there a more efficient way to get this info? Is there a setting on the template that is stopping the "lanIp" field from being populated?

1 Accepted Solution

Accepted Solutions

jdsilva
Level 11
Level 11
2 Replies 2

jdsilva
Level 11
Level 11

Which API endpoint are you using? This should give you what you're looking for:

https://api.meraki.com/api_docs#list-the-vlans-for-an-mx-network

B Cyr
Community Member

THANK YOU SIR! I don't see how I missed that function. That gives just what I need.