New Posts  All Forums:Forum Nav:

Network discovery?

post #1 of 13
Thread Starter 
Hi all,

In MS Windows DOS command shell (cmd), is there a particular command that I can use for network discovery? That is, finding out the IP addresses of all the host on my LAN, given they are all within the same subnetwork (subnet) ?

My small home wireless LAN is using the private network address of 192.168.1.0 with subnet mask 255.255.255.0 . The router is assigned 192.168.1.1 . All other host range from 192.168.1.2 - 192.168.1.254

I've tried sending a broadcast ping of 192.168.1.255, hoping I may get replies from all hosts and then utilise the ARP (arp -a) command to display all their assigned IP's,.......

But as routers do what they do and don't forward broadcast, it spits the broadcast back in my face.

( <--- Me vs Router).

Any help?

If not, is there a program out there that has network discovery capabilities?

Thankyou !
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
post #2 of 13
you could try angry ip. It's a small fast utility that shows the ip and host name of everything on a network.

have you tried netview? i don't think it works with sp2 anymore but it made a fun time at lans
post #3 of 13
I don't believe there is such a command. You should look into NMap.

NMap
Black & Blue II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 760 ASUS P7P55D-E PRO ASUS Geforce GTX 660 G.SKILL Ripjaws X 16GB 2X8GB DDR3 1600 
Hard DriveHard DriveHard DriveOptical Drive
Samsung SSD 840 Pro Intel X25-M 80GB 2 x WD 750GB RAID 0 (1.15TB) LG BH10LS30 
CoolingOSMonitorKeyboard
Noctua NH-D14 Windows 8.1 Pro Dell 2407WFP Logitech G15 
PowerCaseMouseMouse Pad
Corsair Professional HX650W Coolermaster Storm Sniper Black Edition Logitech G5 fUnc sUrface 1030 
Audio
ASUS Xonar Essence STX 
  hide details  
Reply
Black & Blue II
(17 items)
 
  
CPUMotherboardGraphicsRAM
Intel Core i5 760 ASUS P7P55D-E PRO ASUS Geforce GTX 660 G.SKILL Ripjaws X 16GB 2X8GB DDR3 1600 
Hard DriveHard DriveHard DriveOptical Drive
Samsung SSD 840 Pro Intel X25-M 80GB 2 x WD 750GB RAID 0 (1.15TB) LG BH10LS30 
CoolingOSMonitorKeyboard
Noctua NH-D14 Windows 8.1 Pro Dell 2407WFP Logitech G15 
PowerCaseMouseMouse Pad
Corsair Professional HX650W Coolermaster Storm Sniper Black Edition Logitech G5 fUnc sUrface 1030 
Audio
ASUS Xonar Essence STX 
  hide details  
Reply
post #4 of 13
ARP-A/G command by itself should give you all that you need if your network is configured right.It will give you your interface,gateway,and any other connect to the network except maybe the interface connected to the router or modem. It should even give you the ip's of switches and hubs directly connect to the router if any.

Example:
C:\\Windows\\system32>arp -g

Interface: 192.168.1.33 --- 0x9
Internet Address Physical Address Type
192.168.1.1 00-18-f8-6c-cc-59 dynamic
192.168.1.54 00-19-21-56-c1-b2 dynamic
192.168.1.67 00-16-cf-37-95-77 dynamic
192.168.1.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static
 
