Show TOC

Function documentationNetwork Parameters Locate this document in the navigation structure

 

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

Normally you don't have to change the default settings at all.

Features

gw/netstat

Command to determine your own host addresses. This parameter has no effect for Windows, since with the IP addresses there are determined with gethostbyaddr().

Default Setting

HP

/usr/bin/netstat -in

AIX

/bin/netstat -in

SUN

/usr/bin/netstat -in

Otherwise

empty string

Unit

Special string

Dynamic

No

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 Setting

1

Unit

Truth value

Dynamic

No

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 Setting

No alternative host names

Unit

Special string

Dynamic

No

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 Setting

0 (off)

Unit

Truth value

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 Setting

0

Unit

Truth value

Dynamic

Yes

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 Setting

Used by NI interface

Unit

Whole number (between 100 and 10000)

Dynamic

Yes

gw/nifragtest

Tests fragmentation on the network layer.

Caution Caution

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

End of the caution.

The following values are permitted:

0 : Normal operation of gateway

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

Default Setting

0

Unit

Integer

Dynamic

Yes