Linux bridge, macvlan, ipvlan, adapters
The open source Host sFlow project added a feature to efficiently monitor traffic on Linux host network interfaces: network adapters, Linux bridge, macvlan, ipvlan, etc. Implementation of high performance sFlow traffic monitoring is made possible by the inclusion of random packet sampling support in the Berkeley Packet Filter (BPF) implementation in recent Linux kernels (3.19 or later).In addition to the new BPF capability, hsflowd has a couple of other ways to monitor traffic:
- iptables, add a statistic rule to the iptables firewall to add traffic monitoring
- Open vSwitch, has built-in sFlow instrumentation that can be configured by hsflowd.
The following commands build and install hsflowd on an Ubuntu 14.03 host:
sudo apt-get update
sudo apt-get install build-essential
sudo apt-get install libpcap-dev
sudo apt-get install git
git clone https://github. Continue reading