Network IP, Gateway and DNS

P

Prem Soni

Hi,

Just want to know if there is any way to find IP Address, Gateway and DNS on
LAN system with the help of some commend/utility.

i.e. form PC1 and PC2 are on LAN and want to check the PC2 IP, Gateway and
DNS while sitting on PC1 through any command or utility.

Thanks,
PREM SONI
 
J

John John - MVP

Prem said:
Hi,

Just want to know if there is any way to find IP Address, Gateway and DNS on
LAN system with the help of some commend/utility.

i.e. form PC1 and PC2 are on LAN and want to check the PC2 IP, Gateway and
DNS while sitting on PC1 through any command or utility.

Thanks,
PREM SONI

Try SysInternals' PSExec, available at the Microsoft site. For XP Pro
workstations you can also use Remote Desktop.

John
 
S

smlunatick

Hi,

Just want to know if there is any way to find IP Address, Gateway and DNSon
LAN system with the help of some commend/utility.

i.e. form PC1 and PC2 are on LAN and want to check the PC2 IP, Gateway and
DNS while sitting on PC1 through any command or utility.

Thanks,
PREM SONI

On each PC.

Click on Run

Enter CMD

In the "black" window:

enter ipconfig /all | more

This is built into most versions of XP.

As for "remote" accessing this from a different PC, you are able to
"remote desktop" access onto all versions of XP Pro. If XP Home, you
would need to set up a VNC remote account.
 
P

Prem Soni

Hi Smlunatick,

I know IPCONFIG but i want to do the same form a network PC. i.e. form PC1
and for PC2 through any command without any remote access or VNC software.

Thanks,
PS
 
A

Anteaus

To do this you would have to run something on the target computer, one way or
another. A batch file such as

*** IP.BAT ****
ipconfig /all > \\server\share\%computername%.txt
*************
would do the trick
where \\server\share is a network-writeable location.

Either that, or if you are using DHCP, the DHCP server (or router) may be
able to provide a log.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top