[openib-general] configuring ipoib

Grant Grundler iod00d at hp.com
Fri Oct 21 08:58:20 PDT 2005


On Fri, Oct 21, 2005 at 11:02:37AM -0400, Kanevsky, Arkady wrote:
> How do you configure ipoib?
> I used "ifconfig  ib0 ip_address" which works fine.
> But if I have several ports on an HCA how do I specify which port
> ip_address should be associated with?

Nit: For linux, Christoph Hellwig (and others) have explained that
the ip address is associated with the host, NOT any card.
The route to the subnet is associated with the card.

> Ditto if you have multiple cards.

iowa:/usr/src/linux-2.6.13# lspci -vt -d 15b3:
-+-[c0]---01.0-[c1]----00.0  Mellanox Technologies MT23108 InfiniHost
 +-[40]---01.0-[41]----00.0  Mellanox Technologies MT23108 InfiniHost
 \-[00]-
iowa:/usr/src/linux-2.6.13# ifconfig -a | fgrep ib
ib0       Link encap:UNSPEC  HWaddr 00-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00  
ib1       Link encap:UNSPEC  HWaddr 00-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00  
ib2       Link encap:UNSPEC  HWaddr 00-00-04-04-FE-80-00-00-00-00-00-00-00-00-00-00  
ib3       Link encap:UNSPEC  HWaddr 00-00-04-05-FE-80-00-00-00-00-00-00-00-00-00-00  


hth,
grant



More information about the general mailing list