Networking Forums

Networking Forums > Computer Networking > Windows Networking > Having DCOM using a specific network route when multiple are avail

Reply
Thread Tools Display Modes

Having DCOM using a specific network route when multiple are avail

 
 
Phil
Guest
Posts: n/a

 
      02-14-2006, 03:48 PM
Hi,

We are running WS 2003 on several servers, some are clusters. For security
and redundancy reasons, we have 4 networks (and 4 NICs) per server. Each
network is for a spcific purpose: One is used for administration, one for
backups, one for DCOM between servers, one for DCOM between servers and a DMZ
server.

Question: Is there a way to configure DCOM in a way that all DCOM traffic
goes only over a specific network. Currently, we are under the impression
that DCOM establish a connection using our 4 networks and choose one randomly
to do the job.

Thanks in advance for your help.
Phil.
 
Reply With Quote
 
 
 
 
Junior Member
Join Date: Nov 2008
Posts: 1

 
      11-23-2008, 04:43 PM
(I use this old thread because this was closest to the problem that I was troubleshooting)

This appears to be a hard task. Googling for "[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Servic es\Rpc\Linkage]" might be useful.

However, I have not tried it. I had a different but related problem.

I have a DCOM client (OPC client) in a computer that has two NICs and two network addresses in different subnets (say, network1=10.10.1.0 and network2=10.10.2.0 with subnet mask 255.255.255.0). The OPC client connects to OPC server that has only one network connection, the network2. Also callbacks are used (as is usual in OPC communication). Now the callback connection for some reason uses the IP-address in network1. I would like it to use the IP-address in network2 to avoid extra routing of the packets.

I solved the problem by temporarily disabling Network1 in the OPC client computer. Now the callback connection used Network2 as was desired. After enabling Network1 again, I restarted the OPC client and (surprisingly?) the callback connection still used the correct route.


I believe that the reason was that Network2 was added to the OPC client computer afterwards and DCOM remembered that Network1 was the correct route for the callback connections. But I can only guess because I haven’t found any documentation how the DCOM callback selection works. While troubleshooting the problem, I disabled the unwanted route from the OPC server computer to the OPC client computer by adding a route definition (with command route add) that prevented connection by using the incorrect network. However, after this, the callback connection was not created at all. The Advise call returned error 0x80040202/No server specific error codes defined. EventLog did not contain any entries in either computers.

Because I have no control which network is used in the callbacks, I am afraid that after some reboots etc the communication can again switch to use the incorrect network.

Jari
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to route through specific ip in Multiple IP on one NIC scenari Valdas Adomaitis Windows Networking 2 01-06-2010 09:13 PM
Route traffic through specific interface on multi-homed server. jwilliams3034 Windows Networking 1 08-17-2007 06:44 PM
rtnetlink: network unreachable for Routing for multiple uplinks using ip route add joerg sauer Linux Networking 6 04-19-2005 11:13 AM
Adding a persistant route with a specific interface =?Utf-8?B?TVBpcnJvbmUx?= Windows Networking 3 04-07-2005 11:08 AM
using iptables to route thru specific interface? Tobias Skytte Linux Networking 1 12-22-2003 05:40 PM



1 2 3 4 5 6 7 8 9 10 11