訳あって、ubuntu14.04をNIC2枚差しでhub化してwire sharkを導入した。要はパケットを監視する必要があるからである。
設定の備忘録
#vim /etc/network/interfaces
auto eth0
iface eth0 inet static
address 0.0.0.0
auto eth1
iface eth1 inet static
address 0.0.0.0
auto vbr0
iface vbr0 inet static
address 192.168.0.11
netmask 255.255.255.0
network 192.168.0.255
bridge_ports eth0 eth1
bridge_stp off
WireSharkのインストール
#sudo apt-get install wireshark
#sudo setcap ‘CAP_NET_RAW+eip CAP_NET_ADMIN+eip’ /usr/bin/dumpcap