You can do it either in DOS promt or with Windows.
-------------------------------------------------------------
Dos prompt : type 'ipconfig/all' and you get what you need

Windows : go to parameters - configurations - net connection-
then click on local net connection and details