3
1
I have Freebsd as a router.
Local network is on interface sk0: inet 10.254.239.1 netmask 0xffffff00 broadcast 10.254.239.255
In my local network I have a computer(windows 7) that gets it's ip(10.254.239.2) from DHCP server on Freebsd.
- Ping to exact address 10.254.239.2 works fine.
When I try to ping bradcast 10.254.239.255 from Freebsd itself nothing happens:
--- 10.254.239.255 ping statistics ---
3 packets transmitted, 0 packets received, 100.0% packet loss
#arp -a
says:
...
? (10.254.239.255) at (incomplete) on sk0 expired [ethernet]
...Firewall allows all on this interface
Where to look? What to do to make broadcast working?
Or, e.g.
nmap -sn 192.168.1.0/24
(replace with appropriate subnet). – Andrew Marshall – 2015-01-24T18:05:43.4373While it does offer an alternative way to ping the network, it doesn't answer the questions posed as to "why doesn't broadcast ping work?" – Sarge – 2012-10-12T21:52:13.600
1True, but call it pragmatic intuition. I suspected there was an underlying reason as to why this person was trying to broadcast ping the network. I don't see any harm in going beyond the answer to provide a possible solution. ;-) – Craig – 2012-10-12T22:48:30.310