Home > other >  Ask questions about switch mirror port caught
Ask questions about switch mirror port caught

Time:10-10

Background:
Two red hat servers, network environment below:
Port 2 mirror port 1, server B hopes to complete access to the server all the received message


Currently use Libpcap implementation, found that only can get to the UDP packet and the nic ShouFaBao, unable to get any receive A message to A server, can someone come across similar issues? How to solve?
Server B nic has been set to promiscuous mode, pcap_open_live is mixed mode;
Run in Windows 7 is no problem, access to the message;
Use wireshark on server B, also can get message;
Using the tcpdump command, tcpdump TCP -i eth0, also can only catch native communication message; Can catch tcpdump IP -i eth0, native communication message + UDP packets
  • Related