<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif">All,<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"> I am trying to trace the flow of IPoIB packets on a Linux machine (RHEL 5) using ibdump.<br>
</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I am plan to filter the packets via tshark by writing the ibdump output to a pipe. But after the capture, I see that the dump only contains the incoming packets.<br>
</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br>As a test I was running ping from the current machine to another linux machine, but the captured file only shows incoming icmp reply, but no icmp requests.<br>
</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br>Any suggestions on what could be wrong here?<br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br># rpm -q ibdump<br>ibdump-1.0.5-4<br>
<br># rpm -q wireshark<br>wireshark-1.0.15-5.0.1.el5<br><br># ls -l /tmp/iblogp<br>prw-r--r-- 1 root root 0 Aug 28 07:50 /tmp/iblogp<br><br># tshark -V -i /tmp/iblogp > tshark.log &<br># ibdump -d mlx4_0 -i 1 -o /tmp/iblogp<br clear="all">
</div><br><div class="gmail_default" style="font-family:tahoma,sans-serif;display:inline"># </div>egrep 'Local ID|Type:' tshark.log | head -20<br> Destination Local ID: 29<br> Source Local ID: 76<br>
Type: 0 (Echo (ping) reply)<br> Destination Local ID: 29<br> Source Local ID: 76<br> Type: 0 (Echo (ping) reply)<br> Destination Local ID: 29<br> Source Local ID: 76<br> Type: 0 (Echo (ping) reply)<br>
Destination Local ID: 29<br> Source Local ID: 76<br> Type: 0 (Echo (ping) reply)<br> Destination Local ID: 29<br> Source Local ID: 76<br> Type: 0 (Echo (ping) reply)<br> Destination Local ID: 29<br>
Source Local ID: 76<br> Type: 0 (Echo (ping) reply)<br> Destination Local ID: 29<br> Source Local ID: 76<br><br># grep 'Type:' tshark.log<br> Type: 0 (Echo (ping) reply)<br> Type: 0 (Echo (ping) reply)<br>
Type: 0 (Echo (ping) reply)<br> Type: 0 (Echo (ping) reply)<br> Type: 0 (Echo (ping) reply)<br> Type: 0 (Echo (ping) reply)<br> Type: 0 (Echo (ping) reply)<br><br>-- <br>regards,<div>~Ravi<br></div>
</div>