I have a Linux box with a gigabit Ethernet interface in a local network. With this single computer, I need to simulate HTTP traffic like if it was coming from 20 machines (hence with 20 different IP and MAC addresses) in order to stress-test a router.
I created a script which mounts 20 tun/tap devices with macvlan, but the question is, can I generate traffic through all these virtual interfaces at the same time ?
Can I achieve this with some simple scripts or do I need a specific tool or application ?