listing nics and geting ip from nic