Question: ifconfig is not showing ip address?
Answer: analyze /etc/network/interfaces , make sure the cable is plugged in (both in physical interfaces and in VMs), restart the networking service ( service networking restart ) bring up your interfaces ( ifconfig eth* up , or yet better, ifup eth* - REPLACE * with the number of your interface, such eth0, eth1, etc.