How to determine IP address used by endpoint

I’m trying to figure out the best way to determine the IP address a client uses to communicate with the root server.
We have checked the following relevance but it will only show all the addresses of the endpoint in which it is also showing on the client logs
addresses of adapters whose (exists gateway lists of it) of network

And, Is there any setting or a way which allow the Bigfix Client to choose what to use (IP address A or IP address B) for the registration/reporting to Bigfix Server?

Suggestions would be welcome!

https://developer.bigfix.com/relevance/reference/client.html#registration-address-of-client-ipv4or6-address

Is there any setting or a way which allow the Bigfix Client to choose what to use (IP address A or IP address B) for the registration/reporting to Bigfix Server?

This is typically handled at the OS-layer (I’m not aware of a BigFix Client setting to configure this). Which OSes are in scope for the question? And out of curiosity, can you provide more context on the use case/challenge you’re trying to solve here?