[omniORB] 2 network interfaces

Duncan Grisby dgrisby@uk.research.att.com
Mon, 13 Sep 1999 16:42:10 +0100


On Monday 13 September, Carsten Lojewski wrote:

> i am working with omniorb 2.7.1 on a linux-system with 2 network
> interfaces (internal/external). when i am starting omninNames it is
> listen on the first (the internal) network interface so no requests
> from outside of the system can contact omniNames. is there a solution
> so that i can configure omniNames to take the second interface to work
> with omniNames ? i cannot change the order of the network-cards ! ( i
> remember there was something like that on the mailing list)

Set the environment variable OMNIORB_USEHOSTNAME to the host name or
dotted decimal IP address you want to use. Be careful, though, because
this doesn't make any checks that the name you give is a valid one for
the machine.

Cheers,

Duncan.

-- 
 -- Duncan Grisby  \  Research Engineer  --
  -- AT&T Laboratories Cambridge          --
   -- http://www.uk.research.att.com/~dpg1 --