sendp(pkt, inter=1, count=5, iface="enp7s0f1")
pkt = Ether(dst="ff:ff:ff:ff:ff:ff")/IP(src='1.1.1.200', dst='255.255.255.255')/UDP(sport=68, dport=67)
sendp(pkt, inter=1, count=5, iface="enp7s0f1")
data = 'data'
pkt = Ether(dst="22:33:44:55:66:77:88")/IP(src='1.1.1.200', dst='2.2.2.200')/UDP(sport=100, dport=200)/data
sendp(pkt, inter=1, count=5, iface="enp7s0f1")
安装 scapy 地址: