Networking Forums

Networking Forums > Computer Networking > Linux Networking > How to find ip's on a network

Reply
Thread Tools Display Modes

How to find ip's on a network

 
 
ArameFarpado
Guest
Posts: n/a

 
      06-11-2008, 01:29 AM
Hi

Do we have a command or program that lists every machine (ip) connected to a
network? regardeless if the machines have or not running server programs.

For example: if i need to list all the IPs on a network
192.168.0.0/255.255.0.0 what must i do?

i've been trying to do this with nmap, but the results haven't been very
trusty... it fails detecting my printer some times even when it is on and i
can ping it.

Thanks
ArameFarpado
 
Reply With Quote
 
 
 
 
buck
Guest
Posts: n/a

 
      06-11-2008, 02:53 AM
On Wed, 11 Jun 2008 02:29:50 +0100, ArameFarpado
<a-(E-Mail Removed)> wrote:

>Hi
>
>Do we have a command or program that lists every machine (ip) connected to a
>network? regardeless if the machines have or not running server programs.
>
>For example: if i need to list all the IPs on a network
>192.168.0.0/255.255.0.0 what must i do?
>
>i've been trying to do this with nmap, but the results haven't been very
>trusty... it fails detecting my printer some times even when it is on and i
>can ping it.
>
>Thanks
>ArameFarpado


Does 'arp -n' do what you want?
--
buck
 
Reply With Quote
 
Klunk
Guest
Posts: n/a

 
      06-11-2008, 07:04 AM
On Tue, 10 Jun 2008 19:53:27 -0700, buck passed an empty day by writing:

> On Wed, 11 Jun 2008 02:29:50 +0100, ArameFarpado
> <a-(E-Mail Removed)> wrote:
>
>>Hi
>>
>>Do we have a command or program that lists every machine (ip) connected
>>to a network? regardeless if the machines have or not running server
>>programs.
>>
>>For example: if i need to list all the IPs on a network
>>192.168.0.0/255.255.0.0 what must i do?
>>
>>i've been trying to do this with nmap, but the results haven't been very
>>trusty... it fails detecting my printer some times even when it is on
>>and i can ping it.
>>
>>Thanks
>>ArameFarpado

>
> Does 'arp -n' do what you want?


It did not work on my box, it just listed the gateway.

This application (windoze sadly) does what you want and is freeware. I
would love to know how to do it with Linux myself.

http://www.softperfect.com/products/networkscanner/
 
Reply With Quote
 
pedro.forum@gmail.com
Guest
Posts: n/a

 
      06-11-2008, 04:56 PM
On Jun 10, 10:29 pm, ArameFarpado <a-farpado.s...@netcabo.pt> wrote:
> i've been trying to do this with nmap, but the results haven't been very
> trusty... it fails detecting my printer some times even when it is on and i
> can ping it.


It didn't work?

# nmap -sP -n 192.168.*.*

Unless you have a ARP flooding protection mechanism, it should work
fine.
 
Reply With Quote
 
nakkaya@gmail.com
Guest
Posts: n/a

 
      06-11-2008, 05:03 PM
take a look at ettercap AFAIK it uses arp to scan so should not fail.
--
Nurullah Akkaya
 
Reply With Quote
 
johnny bobby bee
Guest
Posts: n/a

 
      06-11-2008, 08:32 PM
ArameFarpado wrote:
> Do we have a command or program that lists every machine (ip) connected to a
> network? regardeless if the machines have or not running server programs.
>
> For example: if i need to list all the IPs on a network
> 192.168.0.0/255.255.0.0 what must i do?


For my 192.168.2.0 network, it's:
nmap -sS -p0 192.168.2.0/24
That gets everything.

For yours?
nmap -sS -p0 192.168.0.0/16

--
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours;
and this we should do freely and generously.
--Benjamin Franklin
 
Reply With Quote
 
ArameFarpado
Guest
Posts: n/a

 
      06-11-2008, 11:18 PM
Em Quarta, 11 de Junho de 2008 17:56, (E-Mail Removed) escreveu:

Hi

> It didn't work?
>
> # nmap -sP -n 192.168.*.*

it wasn't... before

>
> Unless you have a ARP flooding protection mechanism, it should work
> fine.

indeed... i've temporary set a new netmask and a new route, but i've forgot
to re-set the "area" on the firewall parameters, so nmap was not working
fine... and yes, the firewall was blocking ARP protocol.

now, my search for a possible unknown IP is going:
nothing extra in 192.168.*.*

i'm testing now 10.*.*.* and this test will be going on for several hours

this time i'll be sure if my switch own (or not) an IP adress, and with it,
a web based administration page.

and i've learn a lot with you guys

thanks, to all

ArameFarpado


 
Reply With Quote
 
ArameFarpado
Guest
Posts: n/a

 
      06-11-2008, 11:27 PM
Em Quarta, 11 de Junho de 2008 08:04, Klunk escreveu:

>> Does 'arp -n' do what you want?

>
> It did not work on my box, it just listed the gateway.
>
> This application (windoze sadly) does what you want and is freeware. I
> would love to know how to do it with Linux myself.

read my other reply to "pedro.forum"

>
> http://www.softperfect.com/products/networkscanner/


Ahhh, not really what i've had in mind, but downloaded...
this program would be handy (if i had knowledge of it) a month ago, when i
was confronted with a ip conflit in a windows network.
didn't get to understand why a dhcp server would give to a pc an IP that was
allready used by the web administrative interface of an wireless access
point... with the agravation that none of us known that the AP had a IP
adress for itself. it took us (me and another guy) about 6 hours to
understand what was going on... pretty nut situation


Thanks a lot
ArameFarpado
 
Reply With Quote
 
Cork Soaker
Guest
Posts: n/a

 
      06-11-2008, 11:48 PM
ArameFarpado wrote:
> Hi
>
> Do we have a command or program that lists every machine (ip) connected to a
> network? regardeless if the machines have or not running server programs.
>
> For example: if i need to list all the IPs on a network
> 192.168.0.0/255.255.0.0 what must i do?
>
> i've been trying to do this with nmap, but the results haven't been very
> trusty... it fails detecting my printer some times even when it is on and i
> can ping it.
>
> Thanks
> ArameFarpado


http://www.angryziber.com
 
Reply With Quote
 
ArameFarpado
Guest
Posts: n/a

 
      06-12-2008, 05:48 PM
Em Quinta, 12 de Junho de 2008 00:48, Cork Soaker escreveu:

>
> http://www.angryziber.com


Ok, another possible solution...

i've tryied this one just a few hours ago, and it's strange:
how come the program detected more than 11000 active hosts in 10.x.x.x when
there was only 3 pc's, a printer and a switch connected?

wierd...

thanks
ArameFarpado
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
can't find my own network Eddie G Wireless Internet 0 10-11-2006 04:06 AM
Can not find a network John Gregory Wireless Networks 2 10-04-2006 08:13 PM
Can't find network john smith Wireless Internet 1 08-11-2004 10:40 PM
MN-510 USB won't find network. Ra Broadband Hardware 2 06-20-2004 11:45 PM
how do i find out where what network? ron sanders Wireless Internet 0 02-09-2004 02:37 AM



1 2 3 4 5 6 7 8 9 10 11