logo elektroda
logo elektroda
X
logo elektroda

How to list IP and hostnames of computers on a subnet in CMD?

kukiz1986 39216 3
ADVERTISEMENT
Treść została przetłumaczona polish » english Zobacz oryginalną wersję tematu
  • #1 14193257
    kukiz1986
    Level 27  
    Posts: 1840
    Help: 17
    Rate: 410
    Welcome. There was once a command that entered the CMD command line and you could see what computers and ip are logged on to the subnet. I think the hostname was also displayed. Does anyone remember this? I can't remember anything in the world.
  • ADVERTISEMENT
  • #2 14193326
    hehehehuhuhu
    Level 19  
    Posts: 429
    Help: 12
    Rate: 18
    Hello.
    Maybe I'm wrong, but in CMD you won't see all computers connected to the network. You can only ping one by one.
    I recommend Advanced IP Scanner and LAN Scanner.
  • ADVERTISEMENT
  • #3 14193472
    broda79
    Level 16  
    Posts: 256
    Help: 13
    Rate: 14
    Nmap is used for this command-line scanning. Download here http://nmap.org/
  • #4 14193494
    m.jastrzebski
    Network and Internet specialist
    Posts: 5246
    Help: 679
    Rate: 864
    hehehehuhuhu wrote:
    Hello.
    Maybe I'm wrong, but in CMD you won't see all computers connected to the network. You can only ping one by one.
    I recommend Advanced IP Scanner and LAN Scanner.

    You don't have to ping in turn. It is enough to do one ping to ... the broadcast address of the given subnetwork. Each knot will not respond, because how, but will enter it in the arp table. So we clean the arp tables. We ping, display the arp tables

    for example
    arp -d *
    ping 192.168.1.255
    arp -a
ADVERTISEMENT