MAC Address of an IPV6 endpoint

Hello,
Given below is the relevance language expression defined in a BigFix custom property to obtain MAC Address of a computer.

if (exists (mac address of item 0 of it) of (adapters of it, ip interfaces of it) whose (address of item 0 of it = address of item 1 of it) of network as string) then ((mac address of item 0 of it) of (adapters of it, ip interfaces whose (not loopback of it) of it) whose (address of item 0 of it = address of item 1 of it) of network as string) else nothings

I will need one for obtaining MAC Address for a IPV6-only computer. I attempted replacing “ip” with “ipv6”. Didn’t work. The BigFix version is 9.5. Didn’t it work because the relay is not IPV6 compliant for 9.5, or something wrong with the query. Thank you!

Hello, can anyone help me with this question ? Thanks!

Hi @sivas, see if this meets your use case:

mac addresses of ipv6 interfaces of adapters whose (not loopback of it) of networks
3 Likes

Thanks @gus. That worked!