[Ace-users] [ace-users] Subject: Trading services doesn't work properly when amultihomed Mac client is configured to use an ethernet portconnected to a private network.

Johnny Willemsen jwillemsen at remedy.nl
Fri Oct 12 08:34:08 CDT 2007


Hi,
 
Thanks for using the PRF form. Maybe the order in which the interfaces are
returned can be different. Try to run things with ORBDebugLevel 10 and see
what you get for output.
 
Regards,
 
Johnny Willemsen
Remedy IT
Postbus 101
2650 AC  Berkel en Rodenrijs
The Netherlands
www.theaceorb.nl / www.remedy.nl 

*** Integrated compile and test statistics see
http://scoreboard.theaceorb.nl <http://scoreboard.theaceorb.nl/>  ***
*** Commercial service and support for ACE/TAO/CIAO             ***
*** See http://www.theaceorb.nl/en/support.html                 *** 


________________________________

	From: ace-users-bounces at cse.wustl.edu
[mailto:ace-users-bounces at cse.wustl.edu] On Behalf Of Alex Sheh
	Sent: Tuesday, October 09, 2007 12:15 AM
	To: ace-users at cs.wustl.edu
	Subject: [ace-users] Subject: Trading services doesn't work properly
when amultihomed Mac client is configured to use an ethernet portconnected
to a private network.
	
	
	    ACE VERSION: 5.5
	 
	    HOST MACHINE and OPERATING SYSTEM:
	 Intel, MacOSX 10.4.10
	 
	    TARGET MACHINE and OPERATING SYSTEM, if different from HOST:
	    COMPILER NAME AND VERSION (AND PATCHLEVEL):
	 Windows XP
	 
	    THE $ACE_ROOT/ace/config.h FILE
	 config-macosx-tiger.h
	 
	    THE $ACE_ROOT/include/makeinclude/platform_macros.GNU FILE
	  platform_macosx_tiger.GNU
	 
	    CONTENTS OF
$ACE_ROOT/bin/MakeProjectCreator/config/default.features
	    (used by MPC when you generate your own makefiles):
	 
	    AREA/CLASS/EXAMPLE AFFECTED:
	 Trading services, multihomed Mac client on a private network
	 
	    DOES THE PROBLEM AFFECT:
	        COMPILATION no
	        LINKING? no
	            On Unix systems, did you run make realclean first?
	        EXECUTION? yes
	        OTHER (please specify)?
	 
	    SYNOPSIS:
	         Trading services doesn't work properly when a multihomed
Mac client is configured to use an ethernet port connected to a private
network.  The client ORB is configured using -ORBPreferredInterfaces to use
an ethernet port that is connected to a private network, and the other
ethernet port is connected to a public network.  The target host exists on
the private network and queries the trading service, but it is not able to
see the multihomed client.  This works fine with a multihomed PC client.
	 
	    DESCRIPTION:
	         I have code that is using a trading service between
computers, so that a group of workstation computers can notify a central
computer that they exist.  I would like to configure the system so that the
client workstations and the central computer communicate via trading
services on a private network.  Additionally, the client workstations are
multihomed, with an ethernet port connected to the private network and
another ethernet port connected to the public network for internet access.
	 
	         With a PC client, the above system configuration works
fine.  The target host is able to "see" the multihomed PC client on the
private network via a trading service query.  The PC's client ORB is
configured with the following ORB_init interface argument, specifying that
the private nework ethernet port should be used for trading services (didn't
even need to pass any preferred interface arguments),
	         -ORBEndpoint iiop:://192.168.0.7
	 
	         With a Mac client, however, the above system configuration
does not work.  When the target host queries the trading service, it is not
able to see the multihomed Mac client on the private network.  However, if I
unplug the public network ethernet cable from the multihomed Mac client (I
suppose, effectively disabling that interface on the Mac), then the target
host is suddenly able to "see" the multihomed Mac client on the private
network via a trading service query.  The Mac's client ORB is configured
with the following ORB_init interface arguments (I even added the preferred
interface arguments but things still don't work)
	         -ORBEndpoint iiop:://192.168.0.2 -ORBPreferredInterfaces
192.168.0.2 -ORBEnforcePreferredInterfaces yes
	 
	         Could someone explain to me why the above system
configuration, with multihomed Mac clients using trading services on a
private network, does not work?  Why does the PC work okay and not the Mac?
Is there something additional that I should be doing to get the Mac client
working?
	 
	          Thanks for you help,
	          Alex
	 
	    REPEAT BY:
	 Run my code.
	 
	    SAMPLE FIX/WORKAROUND:
	 None.




More information about the Ace-users mailing list