Skip to content

fping | Cheatsheet


Install net-analyzer/fping

emerge --ask net-analyzer/fping

Fping Multiple IP Address

fping 1.1.1.1 8.8.8.8 8.8.4.4

Fping Range of IP Address

fping -s -g 192.168.0.1 192.168.0.9

Fping Complete Network with Different Options

fping -g -r 1 192.168.0.0/24

Reads the List of Targets From a File

fping < hosts.txt

Set source target

fping --src=127.0.0.1

Only ping IPv4 addresses

fping -4 1.1.1.1

Only ping IPv6 addresses

fping -6 fe80::333b:213c:1aa:111e

Send 5 pings to each targets

fping --count=5 1.1.1.1 8.8.8.8

Show targets that are alive

fping -a 1.1.1.1

Quiet (don't show per-target/per-ping results)

fping --quiet 1.1.1.1

Same as Quiet, but show summary every n seconds

fping --squiet=5 1.1.1.1
fping -s 1.1.1.1