Forum Discussion

MaelJ's avatar
MaelJ
Icon for Making Connections rankMaking Connections
10 months ago
Solved

How do you make an API request that lists IP address of LAN and WAN interfaces ?

 

I need to retrieve several pieces of information using API requests :

 - full list of IP ranges for LAN interfaces (type : Native, VLAN, Routed)
[screenshot]


 - IP addresses of the WAN interfaces (socket IP)

In the "entityLookUp" request, I can only find the site's native IP address (VLAN, Routed?) and in the "accountSnapshot" request, there is no internal address.

Thank for your time

  • Hello MaelJ,

    For a list of ranges the best option is probably entityLookup with type=siteRange:

     

    Unfortunately it is not currently possible to retrieve the local IP for the socket WAN via API. This is worth raising as an RFE and/or a note in the Idea Hub: Idea Hub | Cato Connect

    Regards,

    Peter

     

2 Replies

  • peter's avatar
    peter
    Icon for Cato Employee rankCato Employee

    Hello MaelJ,

    For a list of ranges the best option is probably entityLookup with type=siteRange:

     

    Unfortunately it is not currently possible to retrieve the local IP for the socket WAN via API. This is worth raising as an RFE and/or a note in the Idea Hub: Idea Hub | Cato Connect

    Regards,

    Peter

     

  • MaelJ's avatar
    MaelJ
    Icon for Making Connections rankMaking Connections

    Thanks for the feedback. I would propose the idea.

    Regards
    Mael