<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<META NAME="Generator" CONTENT="MS Exchange Server version 6.5.7652.24">
<TITLE>Problems using multiple network cards</TITLE>
</HEAD>
<BODY>
<!-- Converted from text/rtf format -->
<P><FONT SIZE=2 FACE="Arial">Hello there,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">My name is Ramin, working for a company located in Graz/Austria we are faced the fact that our OmniORB based server does not seem to handle multiple network-cards correctly. Our client/server architecture is quite simple, focusing on single-client/single-server on Windows 2000/XP only. At startup of OmniNames, all known interfaces are listed, even those not even being connected to a network at all. It seems as OmniNames chooses the first IP-Adress as the one to pass on to registering server-applications which is not correct in our case. Here is a short snippet of omniNames output, the 192.168.x.x IP is wrong, we would like the server to use the other IP (157.247.x.x):</FONT></P>
<P><FONT SIZE=2 FACE="Arial">-----------------------------------------------------------------------------------------------------------------------------------------------------</FONT></P>
<P><FONT SIZE=2 FACE="Arial">omniORB: Distribution date: Thu Apr 14 17:19:57 BST 2005 dgrisby</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: My addresses are:</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB:<B> 192.168.13.10</B></FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB:</FONT><B> <FONT SIZE=2 FACE="Arial">157.247.28.148</FONT></B>
<BR><FONT SIZE=2 FACE="Arial">omniORB: 127.0.0.1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Maximum supported GIOP version is 1.2</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Native char code sets: ISO-8859-1 UTF-8.</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Transmission char code sets: ISO-8859-1(1.2) ISO-8859-1(1.1) ISO-8859-1</FONT>
<BR><FONT SIZE=2 FACE="Arial">(1.0) UTF-8(1.2) UTF-8(1.1).</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Native wide char code sets: UTF-16.</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Transmission wide char code sets: UTF-16(1.2).</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Initialising omniDynamic library.</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Current configuration is as follows:</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: DefaultInitRef (file) =</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: DefaultInitRef (args) =</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: InitRef =</FONT><B> <FONT SIZE=2 FACE="Arial">NameService=corbaname::157.247.28.148</FONT></B>
<BR><FONT SIZE=2 FACE="Arial">omniORB: abortOnInternalError = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: acceptBiDirectionalGIOP = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: acceptMisalignedTcIndirections = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: bootstrapAgentHostname =</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: bootstrapAgentPort = 900</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: clientCallTimeOutPeriod = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: clientTransportRule = * unix,tcp,ssl,bidir</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: diiThrowsSysExceptions = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: dumpConfiguration = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: endPoint = giop:tcp::2809</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: endPointPublishAllIFs = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: giopMaxMsgSize = 2097152</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: giopTargetAddressMode = KeyAddr</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: id = omniORB4</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: inConScanPeriod = 180</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: lcdMode = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: maxGIOPConnectionPerServer = 5</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: maxGIOPVersion = 1.2</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: maxInterleavedCallsPerConnection = 5</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: maxServerThreadPerConnection = 100</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: maxServerThreadPoolSize = 100</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: nativeCharCodeSet = ISO-8859-1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: nativeWCharCodeSet = UTF-16</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: objectTableSize = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: offerBiDirectionalGIOP = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: omniORB_27_CompatibleAnyExtraction = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: oneCallPerConnection = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: outConScanPeriod = 120</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: poaHoldRequestTimeout = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: poaUniquePersistentSystemIds = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: principal = [Null]</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: scanGranularity = 5</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: serverCallTimeOutPeriod = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: serverTransportRule = * unix,tcp,ssl,bidir</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: strictIIOP = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: supportBootstrapAgent = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: supportCurrent = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: supportPerThreadTimeOut = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: tcAliasExpand = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: threadPerConnectionLowerLimit = 9000</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: threadPerConnectionPolicy = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: threadPerConnectionUpperLimit = 10000</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: threadPoolWatchConnection = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: traceExceptions = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: traceInvocations = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: traceLevel = 40</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: traceThreadId = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: unixTransportDirectory = /tmp/omni-%u</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: unixTransportPermission = 777</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: useTypeCodeIndirections = 1</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: verifyObjectExistsAndType = 0</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Initialising incoming endpoints.</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Bind to address 0.0.0.0.</FONT>
<BR><FONT SIZE=2 FACE="Arial">omniORB: Starting serving incoming endpoints.</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Tue Sep 04 1omniORB: AsyncInvoker: thread id = 1 has started. Total threads = 1</FONT>
<BR><B><FONT SIZE=2 FACE="Arial">omniORB: giopRendezvouser task execute for giop:tcp:192.168.13.10:2809</FONT></B>
<BR><FONT SIZE=2 FACE="Arial">5:24:55 2007:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Starting omniNames for the first time.</FONT>
<BR><FONT SIZE=2 FACE="Arial">-----------------------------------------------------------------------------------------------------------------------------------------------------</FONT></P>
<P><FONT SIZE=2 FACE="Arial">We already played around with endPoint settings and clientTransportRules to make the system work, but failed:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">// Allow both interface, also tried it using only the first one</FONT>
<BR><FONT SIZE=2 FACE="Arial">endPoint = giop:tcp:157.247.28.148:</FONT>
<BR><FONT SIZE=2 FACE="Arial">endPoint = giop:tcp:192.168.13.10:</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">// On client side, also tried it with 157.247.0.0/255.255.0.0</FONT>
<BR><FONT SIZE=2 FACE="Arial">clientTransportRule = 157.247.28.148/255.255.255.255 unix,tcp,ssl,bidir</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">// Disallow any other adress</FONT>
<BR><FONT SIZE=2 FACE="Arial">clientTransportRule = * none</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Thanks for your help in advance and sorry for posting such a long mail,</FONT>
<BR><FONT SIZE=2 FACE="Arial">Best regards,</FONT>
</P>
<P><FONT SIZE=2 FACE="Arial">Ramin</FONT>
</P>
<BR>
<BR>
<br>
        <tr>
                <td colspan=3>
                <font size="1" face="Arial">____________________________________________________________________________</font><br>
                </td>        
        <tr>
                <td colspan=3>
                <font size="1" face="Arial">AVL List GmbH, Firmensitz: Graz, Firmenbuchnummer: FN 53507M, Landesgericht fuer ZRS Graz</font><br>
                </td>
        <br></BODY>
</HTML>