goarilla
Thu Feb 14 07:02:13 PST 2008
Pegasus (MVP) wrote:
> "George" <George@yahoo##.com> wrote in message
> news:7oi3r3d3dbs0ftf4a8pp0s6o80e8roblqr@4ax.com...
>> Hello,
>> Aside from using DHCP, is there a dos command that I could use to see
>> all the IP addresses that are currently being used and active on the
>> network? I have a router someone had setup and didn't document the
>> internal IP address, I'm trying to find out what it is.
>>
>> Thanks,
>> George
>
> You could use "Angry IP Scan" from
http://www.angryziber.com/ipscan/.
> It has a graphical user interface, so you don't need to run it
> from the Command Prompt.
>
> Alternatively you could run this command from a Command Prompt:
>
> for /L %a in (1,1,254) do telnet aaa.bbb.ccc.%a 80
>
> It will clear the screen when it finds a device listening on port 80,
> e.g. a router. Replace "aaa.bbb.ccc" with your own subnet address.
>
>
>
this is not usefull as you'll have to pay attention all the time
for /L %i in (1,1,254) do ping -n 1 "network_portion_of_ip".%i
this is better like this
for /L %i in (1,1,254) do ping -n 1 192.168.1.%i
after that you can do a arp -a
to see MAC address to ip mappings
it's a shame that windows its ping implementation can't ping broadcast
addreses because pinging one host one at a time does take quite a while