Tap interface is not receiving packets

634 views Asked by At

I'm configuring a tap interface and trying to send and receive packets through it, i configure it like this:

ip tuntap add name tap0 mode tap multi_queue
ip linke set tap0 up

i'm using scapy to send traffic to the interface, the command is :

p = Ether()/IP()
sendp(p, iface = 'tap0')

using

tcpdump -i tap0 -vvven -vlan

and didn't catch any packets.

0

There are 0 answers