Addition of get_all_iface function

function figures out and returns all currently configured interfaces
ips.