Table of Contents

WMI - IP Route Provider

Preface

I would like to describe the possibility to use WMI interface of MS Windows for network data collection.

It is possible to use it in the case that you are administrator of large infrastructure. In this case probably you would like to keep your data in your CMDB. Until you are managing just several servers it is possible to maintain your CMDB manually. On another hand, if you will start integrating your tools, at the time when you have had full of servers. This can provide you solid fundament for future grow of your infrastructure.

In general the same data is possible to collect as well with SNMP (with using of less resources). On another hand sometime it can happen that you will not have this possibility and you will need to use WMI.

IPv6 and IPv4 Support in WMI

Win32_NetworkAdapterConfiguration

This class can be used for collecting of information related to configuration of all network interfaces on your MS Windows server. For more details about information that is possible to collect check the structure of the class.

Win32_NetworkAdapter

This class can be used for collecting of information related to hardware of all network interfaces on your MS Windows server. For more details about information that is possible to collect check the structure of the class.

IP Route Provider

The preinstalled IP Route provider supplies IPV4 network routing information, including (but not limited to) the information available through the route print command. Provided data comes from the IP4 route tables and the persisted route table in the registry.

Win32_IP4PersistedRouteTable

The Win32_IP4PersistedRouteTable WMI class represents persisted IP routes. By default, the routes added to the routing table are not permanent. Rebooting the computer clears the routes from the table. However, the following command makes the route persist after the computer is restarted: route -p add.

Persistent entries are automatically inserted again in the route table each time the route table is rebuilt. The operating system stores persistent routes in the registry. An entry can be removed through the method call SWbemServices.

This class is only applicable to IPv4 and does not return IPX or IPv6 data.