Hot Downloads

Welcome, Guest
Username: Password: Remember me

TOPIC: detect the gateway of lan PCs

detect the gateway of lan PCs 11 years 6 months ago #8616

  • aminos
  • aminos's Avatar
  • Offline
  • Distinguished Member
  • Posts: 107
  • Karma: 0
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.
The administrator has disabled public write access.

I found it 11 years 6 months ago #8619

  • aminos
  • aminos's Avatar
  • Offline
  • Distinguished Member
  • Posts: 107
  • Karma: 0
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]
The administrator has disabled public write access.

Gateway 11 years 6 months ago #8621

  • TheBishop
  • TheBishop's Avatar
  • Offline
  • Moderator
  • Posts: 1719
  • Thank you received: 8
  • Karma: 5
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
The administrator has disabled public write access.

Re: detect the gateway of lan PCs 11 years 6 months ago #8624

  • aminos
  • aminos's Avatar
  • Offline
  • Distinguished Member
  • Posts: 107
  • Karma: 0
Well,

Another good idea, thanks for your response.
The administrator has disabled public write access.
Time to create page: 0.074 seconds

CCENT/CCNA

Cisco Routers

  • SSL WebVPN
  • Securing Routers
  • Policy Based Routing
  • Router on-a-Stick

VPN Security

  • Understand DMVPN
  • GRE/IPSec Configuration
  • Site-to-Site IPSec VPN
  • IPSec Modes

Cisco Help

  • VPN Client Windows 8
  • VPN Client Windows 7
  • CCP Display Problem
  • Cisco Support App.

Windows 2012

  • New Features
  • Licensing
  • Hyper-V / VDI
  • Install Hyper-V

Linux

  • File Permissions
  • Webmin
  • Groups - Users
  • Samba Setup