<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>IPoIB interface MAC</TITLE>
</HEAD>
<BODY>
<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">Hi all, </FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">How can I retrieve the MAC address for a specific IPoIB interface? Using ifconfig doesn't produce a good results, here is ifconfig output for machines with GEN2:</FONT></P>
<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">SUSE 9.</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Arial">3,</FONT><FONT COLOR="#000000" SIZE=2 FACE="Arial"> 2.6.13</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">ib0 Link encap:UNSPEC HWaddr 00-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00 </FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> inet addr:11.4.8.156 Bcast:11.255.255.255 Mask:255.0.0.0</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> inet6 addr: fe80::202:c912:4538:5345/64 Scope:Link</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> UP BROADCAST RUNNING MULTICAST MTU:2044 Metric:1</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> RX packets:729127 errors:0 dropped:0 overruns:0 frame:0</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> TX packets:1764771 errors:0 dropped:0 overruns:0 carrier:0</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> collisions:0 txqueuelen:128 </FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> RX bytes:37915221 (36.1 Mb) TX bytes:3522251817 (3359.0 Mb)</FONT>
</P>
<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">REDHAT</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Arial">4,</FONT> <FONT COLOR="#000000" SIZE=2 FACE="Arial"> 2.6.9</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">ib0 Link encap:UNSPEC HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00 </FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> inet addr:11.4.8.67 Bcast:11.4.255.255 Mask:255.255.0.0</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> UP BROADCAST RUNNING MULTICAST MTU:2044 Metric:1</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> RX packets:0 errors:0 dropped:0 overruns:0 frame:0</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> TX packets:0 errors:0 dropped:0 overruns:0 carrier:0</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> collisions:0 txqueuelen:128 </FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial"> RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)</FONT>
</P>
<BR>
<P><FONT COLOR="#000000" SIZE=2 FACE="Arial">Thanks, </FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Ali Ayoub</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Mellanox Technologies LTD</FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Tel: +972-4-9097200 Ext: 251 </FONT>
<BR><FONT COLOR="#000000" SIZE=2 FACE="Arial">Cell: +972-54-5245673</FONT>
</P>
</BODY>
</HTML>