public inbox for linux-rdma@vger.kernel.org
 help / color / mirror / Atom feed
From: Tom Ammon <tom.ammon-wbocuHtxKic@public.gmane.org>
To: Hal Rosenstock <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
Cc: "linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org"
	<linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org>
Subject: Re: basic questions about partitions
Date: Mon, 12 Jul 2010 13:28:40 -0600	[thread overview]
Message-ID: <4C3B6CE8.7080800@utah.edu> (raw)
In-Reply-To: <AANLkTikmGjn3zXsAFyH3MUEk41Tt2Iz8oJYcb0b0ocUC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>

  Okay, how about this.

With ethernet and a linux server, I can set up up aliases (virtual IP 
addresses) and assign multiple IPs to a single NIC. Can this be done 
with an HCA and IPoIB? For example, could I configure ib0:1 to be 
192.168.0.1/24 and ib0:2 to be 10.0.0.1/24?

I have tried this on a RHEL5 box and it doesn't seem to want to accept 
it, but I don't know if there is another piece somewhere that I need to 
configure.

Tom

On 7/12/2010 1:06 PM, Hal Rosenstock wrote:
> On Mon, Jul 12, 2010 at 3:03 PM, Hal Rosenstock
> <hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>  wrote:
>> Hi Tom,
>>
>> On 7/12/10, Tom Ammon<tom.ammon-wbocuHtxKic@public.gmane.org>  wrote:
>>>    Hi,
>>>
>>> I have some basic questions about IB partitions.
>>>
>>> Can an HCA port belong to more than 1 partition at a time?
>> Yes.
>>
>>> How do you configure partitions with opensm? From reading the opensmd
>>> man page, it looks like you just create a file called
>>> /etc/osm-partitions.conf, with port GUIDs and such, but is this current?
>> The default location depends on how OpenSM is configured/built.
> I missed this the first time around:
>
> and yes, the syntax indicated is current.
>
> -- Hal
>
>>> I ask because according to the man page the opensm configuration file is
>>> in /etc/opensm/ . Can you tell opensm where to look for the partitions file?
>> Yes, with either the -P option on the command line or
>> partition_config_file line in the options file.
>>
>> -- Hal
>>
>>> Thanks,
>>>
>>> Tom
>>>
>>> --
>>> Tom Ammon
>>> Network Engineer
>>> Office: 801.587.0976
>>> Mobile: 801.674.9273
>>>
>>> Center for High Performance Computing
>>> University of Utah
>>> http://www.chpc.utah.edu
>>>
>>> --
>>> To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
>>> the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
>>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
>>>

-- 
Tom Ammon
Network Engineer
Office: 801.587.0976
Mobile: 801.674.9273

Center for High Performance Computing
University of Utah
http://www.chpc.utah.edu

--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

  parent reply	other threads:[~2010-07-12 19:28 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-12 18:33 basic questions about partitions Tom Ammon
     [not found] ` <4C3B5FEA.1020904-wbocuHtxKic@public.gmane.org>
2010-07-12 18:53   ` Mike Heinz
2010-07-12 19:03   ` Hal Rosenstock
     [not found]     ` <AANLkTil-bN-x31UkuPh38HWy5hhctp2x3rlZKyCCzoha-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-12 19:06       ` Hal Rosenstock
     [not found]         ` <AANLkTikmGjn3zXsAFyH3MUEk41Tt2Iz8oJYcb0b0ocUC-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-12 19:28           ` Tom Ammon [this message]
     [not found]             ` <4C3B6CE8.7080800-wbocuHtxKic@public.gmane.org>
2010-07-12 19:53               ` Hal Rosenstock
     [not found]                 ` <AANLkTilajOitn1UidBCWeI7njymfwOTx9rl6bHo5Rv4G-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-13 16:50                   ` Tom Ammon
     [not found]                     ` <4C3C9970.2060100-wbocuHtxKic@public.gmane.org>
2010-07-13 17:44                       ` Hal Rosenstock
     [not found]                         ` <AANLkTinqEhNWWqevmvzl8rdNtvqprc3lgWC5-8jYYq70-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2010-07-13 19:44                           ` Tom Ammon
     [not found]                             ` <4C3CC210.2000803-wbocuHtxKic@public.gmane.org>
2010-07-13 21:46                               ` Hal Rosenstock

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4C3B6CE8.7080800@utah.edu \
    --to=tom.ammon-wbocuhtxkic@public.gmane.org \
    --cc=hal.rosenstock-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org \
    --cc=linux-rdma-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox