#!/bin/bash # Run tcpdump to show ICMP packets coming to the specified interface, by default eth0. # From some remote host, ping the connected IP of the bonder while running this script. # To use a different interface, specify it on the command line. DEFAULT_IF="eth0" IF=${1:-$DEFAULT_IF} tcpdump -n -i $IF icmp