IP address that the CM client used/uses to communicate with the MP

TenOf11 1 Reputation point
2020-08-25T16:50:37.727+00:00

Does anyone know how to get the IP address that the CM client used/uses to communicate with the MP?

Please do not reply on how to use v_GS_NETWORK_ADAPTER_CONFIGUR. That just returns all IP addresses for the operating system network cards.

Thank you, in advance.

Microsoft Configuration Manager
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Jason Sandys 31,176 Reputation points Microsoft Employee
    2020-08-25T18:25:33.517+00:00

    This isn't anything tracked by the site explicitly. You'll be able to see this in two different logs though: MP_Location.log and the IIS logs on the MP.

    What challenge are you attempting to address?

    0 comments No comments

  2. TenOf11 1 Reputation point
    2020-08-25T23:58:39.827+00:00

    @Jason Sandys ,

    Thank you for the reply. I was concerned this might be the case. We require this information for so many reasons, including, but not limited to:

    • Network teams require the exact endpoint IP addresses for troubleshooting connectivity. In our environment, firewalls are abound.
    • When name resolution is not working, IP address may be the only option. Being able to provide it, even just for reporting seems logical.
    • Knowing that the computer has an expected IP address so we can audit the CM client, DNS, etc. to make sure they are working as expected.

    I have not found anything in the product that emphatically states the IP address used for communication. Instead, most posts reference a guesswork technique where they grab all NIC data, then manually remove what is perceived to not be the correct NIC. Truly, sad and unfortunate.

    This seems like such a basic inventory item that should be captured for even the most basic of reporting.

    Thank you, again, for the quick reply. Much appreciated.

    Cheers

    0 comments No comments

  3. Jason Sandys 31,176 Reputation points Microsoft Employee
    2020-08-26T15:29:44.887+00:00

    The problem is that Windows itself doesn't track (or know really) which IP is used to send network traffic. All Windows itself knows is which IPs are assigned to which NICs. And this is exactly what is sent to ConfigMgr using hardware inventory and heartbeat discovery.

    Thus, there really is no way, from the client's perspective to be able to report this.

    What's the scenario where this is an issue though? Is this for clients connecting over VPN and thus have multiple IPs?

    0 comments No comments