How to know other ip address in a LAN wifi network

Data that travels over the air and how to protect (or decipher) it

How to know other ip address in a LAN wifi network

Post by tcx5 on Thu Jul 25, 2013 3:09 am
([msg=76598]see How to know other ip address in a LAN wifi network[/msg])

we can using cmd ping 192.168.0.[2->254] but it isn't good idea, it verry slowly.
i think we should sent a boardcash pakage, and wait feedback from other computer.
can you help me ?
thanks you!
User avatar
tcx5
New User
New User
 
Posts: 13
Joined: Tue Apr 09, 2013 12:46 pm
Blog: View Blog (0)


Re: How to know other ip address in a LAN wifi network

Post by -Ninjex- on Thu Jul 25, 2013 4:46 am
([msg=76599]see Re: How to know other ip address in a LAN wifi network[/msg])

Why not use nmap?

Code: Select all
nmap -Pn -sS 192.168.1.0/24
If you're not willing to learn, no one can help you. If you're determined to learn, no one can stop you.⠠⠵
The absence of evidence is not evidence of absence.
I can explain it for you, but I can't understand it for you.
User avatar
-Ninjex-
Addict
Addict
 
Posts: 1201
Joined: Sun Sep 02, 2012 8:02 pm
Blog: View Blog (0)


Re: How to know other ip address in a LAN wifi network

Post by 0phidian on Thu Jul 25, 2013 5:13 pm
([msg=76602]see Re: How to know other ip address in a LAN wifi network[/msg])

You could also use an ARP scan.

Code: Select all
sudo arp-scan --localnet --interface wlan0
User avatar
0phidian
Poster
Poster
 
Posts: 257
Joined: Sat Jun 16, 2012 7:04 pm
Blog: View Blog (0)


Re: How to know other ip address in a LAN wifi network

Post by tcx5 on Fri Jul 26, 2013 8:59 am
([msg=76618]see Re: How to know other ip address in a LAN wifi network[/msg])

-Ninjex- wrote:Why not use nmap?

Code: Select all
nmap -Pn -sS 192.168.1.0/24

thanks for ur help, i can using bash code : for((i=1;i<=254;i++)) do fping 192.168.1."$i"; done;
:D
User avatar
tcx5
New User
New User
 
Posts: 13
Joined: Tue Apr 09, 2013 12:46 pm
Blog: View Blog (0)



Return to Networking

Who is online

Users browsing this forum: No registered users and 0 guests