cancel
Showing results for 
Search instead for 
Did you mean: 

gw/local_addr for client ICM http access

hinrich_benitt
Explorer
0 Kudos

Hello,

I am looking for a parameter that is telling the ICM to use a specified IP address for outgoing IP traffic. In a way like gw/local_addr works for RFC connections for the gateway. But in this case it is used for the ICM working as a client http component. Any ideas ?

Kind regards, Hinrich

Accepted Solutions (1)

Accepted Solutions (1)

hinrich_benitt
Explorer
0 Kudos

Hello again,

after opening a call there was a development done in the ICM and a new parameter showed up with kernel version >= 7.21: icm/local_addr does the job.

Please see "Note 1762956 - Binding outbound connections to a network interface" for further information.

Kind regards, Hinrich

Answers (1)

Answers (1)

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Hinrich,

Have you tried to configure the ICM HTTP port to bind to a specific address?

You can do this with the option "HOST=..." from the "icm/server_port_X" parameter. But note this will affect incoming connections as well.

Regards,

Isaías

hinrich_benitt
Explorer
0 Kudos

Hello Isaías,

will this bind the outgoing connections to a specific IP address ? From my understanding a definition of services (http, https, smtp) is done with this parameter and I can force the service to receive only on one interface ("HOST=" parameter). But no outgoing IP is declared as I can have i.e. more than one http service running on a SAP system:

icm/server_port_0 = PROT=HTTP,PORT=50000,TIMEOUT=30,HOST=host1.domain

icm/server_port_1 = PROT=HTTP,PORT=50100,TIMEOUT=30,HOST=host2.domain

Kind regards, Hinrich

isaias_freitas
Advisor
Advisor
0 Kudos

Hello Hinrich,

I'm not sure whether it will work.

The ICM will use the same service for outgoing connections. So, I suppose that if you bind it to a specific IP address, outgoing connections would also be made from that IP.

And yes, you can have more than one service with the same protocol. I'm not sure how would the ICM behave in this case, but I would guess it would use the first service available with the protocol it needs for the outgoing connection.

Best regards,

Isaías