Event Ryzen
(18 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 6700k MSI Z170M Mortar  Sapphire RX470 8GB  Crucial Ballistix Sport (grey & black) 
Hard DriveHard DriveCoolingOS
240GB Transcend SSD  512GB Transcend SSD Corsair H80i V2 Windows 10 Pro 
MonitorKeyboardPowerCase
LG 29UM68-P & LG 23MP48HQ-P CODE 61(MX Clears) Evga SN 550w RaidMax Hyperion (Black & Silver) 
MouseMouse PadAudioAudio
Logitech G900 Hot Eagle XL mousepad Klipsch R-14M's Presonus audiobox usb. 
AudioAudioAudio
Akai Pro MPK Mini Audio-Technica ATH-M50x, Phillips SHP9500's MXL 990/991 
CPUMotherboardOSOS
Ryzen 1600x  ASROCK AB350M PRO Windows 10 Pro Fedora workstation 25 
Case
???? Open Air-Haven't decided 
  hide details  
Reply
 
Event Ryzen
(18 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 6700k MSI Z170M Mortar  Sapphire RX470 8GB  Crucial Ballistix Sport (grey & black) 
Hard DriveHard DriveCoolingOS
240GB Transcend SSD  512GB Transcend SSD Corsair H80i V2 Windows 10 Pro 
MonitorKeyboardPowerCase
LG 29UM68-P & LG 23MP48HQ-P CODE 61(MX Clears) Evga SN 550w RaidMax Hyperion (Black & Silver) 
MouseMouse PadAudioAudio
Logitech G900 Hot Eagle XL mousepad Klipsch R-14M's Presonus audiobox usb. 
AudioAudioAudio
Akai Pro MPK Mini Audio-Technica ATH-M50x, Phillips SHP9500's MXL 990/991 
CPUMotherboardOSOS
Ryzen 1600x  ASROCK AB350M PRO Windows 10 Pro Fedora workstation 25 
Case
???? Open Air-Haven't decided 
  hide details  
Reply
post #5 of 13
Thread Starter 
Quote:
Originally Posted by reezin14 View Post
ARP-A/G command by itself should give you all that you need if your network is configured right.It will give you your interface,gateway,and any other connect to the network except maybe the interface connected to the router or modem. It should even give you the ip's of switches and hubs directly connect to the router if any.

Example:
C:Windowssystem32>arp -g

Interface: 192.168.1.33 --- 0x9
Internet Address Physical Address Type
192.168.1.1 00-18-f8-6c-cc-59 dynamic
192.168.1.54 00-19-21-56-c1-b2 dynamic
192.168.1.67 00-16-cf-37-95-77 dynamic
192.168.1.255 ff-ff-ff-ff-ff-ff static
224.0.0.22 01-00-5e-00-00-16 static

If my LAN hosts were all connected via a hub or switch, this is true.

However, so far from my experience, I've found that ARP is not a network discovery based protocol.

If all my host connect into the router, but do not directly exchange TCP/IP packets between other host connected to the router, they are not displayed.

However, for example, if I execute the ping command to contact another host, say 192.168.1.3, and then execute the arp - a command, then yes, that host is now displayed in the ARP table. If I hadn't setup that host myself and known of its IP address, I wouldn't have known it existed.
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
post #6 of 13
Thread Starter 
Quote:
Originally Posted by h4rdcor3 View Post
you could try angry ip. It's a small fast utility that shows the ip and host name of everything on a network.

have you tried netview? i don't think it works with sp2 anymore but it made a fun time at lans
I forgot about Angry IP scanner. Nice little program. Works a treat. Ta
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
post #7 of 13
So is Angry IP Scanner what you're looking for or are you looking for other programs?
post #8 of 13
Quote:
Originally Posted by JBG84 View Post
If my LAN hosts were all connected via a hub or switch, this is true.
Sorry though you were doing it wired not wirelessly.
 
Event Ryzen
(18 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 6700k MSI Z170M Mortar  Sapphire RX470 8GB  Crucial Ballistix Sport (grey & black) 
Hard DriveHard DriveCoolingOS
240GB Transcend SSD  512GB Transcend SSD Corsair H80i V2 Windows 10 Pro 
MonitorKeyboardPowerCase
LG 29UM68-P & LG 23MP48HQ-P CODE 61(MX Clears) Evga SN 550w RaidMax Hyperion (Black & Silver) 
MouseMouse PadAudioAudio
Logitech G900 Hot Eagle XL mousepad Klipsch R-14M's Presonus audiobox usb. 
AudioAudioAudio
Akai Pro MPK Mini Audio-Technica ATH-M50x, Phillips SHP9500's MXL 990/991 
CPUMotherboardOSOS
Ryzen 1600x  ASROCK AB350M PRO Windows 10 Pro Fedora workstation 25 
Case
???? Open Air-Haven't decided 
  hide details  
Reply
 
Event Ryzen
(18 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7 6700k MSI Z170M Mortar  Sapphire RX470 8GB  Crucial Ballistix Sport (grey & black) 
Hard DriveHard DriveCoolingOS
240GB Transcend SSD  512GB Transcend SSD Corsair H80i V2 Windows 10 Pro 
MonitorKeyboardPowerCase
LG 29UM68-P & LG 23MP48HQ-P CODE 61(MX Clears) Evga SN 550w RaidMax Hyperion (Black & Silver) 
MouseMouse PadAudioAudio
Logitech G900 Hot Eagle XL mousepad Klipsch R-14M's Presonus audiobox usb. 
AudioAudioAudio
Akai Pro MPK Mini Audio-Technica ATH-M50x, Phillips SHP9500's MXL 990/991 
CPUMotherboardOSOS
Ryzen 1600x  ASROCK AB350M PRO Windows 10 Pro Fedora workstation 25 
Case
???? Open Air-Haven't decided 
  hide details  
Reply
post #9 of 13
Thread Starter 
Quote:
Originally Posted by reezin14 View Post
Sorry though you were doing it wired not wirelessly.
No no, my bad. Sorry. I was being ambiguous before, making the example kinda generic as I didn't believe the transfer medium was specifically important to the result. I only added in the info about Wireless after your original comment

That being said....

If the connections were all wired, but still all plugged directly into the router only (so no hub or switch involved), I still wouldn't be able to discover them unless I made direct IP packet exchange with them, yes?
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
post #10 of 13
Thread Starter 
Quote:
Originally Posted by PiratesRule View Post
So is Angry IP Scanner what you're looking for or are you looking for other programs?
Any other helpful networking programs, if you know of any, would be much appreciated

Was initially hoping to find a way for network discovery via commands. But.... sometimes you just gotta turn to the software
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
Meh, good enough
(13 items)
 
  
CPUMotherboardGraphicsRAM
AMD Phenom II X4 955 C3 @ 3.8GHz Gigabyte GA-880GA-UD3H ASUS 7970 Direct CU II G.Skill F3-17600CL7D-4GBPIS 
Hard DriveOSPowerCase
WDC WD6000HLHX Windows 7 Home Premium 64-bit Antec True Power 750W Cooler Master Elite 370 
Audio
ASUS Xonar DG 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Networking & Security