tcpdump mailing list archives
virtual interface with macvlan [self-answer]
From: Hyun Yoo <easetheworld () gmail com>
Date: Fri, 29 Jan 2016 17:41:54 +0900
I found the reason by myself.
Libpcap uses SIOCGIFINDEX ioctl
and according to linux_kernel/net/core/dev_ioctl.c, COLON(':') in interface
name is not supposed to be in a name for macvlan.
Anything after colon is ignored.
Capturing for eth1:2 is same as capturing eth1.
Use eth1_2 instead of eth1:2 then problem solved.
I wonder there is any document about this.
_______________________________________________
tcpdump-workers mailing list
tcpdump-workers () lists tcpdump org
https://lists.sandelman.ca/mailman/listinfo/tcpdump-workers
Current thread:
- virtual interface with macvlan [self-answer] Hyun Yoo (Jan 29)
