Finding machines connected

Issues related to configuring your network
Post Reply
lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Finding machines connected

Post by lightman47 » 2017/06/18 18:46:26

Back in my Windoze days I used a program on my network that would find and report machines on my network/subnet. I believe it did it using a PING type deal on all 253 possible addresses.

Is there such a program in Linux/CentOS? I ask because I have a machine that, when I bring it to another network (my brothers), it will acquire a DHCP address that I'll not know and it's HOSTNAME will be unknown to that network. To add just one more flavor - it will be headless and I will wish to ssh into it.

Thank you.
.

User avatar
avij
Retired Moderator
Posts: 3046
Joined: 2010/12/01 19:25:52
Location: Helsinki, Finland
Contact:

Re: Finding machines connected

Post by avij » 2017/06/18 19:01:27

nmap -sP 192.0.2.0/24

lightman47
Posts: 1522
Joined: 2014/05/21 20:16:00
Location: Central New York, USA

Re: Finding machines connected

Post by lightman47 » 2017/06/18 19:03:51

Wow - didn't know nmap would do that (don't use it much/know much about it). Thank you!

User avatar
TrevorH
Site Admin
Posts: 33219
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Finding machines connected

Post by TrevorH » 2017/06/18 19:06:17

Also, fping will do something similar.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

Post Reply