[openib-general] ib1 takes ib0 configuration

Moni Shoua monis at voltaire.com
Mon Mar 6 07:20:43 PST 2006


After building and installing openib stack on SUSE Linux Enterprise
Server 9.90 Beta5  I noticed that ib1 interface has identical IP
configuration to ib0 configuration. 
 
ib0       Link encap:UNSPEC  HWaddr
00-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00  
          inet addr:192.68.3.238  Bcast:192.68.255.255  Mask:255.255.0.0

ib1       Link encap:UNSPEC  HWaddr
00-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00  
          inet addr:192.68.3.238  Bcast:192.68.255.255  Mask:255.255.0.0
 
This  causes problems in the machine's IP configuration even if the link
of ib1 is down.
The fact that a network script for ib1 exists doesn't make a difference.
ib1 still takes ib0 configuration.
 
When trying to query ib1 status (with /sbin/ifstatus ib1) I get this
 
     ib1       device: Mellanox Technologies MT25208 InfiniHost III Ex
HCA (Tavor compatibility mode) (rev a0)
    ib1       configuration: ib0
ib1 is up
10: ib1: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc pfifo_fast
qlen 128
    link/infiniband
00:00:04:05:fe:80:00:00:00:00:00:00:00:08:f1:04:03:97:08:ea brd
00:ff:ff:ff:ff:12:40:1b:ff:ff:00:00:00:00:00:00:ff:ff:ff:ff
    inet 192.68.3.238/16 brd 192.68.255.255 scope global ib1
    ib1       IP address: 192.68.3.238/16
 
When looking for the reason to this behavior I found that when the
network is started, ifup calls getcfg like this: /sbin/getcfg -d . -f
ifcfg- -- ib1 and one of the lines in the output is HWD_CONFIG_0="ib0".
The HWD_CONFIG_0 variable is parsed in ifup and the variable CONFIG is
set to its value.
 
All the above doesn't happen on SUSE Linux Enterprise Server 9 and I
suspect that the difference is in the version of the rpm sysconfig
(0.50.6 vs. 0.31.0) which packages getcfg.
 
Does anyone have an idea how to solve this? Is this a bug of getcfg, bug
in IPoIB or just a wrong IP configuration?
 
thanks
 

____________________________________________________________

Moni Shoua |  +972-9-9718630 (o)   |   +072-52-8232979 (m)

SW Engineer, Mainstream IB host stack

Voltaire - The Grid Backbone

 

 www.voltaire.com <http://www.voltaire.com/> 

<mailto:g at voltaire.com> 

  

 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openfabrics.org/pipermail/general/attachments/20060306/1e29c0bb/attachment.html>


More information about the general mailing list