yum install pip yum -y install python-pip yum install epel-release yum install python-pip pip install --upgrade pip pip install --pre scapy[basic]
Lots of examples Here
Other ways of generating traffic:
# A-end yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install pv -y dd if=/dev/urandom bs=1000 count=1000 | pv -L 10M | nc 10.80.8.1 4444 # B-end yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm yum install nmap nc -kl 4444