Show TOC

Network ParametersLocate this document in the navigation structure

The gateway parameters listed below control the behavior of the gateway within the network.

Normally you do not have to change the default settings at all.

gw/alternative_hostnames

List of alternative host names for local host. The gateway determines the IP addresses of the LAN adapter at start-up to ensure it knows which IP addresses are “local” addresses.

Normally all the names of the host can be ascertained using an operating system command (see gw/netstat). But if this command is not available or is not working, you can define all the host names in this parameter. The command for gw/netstat should then be defined as an empty string.

Problems can arise when a client connects via a firewall, and this firewall converts the IP addresses. The gateway cannot then tell that the connection request should be sent to the local system, and attempts to set up a connection to another system. In such cases, you have to define this parameter, and enter the IP address that the client sends as your own address.

This parameter can also be used when the algorithm that checks the output from the command netstat has an error and does not find an IP address as your own address.

Syntax

host1,host2,host3

Default value

No alternative host names specified

Unit

Special string

Dynamic

No

gw/local_addr

With this parameter you can bind outgoing connections from the Gateway to a specific network interface. Parameter gw/local_addr specifies the host name or IP address of the network interface used for opening the connection to other systems.

Default value

0.0.0.0

Unit

Valid local IP address

Dynamic

Yes

gw/netstat_once

There are high availability solutions in which the IP addresses can move from one host to another. This means that the entries read when the gateway was started up may no longer be valid. In such cases, the current configuration must always be read using the netstat command when making the test for a “local” IP address. To activate this mechanism, set the profile parameter to 0.

Default value

1

Unit

Truth value

Dynamic

No

gw/nibuf_max

Number of entries in the host name buffer. If the parameter value is not set, the default value of the network layer is used (100).

Host names and service names are saved in this buffer so as not to affect performance - it can take a long time otherwise to retrieve the names.

The buffer contents can be displayed in the gateway monitor.

If the number of entries is changed, the current entries are deleted.

Default value

Used by NI interface

Unit

Whole number between 100 and 10000

Dynamic

Yes

gw/nifragtest

Tests fragmentation on the network layer.

Caution

This parameter is used only for error search and should not be changed without agreement from SAP.

The following values are possible:

0 : Normal operation of gateway

>0 : The gateway sends and reads fragmented data from the network.

Default value

0

Unit

Integer

Dynamic

Yes

gw/nitrace

This parameter activates or deactivates the trace for NI connections. It enables you to activate the trace for external programs before the connection is opened.

Default value

0

Unit

Truth value

Dynamic

Yes

gw/resolve_phys_addr

This parameter specifies whether the Gateway will resolve names of IP addresses. If it is not set to resolve names, the IP address is always displayed as the host name. Names are resolved (DNS lookup) by calling the operating system. This call may take some time, and will affect response times. Network calls that may take a long time can be displayed with parameter gw/resolve_timeout.

Default value

1

Permitted values:

0: Unchanged

1 = Perform name resolution

Dynamic

Yes

gw/so_keepalive

Parameter to activate the socket option KEEPALIVE for the network connections. Only new connections are affected when this option is activated or deactivated. You can activate or deactivate this option for existing connections using the gateway monitor.

Default value

0 (off)

Unit

Truth value

Dynamic

Yes