Code Review
/
netvirt.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
history
|
raw
|
HEAD
Update Mininet VagrantBox (part 2)
[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