Archived from groups: microsoft.public.windowsnt.protocol.tcpip (
More info?)
"Tim" <tim.gilstrap@verizon.net> wrote in message
news:241d01c47026$f925d1d0$a401280a@phx.gbl...
> I can't seem to remember the best way to locate the
> clients IP address from the workstation. DHCP client
> running Windows NT..
> I know in 95 you can run ipconfig...Please help..
I have neither NT4 nor w95 readily to hand, but IIRC in w95 it's winipcfg,
whereas in NT4 it's ipconfig (enter it from a command prompt).
However if I've mis-remembered, or for some other reason ipconfig doesn't
work, go to a command prompt and enter the command
route print
You'll get output that includes something like this (from the XP box at
which I happen to be sitting -- but it's very similar in all windoze
versions):
Network Destination Netmask Gateway Interface Metric
0.0.0.0 0.0.0.0 192.168.0.1 192.168.0.65 1
127.0.0.0 255.0.0.0 127.0.0.1 127.0.0.1 1
192.168.0.0 255.255.255.0 192.168.0.65 192.168.0.65 1
192.168.0.65 255.255.255.255 127.0.0.1 127.0.0.1 1
192.168.0.255 255.255.255.255 192.168.0.65 192.168.0.65 1
224.0.0.0 240.0.0.0 192.168.0.65 192.168.0.65 1
255.255.255.255 255.255.255.255 192.168.0.65 192.168.0.65 1
Note the addresses in the 4th column, labelled "Interface" in this case:
127.0.0.1 and 192.168.0.65. The former is the loopback address, and the
latter is the ethernet NIC.
--
hth
David Brownridge