network configuration on my ubuntu machine

Solution 1:

As ifconfig is being deprecated, please use the ip command. A good starting point would be ip addr.

From man ip

ip addr
           Shows addresses assigned to all network interfaces.