Unable to ping broadcast address

broadcastipv4

  • Host address: 192.168.0.13
  • Network: 192.168.0.0 255.255.255.0
  • Router: Cisco DPC3825 DOCSIS 3.0 Gateway (user manual)

My home network uses the 192.168.0.0 /24 network for my (mostly wireless) devices. On many other networks I frequent, I'll ping the applicable broadcast address to show all currently live devices in my (Windows 7 x64) results of arp -a. Pinging the broadcast address of a network helps me to identify devices that are currently communicating on the same network.

In my home network, I'm losing 100% of the packets sent to 192.168.0.255. Thus arp -a does not show me all of the devices that are live on my network. All devices connect directly to my router and then out to my ISP.

Why am I unable to ping the broadcast address in this network? Logging into the router directly to check the DHCP Client Table is inconvenient.

Update: These ping attempts are made from a computer directly connected to the router via ethernet. I've attempted the same ping attempts from multiple wireless devices to no avail.

Best Answer

I think that the times when operating systems responded to broadcasts pings are long gone. As far as I know every modern operating system ignores those requests as a security measure to avoid broadcast storms.

The default in Linux:

$ sysctl net.ipv4.icmp_echo_ignore_broadcasts
net.ipv4.icmp_echo_ignore_broadcasts = 1

If you want to discover machines you'll have to resort to unicast ping (nmap, ping loop or other means), but note, there can be machines configured to always ignore ping requests.

Related Question