tcpdump mailing list archives
virtual interface with macvlan
From: Hyun Yoo <easetheworld () gmail com>
Date: Wed, 13 Jan 2016 08:53:25 +0900
Hello. Happy new year. I'm trying to send a pcap file from linux machine A to B(directly connected). In machine A, I set up two virtual interfaces. # ip link add link eth1 eth1:1 address 11:11:11:11:11:11 type macvlan # ip link set eth1:1 up # ip link add link eth1 eth1:2 address 22:22:22:22:22:22 type macvlan # ip link set eth1:2 up # tcpdump -e -i eth1:1 In machine B, I send a pcap file which is a smtp session between mac 11:11:11:11:11:11 and 22:22:22:22:22:22. # tcpreplay -i eth1 smtp.pcap I expected that eth1:1 in machine A captures only 11:11:11:11:11:11-destined-packet. but eth1:1 and eth1:2 always capture every packets. What am I doing wrong? _______________________________________________ tcpdump-workers mailing list tcpdump-workers () lists tcpdump org https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- virtual interface with macvlan Hyun Yoo (Jan 12)