Merge "Bug 1396 : Change from deprecated DataBrokerService to DataBroker"
[netvirt.git] / resources / mininet / cheatsheet.txt
1 # capturing packets
2 export HOST=`ifconfig | awk -F"-" '/^.+-eth0/ {print $1}'`
3 echo "this is host ${HOST}"
4
5 # to see it in the screen
6 ## tcpdump -XX -n -e -i ${HOST}-eth0
7
8 # capture to a file
9 tcpdump -w /vagrant/resources/mininet/${HOST}.pcap -s0 -vvv -e -n -c 100 -i ${HOST}-eth0
10
11