py2-ipaddress is a back port from python 3 ipaddress module (https://pypi.python.org/pypi/py2-ipaddress/) It should be used instead of internal IP management