I have a very large network say Class A. I have Linux DHCP and Microsoft DHCP servers deployed. I am successful in querying Microsoft DHCP server but Is there any way to Query LINUX DHCP server to get a list of all leased IP/Hostnames using C#?
feedback
|
|
Should be possible using the same win32 api, but maybe it's more protected, do you have some king of authentication on linux DHCP? Maybe it just reject the client query | |||
feedback
|
|
there is an API for the dhcpd called omapi. Here there is info about how to do stuff in C: http://www.linuxmanpages.com/man3/omapi.3.php . I have absolutely no idea if you can query it in c#. | |||
|
feedback
|