How To Use tcpdump

I have two net-card. one is 172.16.24.99(ENG) ,another is 172.16.25.99(ENG-B). Both masks is 255.255.255.0.
I will monitor data on the tcp port 8055 in ENG, How do I set option of tcpdump command

Hi..

First check with ifconfig what the name is of the network card connected to the network you wish to monitor..

then use :
tcpdump -i <NETWORK CARD DEVICE NAME> tcp port 8055

  1. pfconfig +promisc +copyall -all
  2. tcpdump -mlex -vv tcp port any_port