This utility includes a number of command line switches. One of the
switches, namely the “/All” switch is the only one to be implemented
in XP_IPConfig. It provides information about the TCP/IP, DHCP and
DNS configuration settings, the MAC address and broadcast mode of
the network adapter, Default Gateway, etc.
IPConfig can be called without parameters, returning information
about the network connection, more specifically, the DNS Suffix, IP
Address, Subnet Mask and Default Gateway.
The above book excerpt is from:
Turbocharge Database Performance with C++ External Procedures
Joseph Gama, P. J. Naughter