[ofa-general] quick IPoIB config question

Joe Landman landman at scalableinformatics.com
Wed Jun 13 08:15:08 PDT 2007


Hi folks:

   Built OFED-1.2-rc4 on OpenSuSE 10.2, works fine as long as I turn of 
32-bit build, and update to a 2.6.20 kernel.  Installed the RPMs after 
build, and the system appears to be fine/well behaved.  Is there a 
OFED-specific technique to have the ib0 interface configure at boot 
time, after drivers load?   This might be distribution specific.

I created a file named /etc/sysconfig/network/ifcfg-ib0 which contained

BOOTPROTO='static'
MTU=''
REMOTE_IPADDR=''
STARTMODE='onboot'
USERCONTROL='no'
NETMASK='255.255.0.0'
IPADDR='10.1.32.2'
DEVICE='ib0'

Bringing the interface up with an 'ifconfig ib0 up' doesn't seem to 
assign the IP address and netmask to it.

Hence my question.  Is there an OFED specific method of configuring this 
(e.g. a config file I need to edit/create), or is it distribution 
dependent?

If I force the issue with an ifconfig, it looks like it works fine. 
This is ok as a work around, and I can create an /etc/init.d/ib or 
similar to force the issue.  I would prefer to do this "the right way", 
and if there is someone with guidance/pointers as to what that is, I 
would prefer to follow that.

Thanks.

Joe

-- 
Joseph Landman, Ph.D
Founder and CEO
Scalable Informatics LLC,
email: landman at scalableinformatics.com
web  : http://www.scalableinformatics.com
        http://jackrabbit.scalableinformatics.com
phone: +1 734 786 8423
fax  : +1 866 888 3112
cell : +1 734 612 4615



More information about the general mailing list