you mean to say under the dos emulation in win2k or in plain dos.
if its under win2k its as simple as typing the command
c:>ipconfig /all
hope it helps Kapil Aggarwal
Technical Support Engineer
(For NetGear Products)
VCustomer Services Pvt. Ltd.
MCSE,MCSA,CCNA