This module provides a single function called interfaces() that will run ifconfig (and lanscan on HPUX) to examine the external network interfaces. It will parse the networking info and return an array of external interfaces.
Number of network bits in IP address (used for CIDR blocks).
Computes the subnet from an IP and netmask.
Converts an IP address from numeric to string form.
These functions currently only support IPv4 addresses.
Copyright (C) 2005 ActiveState Software Inc. All rights reserved.