I want to know which are the relays nearby by hop count to endpoints.
I have a column picker called “Distance to relay” which will give hop count to current relay and endpoint.
But How can I know what are the relays nearby with less hop count for each endpoint.
Why wouldn’t you leverage “AD Site” or some other enterprise location value for the relay “AdvertisementList” and client “SeekList” settings to manage relay affiliation?
If a client has a public IP, then it should be relatively easy to tell where it is located within your network, and you could use that to infer what relay is likely the closest.
If a client has a private IP, then you could use it’s public IP that it uses to reach the internet plus it’s private subnet to infer it’s likely location within your network. If you don’t have the same private subnet behind the same public IP in your network, then those two pieces of info combined often uniquely identify the network of the computer.
I created a bunch of content to get the Public IP of a computer (behind a NAT typically) that is on BigFix.Me
- https://bigfix.me/analysis/details/2998049
- https://bigfix.me/fixlet/details/20464
- https://bigfix.me/fixlet/details/20466
- https://bigfix.me/fixlet/details/20465
- https://bigfix.me/fixlet/details/20467
- https://bigfix.me/fixlet/details/22465
Also, I agree with @cmcannady that in most cases you would have an option you can leverage already for this, though no solution is perfect.
Thanks @jgstew, @cmcannady I will try the content provided…