[openib-general] IPoIB interface MAC

Hal Rosenstock halr at voltaire.com
Tue Sep 20 04:40:58 PDT 2005


On Tue, 2005-09-20 at 07:31, Ali Ayoub wrote:
> Hi all, 
> How can I retrieve the MAC address for a specific IPoIB interface?

ip addr show dev ib0
19: ib0: <BROADCAST,MULTICAST,UP> mtu 2044 qdisc pfifo_fast qlen 128
    link/[32]
00:0e:04:04:fe:80:00:00:00:00:00:00:00:08:f1:04:03:96:05:59 brd
00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
    inet 192.168.0.1/24 brd 192.168.0.255 scope global ib0
    inet6 fe80::208:f104:396:559/64 scope link 
       valid_lft forever preferred_lft forever

>  Using ifconfig doesn't produce a good results, here is ifconfig
> output for machines with GEN2:
> 
> SUSE 9. 3,   2.6.13
> ib0       Link encap:UNSPEC  HWaddr
> 00-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00  
>           inet addr:11.4.8.156  Bcast:11.255.255.255  Mask:255.0.0.0
>           inet6 addr: fe80::202:c912:4538:5345/64 Scope:Link
>           UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
>           RX packets:729127 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:1764771 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:128 
>           RX bytes:37915221 (36.1 Mb)  TX bytes:3522251817 (3359.0 Mb)
> 
> REDHAT 4,  2.6.9
> ib0       Link encap:UNSPEC  HWaddr
> 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
>           inet addr:11.4.8.67  Bcast:11.4.255.255  Mask:255.255.0.0
>           UP BROADCAST RUNNING MULTICAST  MTU:2044  Metric:1
>           RX packets:0 errors:0 dropped:0 overruns:0 frame:0
>           TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
>           collisions:0 txqueuelen:128 
>           RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)
> 
> 
> Thanks, 
> Ali Ayoub
> Mellanox Technologies LTD
> Tel:   +972-4-9097200 Ext: 251 
> Cell: +972-54-5245673
> 
> 
> 
> ______________________________________________________________________
> 
> _______________________________________________
> openib-general mailing list
> openib-general at openib.org
> http://openib.org/mailman/listinfo/openib-general
> 
> To unsubscribe, please visit http://openib.org/mailman/listinfo/openib-general




More information about the general mailing list