Created
April 11, 2018 17:18
-
-
Save jermdw/d7b2efeb3075296c9f6b176e4cfc03c1 to your computer and use it in GitHub Desktop.
tcpreplay
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
modprobe dummy | |
lsmod | grep dummy | |
ip link set name eth10 dev dummy0 | |
ip link show eth10 | |
ifconfig eth10 hw ether 00:22:22:ff:ff:ff | |
ip link show eth10 | |
ip addr add 192.168.100.199/24 brd + dev eth10 label eth10:0 | |
ifconfig eth10 up | |
ifconfig eth10 promisc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment