Entering content frame

Function documentation Network Parameters Locate the document in its SAP Library structure

Use

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 is without effect for Windows, since with NI your own IP addresses are determined with gethostbyaddr().

Default value

HP

/usr/bin/netstat -in

AIX

/bin/netstat -in

SUN

/usr/bin/netstat -in

other

empty 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 value

1

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 value

No alternative host names

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. For existing connections use the gateway monitor to activate and deactivate KEEPALIVE (Via the SAP System or at Operating System Level).

Value Range

0 / 1

Default value

0 (deactivated)

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

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 (see Expert Functions).

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

Default value

Used by NI interface

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

Dynamic

Yes

 

 

Leaving content frame