[openib-general] configuring ipoib

Steve Wise swise at opengridcomputing.com
Fri Oct 21 11:30:55 PDT 2005


Normally, in linux, you specify IP aliases thusly:

ifconfig <inferface>:<aliasnum> <ipaddr>

So to add a 2nd address to eth0, do this:

ifconfig eth0:1 1.2.3.4

And a 3rd like this:

ifconfig eth0:2 5.6.7.8

etc...

I would assume IPoIB interfaces behave the same way...

by the way, the <aliasnum> can be anything string.


----- Original Message ----- 
From: "Kanevsky, Arkady" <Arkady.Kanevsky at netapp.com>
To: "Grant Grundler" <iod00d at hp.com>
Cc: <openib-general at openib.org>
Sent: Friday, October 21, 2005 1:21 PM
Subject: RE: [openib-general] configuring ipoib


Thanks guys.
Please, excuse my terminology.
No I can route a single IP address to an IB port.
But how do I route 2 (or more) IP addresses to the same IB port?

If I specify the same ib# it just changes an associated IP address for
the port.
If I specify next ib# it returns an error since that ib# does not have
a port behind it.

Arkady Kanevsky                       email: arkady at netapp.com
Network Appliance                     phone: 781-768-5395
375 Totten Pond Rd.                  Fax: 781-895-1195
Waltham, MA 02451-2010          central phone: 781-768-5300



> -----Original Message-----
> From: Grant Grundler [mailto:iod00d at hp.com]
> Sent: Friday, October 21, 2005 11:58 AM
> To: Kanevsky, Arkady
> Cc: openib-general at openib.org
> Subject: Re: [openib-general] configuring ipoib
>
>
> 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
>
_______________________________________________
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