|
RSS Feed - WebSphere MQ Support
|
RSS Feed - Message Broker Support
|
 |
|
communicating with NAT |
« View previous topic :: View next topic » |
Author |
Message
|
anuprz1 |
Posted: Thu Sep 23, 2004 1:54 am Post subject: communicating with NAT |
|
|
 Newbie
Joined: 23 Sep 2004 Posts: 7 Location: Poland
|
Hi
The situation description :
machine A : sender channels
machine B : receiver channels
MQ works on machine B using address 10.xxxxxx, but from machine A is only routable as 192.168xxxx.
We have NAT on our router. When I add an alias to network interface, there are errors : IP address is duplicated (router broadcasts as this IP).
So, how to configure this env ?
I thought about LOCLADDR on machine A (SDR channels)
This is Websphere MQ 5.3 on AIX (both)
tia |
|
Back to top |
|
 |
offshore |
Posted: Thu Sep 23, 2004 2:33 am Post subject: |
|
|
 Master
Joined: 20 Jun 2002 Posts: 222
|
My experience with NAT is very little, but I have used it with MQ to MQ communication. I can't speak in great detail about the router configuration (because network support does the setup), but here is my understanding.
This is assuming MACHINE A has MQ on it....
MACHINE B : IP = 10.10.10.25(1414)
MACHINE A : IP = 192.168.10.30(1414)
ROUTER NAT : IP = 172.20.118.30
MACHINE B would send to 172.20.118.30, once the router picks that address up, it would do its thing and send the packet send to 192.168.10.30 Machine A.
If you're getting IP address is duplicated, is it possible that the IP already in use on another host? |
|
Back to top |
|
 |
anuprz1 |
Posted: Thu Sep 23, 2004 3:26 am Post subject: |
|
|
 Newbie
Joined: 23 Sep 2004 Posts: 7 Location: Poland
|
The problem is on machine B I have :
Code: |
09/23/04 11:01:04
AMQ9213: A communications error for TCP/IP occurred.
EXPLANATION:
An unexpected error occurred in communications.
ACTION:
The return code from the TCP/IP(select) [TIMEOUT] 360 seconds call was 11
(X'B'). Record these values and tell the systems administrator.
----- amqccita.c : 3075 -------------------------------------------------------
09/23/04 11:01:04
AMQ9999: Channel program ended abnormally.
EXPLANATION:
Channel program 'MACHINE_B.S' ended abnormally.
ACTION:
Look at previous error messages for channel program 'MACHINE_B.S' in the
error files to determine the cause of the failure.
|
Its probably because connection was initiated by MQ to other IP addres that I have on machine A (behind router with NAT) |
|
Back to top |
|
 |
fjb_saper |
Posted: Thu Sep 23, 2004 5:09 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
this is really a networking issue.
from machine A do a ping to machine b using the dns name.
same thing from machine B to machine A.
This should really give you the IP to use. But why are'nt you using the dns name in your channel setup ?
conname('targetmachinename(1414)') assuming the default port was used.
Enjoy  |
|
Back to top |
|
 |
|
|
 |
|
Page 1 of 1 |
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|
|
|