From notes by ?? at CPOSC ‘09 conference

tcpdump

tcpdump -i -c 25
tcpdump host adam and not src eve
tcpdump -n host adam or eve and port 80 and vlan 1
tcpdump -F filename host adam

use screen to see tcpdump stuff going in on one screen, and out on another screen

iproute2

replaces ifconfig, route, iptunnel

sudo apt-get install iproute

Managing routes

ip addr add 10.10.20.254/24 dev eth0
ip addr add 10.20.0.254/24 label eth0:1 dev eth0
ip addr del
ip route show
ip route sh table main