- Posts: 107
- Thank you received: 0
detect the gateway of lan PCs
19 years 5 months ago #8616
by aminos
detect the gateway of lan PCs was created by aminos
Hi,
I have a lan that contains some Pcs and some are having different
gateway IP addresses from the others .
I want a tool that i will install on a server and he will detect the gateway Ip of any pc on the lan.
Actually i have a windows 2000 domain, i don't know if AD can do that but if a program exit that would do that it's OK.
Thanks for responding.
I have a lan that contains some Pcs and some are having different
gateway IP addresses from the others .
I want a tool that i will install on a server and he will detect the gateway Ip of any pc on the lan.
Actually i have a windows 2000 domain, i don't know if AD can do that but if a program exit that would do that it's OK.
Thanks for responding.
19 years 5 months ago #8619
by aminos
Replied by aminos on topic I found it
Well,
Actually i found a great utility that allows us to execute commands at remote Pcs, it's on www.sysinternals.com
so with PsExec i can execute Ipconfig /all on PC on my Lan.
Like this :
[code:1]
Psexec \\PC -u user -p pass ipconfig /all
[/code:1]
Actually i found a great utility that allows us to execute commands at remote Pcs, it's on www.sysinternals.com
so with PsExec i can execute Ipconfig /all on PC on my Lan.
Like this :
[code:1]
Psexec \\PC -u user -p pass ipconfig /all
[/code:1]
19 years 5 months ago #8621
by TheBishop
I was going to say something along the lines of remotely running ipconfig but you're already there. Another method would be to find out where in the registry the PC stores its default gateway setting and read that remotely using some sort of script. I've used a Perl script before to pull the version number of some installed software out of the registry of a remote PC so you should be able to do the same with the network settings
Time to create page: 0.123 seconds