poc-prep/test-inbound-routing
2014-01-22 11:14:27 -08:00

9 lines
314 B
Bash
Executable File

#!/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