On Mon, Jul 12, 2010 at 3:28 PM, Tom Ammon <[email protected]> wrote: > 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?
Yes. > For example, could I configure ib0:1 to be 192.168.0.1/24 and > ib0:2 to be 10.0.0.1/24? See linux/Documentation/infiniband/ipoib.txt on how to do this. > 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. The procedure is a little different. You'll need to create a child interface (on a partition) first and then you will be able to configure it as follows: echo 0x8001 > /sys/class/net/ib0/create_child ifconfig ib0.8001 ... Note that you'll want the 0x8000 bit on for full membership. -- Hal > Tom > > On 7/12/2010 1:06 PM, Hal Rosenstock wrote: >> >> On Mon, Jul 12, 2010 at 3:03 PM, Hal Rosenstock >> <[email protected]> wrote: >>> >>> Hi Tom, >>> >>> On 7/12/10, Tom Ammon<[email protected]> 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 [email protected] >>>> 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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
