Our application requires that IP address of the active default gateway be displayed to the end user.
Please provide an C language example of how to read the active default gateway IP address from the Sphere Application context.
Our application requires that IP address of the active default gateway be displayed to the end user.
Please provide an C language example of how to read the active default gateway IP address from the Sphere Application context.
Hello @JamesHiggins-7505 Maybe the below response is helpful, which was posted a few months ago.? but the below post only talks about the MAC address, I have to check on the gateway details.
May be this SO post help: https://stackoverflow.com/questions/29249665/how-to-get-gateway-ip-and-nameserver-ip-using-ioctl-in-linux?noredirect=1&lq=1
Hello @JamesHiggins-7505 Just checking.
Please let us know if you need further help in this matter.
4 people are following this question.