Replace <interface> with the network interface you want to use, <target IP> with the IP address of the target device, and <attacker MAC> with the MAC address of the attacker's device.
sudo insmod karp.ko
Traffic now flows: Victim → Attacker → Gateway → Attacker → Victim. kArp Linux Kernel Level ARP Hijacking Spoofing Utility