I'm connected to a network switch directly. When I'm running
ping -b 172.20.0.255 command, where
172.20.0.255 is my broadcast address, I'm getting the list of IPs iteratively:
64 bytes from 172.20.0.31: icmp_seq=17 ttl=64 time=0.543 ms 64 bytes from 172.20.0.29: icmp_seq=17 ttl=64 time=0.562 ms (DUP!) 64 bytes from 172.20.0.16: icmp_seq=17 ttl=64 time=0.565 ms (DUP!) 64 bytes from 172.20.0.28: icmp_seq=17 ttl=255 time=1.63 ms (DUP!) 64 bytes from 172.20.0.30: icmp_seq=17 ttl=255 time=1.96 ms (DUP!)
Apart from these, there are many other hosts also in the network, but why it is displaying only these IPs?
What should be the expected output of this command? Which IP should I get?