Different interfaces need to be declared with different LNET networks - something like "networks=tcp0(eth0),tcp1(eth1)".  Of course, that assumes your clients are configured to use a mix of tcp0 and tcp1 for connections (with each client only using one of the two).  This is really only useful in corner cases, when you're doing something strange; if eth0 and eth1 are in the same subnet (as in your example), this is almost certainly not productive.<div>
<br></div><div>A better bet might be to use a single LNET, and bond the two interfaces together - either as an active/passive pair, or active/active (e.g., LACP).  Then you'd declare networks=tcp0(bond0), give the bond a single IP address, and client traffic would be split across the two members in the bond more like you probably expect (given the limits of the bond protocol you're using).<br>
<div><br clear="all"><div>--<br>Mike Shuey</div>
<br><br><div class="gmail_quote">On Tue, Jun 25, 2013 at 8:06 AM, Alfonso Pardo <span dir="ltr"><<a href="mailto:alfonso.pardo@ciemat.es" target="_blank">alfonso.pardo@ciemat.es</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<div dir="ltr">
<div dir="ltr">
<div style="font-size:12pt;font-family:'Calibri'">
<div>hello friends,</div>
<div> </div>
<div>I need to comunicate my OSS by two ethernet TCP interfaces: eth0 and 
eth1.</div>
<div> </div>
<div>I have configured this feature in my modprobe.d with:</div>
<div> </div>
<div>“options lnet networks=tcp0(eth0,eth1)”</div>
<div> </div>
<div>And I can see two interfaces with: </div>
<div> </div>
<div>lctl --net tcp interface_list</div>
<div><a href="http://sa-d4-01.ceta-ciemat.es" target="_blank">sa-d4-01.ceta-ciemat.es</a>: (<a href="http://192.168.11.15/255.255.255.0" target="_blank">192.168.11.15/255.255.255.0</a>) npeer 0 nroute 
2</div>
<div><a href="http://sa-d4-01.ceta-ciemat.es" target="_blank">sa-d4-01.ceta-ciemat.es</a>: (<a href="http://192.168.11.35/255.255.255.0" target="_blank">192.168.11.35/255.255.255.0</a>) npeer 0 nroute 
0</div>
<div> </div>
<div>But, the clients only can communicate with the first interface:</div>
<div> </div>
<div>lctl ping 192.168.11.15</div>
<div>12345-0@lo</div>
<div>12345-192.168.11.15@tcp</div>
<div>lctl ping 192.168.11.35</div>
<div>failed to ping 192.168.11.35@tcp: Input/output error</div>
<div> </div>
<div> </div>
<div>Any suggestions how to “enable” the second interface?</div>
<div> </div>
<div> </div>
<div>thank in advance</div>
<div style="font-size:12pt;font-family:'Calibri'">
<p><i><font><span style><span style="FONT-FAMILY:century gothic,sans-serif,10">Alfonso Pardo Diaz 
</span></span></font></i><font><br><i><b><span style="FONT-FAMILY:century gothic,sans-serif">System Administrator / Researcher 
</span></b></i><br><i><span style="FONT-FAMILY:century gothic,sans-serif">c/ 
Sola nº 1; 10200 TRUJILLO, SPAIN </span></i><br><i><span style="FONT-FAMILY:century gothic,sans-serif">Tel: <a href="tel:%2B34%20927%2065%2093%2017" value="+34927659317" target="_blank">+34 927 65 93 17</a> Fax: +34 
927 32 32 37 </span></i>
</font></p><p><font><span><a href="http://www.ceta-ciemat.es/" target="_blank"><img border="0" alt="CETA-Ciemat logo" width="383" height="76"> </a></span></font></p><p></p></div></div></div>----------------------------
Confidencialidad: 
Este mensaje y sus ficheros adjuntos se dirige exclusivamente a su destinatario y puede contener información privilegiada o confidencial. Si no es vd. el destinatario indicado, queda notificado de que la utilización, divulgación y/o copia sin autorización está prohibida en virtud de la legislación vigente. Si ha recibido este mensaje por error, le rogamos que nos lo comunique inmediatamente respondiendo al mensaje y proceda a su destrucción.

Disclaimer: 
This message and its attached files is intended exclusively for its recipients and may contain confidential information. If you received this e-mail in error you are hereby notified that any dissemination, copy or disclosure of this communication is strictly prohibited and may be unlawful. In this case, please notify us by a reply and delete this email and its contents immediately. 
----------------------------
</div>
<br>_______________________________________________<br>
Lustre-discuss mailing list<br>
<a href="mailto:Lustre-discuss@lists.lustre.org">Lustre-discuss@lists.lustre.org</a><br>
<a href="http://lists.lustre.org/mailman/listinfo/lustre-discuss" target="_blank">http://lists.lustre.org/mailman/listinfo/lustre-discuss</a><br>
<br></blockquote></div><br></div></div>