Publisher review:Get the IP address of a network interface script uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface. This script uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface, given the name of that interface, e.g. "eth0". The address is returned as a string containing a dotted quad.
Get the IP address of a network interface 1.0 is a Python script for Networking Tools scripts design by Paul Cannon.
It runs on following operating system: Linux / BSD.
uses the Linux SIOCGIFADDR ioctl to find the IP address associated with a network interface.
Operating system:Linux / BSD