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 ised with a network interface, given the name of that interface, e.g. "eth0". The address is returned as a string containing a dotted quad.


Download from: Homepage




Author:
admin
Time:
Wednesday, May 21st, 2008 at 4:57 am
Category:
Networking Tools, Python Modules
Comments:
You can leave a response, or trackback from your own site.
RSS:
You can follow any responses to this entry through the RSS 2.0 feed.
Navigation:

Leave a Reply