* Carlos E. R.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256
On 2015-09-16 07:37, Per Jessen wrote:
Carlos E. R. wrote:
When I tried there were two routers, on switch,
If those were managed (i.e. with their own IP) switches, they probably would have responded.
It did not, to the broadcast. It responds to a direct one:
minas-tirith:~ # ping switch PING switch (192.168.1.6) 56(84) bytes of data. 64 bytes from switch (192.168.1.6): icmp_seq=1 ttl=64 time=31.1 ms 64 bytes from switch (192.168.1.6): icmp_seq=2 ttl=64 time=5.22 ms ^C - --- switch ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1001ms rtt min/avg/max/mdev = 5.229/18.193/31.157/12.964 ms minas-tirith:~ #
a Linux laptop, and two android devices.
Dunno about Android, it probably doesn't respond either.
Maybe. Even nmap can't find a hole.
An alternative is:
minas-tirith:~ # fping -a -g 192.168.1.0/24 192.168.1.1 192.168.1.2 192.168.1.5 192.168.1.6 192.168.1.15 192.168.1.51 ICMP Host Unreachable from 192.168.1.129 for ICMP Echo sent to 192.168.1.3 ICMP Host Unreachable from 192.168.1.129 for ICMP Echo sent to 192.168.1.4 ICMP Host Unreachable from 192.168.1.129 for ICMP Echo sent to 192.168.1.7 ICMP Host Unreachable from 192.168.1.129 for ICMP Echo sent to 192.168.1.8 ICMP Host Unreachable from 192.168.1.129 for ICMP Echo sent to 192.168.1.9 192.168.1.129 ICMP Host Unreachable from 192.168.1.129 for ICMP Echo sent to 192.168.1.10 ICMP Host Unreachable from 192.168.1.129 for ICMP Echo sent to 192.168.1.11
But I can't find a concoction that keeps silent about unreachable targets.
Maybe:
minas-tirith:~ # fping -C 1 -q -g 192.168.1.0/24 192.168.1.1 : 2.22 192.168.1.2 : 4.62 192.168.1.3 : - 192.168.1.4 : - 192.168.1.5 : 1.67 192.168.1.6 : 7.32 192.168.1.7 : - 192.168.1.8 : -
prints every addr of 192.168.1.0/24 pfing -agq 192.168.1.0/24 prints only answering ip's -- (paka)Patrick Shanahan Plainfield, Indiana, USA @ptilopteri http://en.opensuse.org openSUSE Community Member facebook/ptilopteri http://wahoo.no-ip.org Photo Album: http://wahoo.no-ip.org/gallery2 Registered Linux User #207535 @ http://linuxcounter.net -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org