Network IP, Gateway and DNS

  • Thread starter Thread starter Prem Soni
  • Start date Start date
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
 
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
 
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.
 
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
 
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.
 
Back
Top