Command polling IP question

(imported topic written by JLaFo91)

When We utilize the command Polling feature to patch laptops, it works well. Right now we have code to obtain the IP address of the workstation. This works good as well. However, it picks up the IP behind the router. Is there a way to obtain the Broadcast IP address before the router??

(imported comment written by BenKus)

Can you give us the relevance of the property you are using to return the IP address, please? Is it the default property?

Thanks,

Ben

(imported comment written by JLaFo91)

addresses whose (it as string != “0.0.0.0”) of ip interfaces whose (loopback of it = false) of network

Again, this works great to obtain the IP of the workstation behind the router (ex, 192.168.2.1) , But how can we alter to get the IP in front of the router???

(imported comment written by BenKus)

This discussion has some background for you:

http://forum.bigfix.com/viewtopic.php?id=1281

Ben