Using interfaces module to extract IP address on active interfaces.