Author |
Message
|
ktg |
Posted: Mon Feb 27, 2006 10:17 pm Post subject: Info needed regarding Sender channels |
|
|
Centurion
Joined: 09 Jan 2006 Posts: 138 Location: India
|
when the parameter LOCLADDR will be used w.r.t. sender channels?
thanks |
|
Back to top |
|
 |
Mr Butcher |
Posted: Mon Feb 27, 2006 11:16 pm Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
e.g. if you require a specific ip address to pass a firewall.. _________________ Regards, Butcher |
|
Back to top |
|
 |
ktg |
Posted: Tue Feb 28, 2006 12:40 am Post subject: |
|
|
Centurion
Joined: 09 Jan 2006 Posts: 138 Location: India
|
Thanks for reply.... could you please, elaborate more...
I thought only MQ will use those information and MQ comes in to picture after passing through firewall and all...
rgds, |
|
Back to top |
|
 |
Mr Butcher |
Posted: Tue Feb 28, 2006 2:34 am Post subject: |
|
|
 Padawan
Joined: 23 May 2005 Posts: 1716
|
i am no networking guru.... to explain it in my words: mq uses the specified address as "outbound" address, this means outgoing packets will carry the address specified in locaddr.
you should read the intercommunication guide. _________________ Regards, Butcher |
|
Back to top |
|
 |
wschutz |
Posted: Tue Feb 28, 2006 3:00 am Post subject: |
|
|
 Jedi Knight
Joined: 02 Jun 2005 Posts: 3316 Location: IBM (retired)
|
In v6, its also used to help select between IPv4 and IPv6 stacks...
also, you can use locladdr to limit which outbound ports are used:
LOCLADDR([ip-addr][(low-port[,high-port])])
(some firewalls only allow traffic to orginate from certain ports ...)
the common usage is to select a certain network card (nic) on your machine, if you have multiple cards,they will have different IP address and locladdr, in conjunction with your routing rules, determines which NIC to use. _________________ -wayne |
|
Back to top |
|
 |
HubertKleinmanns |
Posted: Tue Feb 28, 2006 11:47 am Post subject: |
|
|
 Shaman
Joined: 24 Feb 2004 Posts: 732 Location: Germany
|
On Unix (and other) systems you may have several network adapters with different IP addresses. Generally the IP stack (not MQ) selects one of these adapters, to send IP packets over the network. The IP address of this adapter will become part of the IP header and may be filtered by firewall rules. Which adapter is used for a specific target IP address is defined by a routing table.
The LOCLADDR attribute of sender channels advises the operating system, to choose a specific network adapter for outbound addresses - independent of the IP routing table of the operating system. _________________ Regards
Hubert |
|
Back to top |
|
 |
mvic |
Posted: Tue Feb 28, 2006 12:57 pm Post subject: |
|
|
 Jedi
Joined: 09 Mar 2004 Posts: 2080
|
Great description, Hubert. Just one thing to add: LOCLADDR allows you to select a range of local IP ports too. This can be useful if there are special requirements (eg. because of a firewall policy) on which outbound IP ports MQ should use. |
|
Back to top |
|
 |
ktg |
Posted: Tue Feb 28, 2006 8:36 pm Post subject: |
|
|
Centurion
Joined: 09 Jan 2006 Posts: 138 Location: India
|
Thanks a lot for all the replies...
Regards
 |
|
Back to top |
|
 |
|