On 10 May 2006, in the Usenet newsgroup comp.os.linux.networking, in article
<(E-Mail Removed) .com>,
(E-Mail Removed)
wrote:
> How to find out the IPs of all the m/cs in a lan ?
]Organization:
http://groups.google.com
Sigh...
1. Ask google. A search for "find IP addresses on LAN" turns up about
12,200,000 hits in less than a fifth of a second.
2. Ask the network administrator.
3. Try pinging the broadcast address (but some O/S ignore broadcast pings,
and some systems run firewalls that block ping).
4. Run a sniffer like 'tcpdump', 'sniffit', 'ethereal', etc, looking at ARP
packets - though this only finds systems that are talking.
5. Use a scanner like nmap to scan the network.
6. Write a dumb three line shell script to attempt a connection to some
port on each host address on the LAN. This only finds hosts that are
turned on.
7. Use a DNS query tool to ask the name server(s) for all hosts.
8. Review your course material and see what the instructor recommended.
Old guy