| United States-English |
|
|
|
![]() |
Installing and Administering LAN/9000 SoftwareNew for the HP-UX 11i Release |
|
The 11i HP-UX release has the following transport (IP, TCP, and UDP) changes:
Many of the above changes are controlled by new ndd parameters that are not documented in the online help text for ndd shipped with 11i. A summary of the new ndd parameters and parameter changes is provided at the end of this article and this information will be included in a later version of ndd. *By default, many of the TCP performance enhancements will be used only if the remote system initiates the use of them. Refer to the subsections below for information on how to configure the system to initiate the use of these enhancements. **A scaling factor of 1 (same as no scaling) is used unless the application has a receive buffer greater than 2**16. Refer to the "Scaled Windows" section below for more information. IP Subnet Mask The ifconfig subnet mask default now allows all 1s or all 0s in the masked part of the subnet field. This provides up to twice as many IP addresses as before. The subnet field (the portion of an IP address that identifies the subnet beyond the network portion of the address) can now be all 0's or all 1's, as described in RFC 1878. For example, a class A IP address used with the mask 255.192.0.0 (0xffc000000) has a two-bit subnet field:
ifconfig can now assign the following IP address and subnet mask to an interface, although the subnet field (subnet portion of the address) is all ones:
In binary:
ifconfig can now also assign the following IP address and subnet mask to an interface, although the subnet field is all zeroes:
In binary:
To disallow subnet fields with all ones or all zeroes (revert to RFC 1122 behavior), set the ndd parameter ip_check_subnet_addr to 1 in the nddconf file (/etc/rc.config.d/nddconf). IP PMTU Discovery The value 2 for the ndd parameter ip_pmtu_strategy is no longer supported. This was previously the default value for this parameter. The new default value for ip_pmtu_strategy is 1, which causes the system to use the HP-UX 10.20 IP PMTU behavior. If the nddconf file has the value 2 for this parameter, the new default value (1) will be used. A description of the IP PMTU strategy is provided in the ndd online help facility. Virtual IP (VIP) Addresses Systems can have Virtual IP (VIP) addresses--addresses that are not permanently assigned to a single, specific physical interface. The system will accept to a packet addressed to its VIP (or VIPs) regardless of the physical interface on which it was received. This allows a system to have a "system IP" address that is available as long as one interface stays usable. To configure VIPs, associate the VIP address with a secondary loopback interface (lo0:n, where n is 1 or greater, such as lo0:1). The VIP address does not have to be in the same subnet (or network) of the addresses used for the physical interfaces. In the example below, the system has two LAN interfaces. One is attached to the 15.n.n.n network and has the address 15.1.1.1. The second LAN is attached to the 16.n.n.n network and has the address 16.1.1.1. The VIP address is 17.1.1.1. Note that the infrastructure of the network (routers, switches) must allow IP packets with the address 17.1.1.1 to be properly routed to this system's interfaces on the 15.n.n.n and 16.n.n.n networks for this configuration to be useful. /etc/rc.config.d/netconf file statements for the above VIP:
ifconfig command for the above VIP:
Note that you cannot assign VIPs to the primary loopback interface, lo0:0, or lo0. TCP Performance Enhancements
TCP FIN WAIT 2 Timer The ndd TCP parameter tcp_fin_wait_2 determines how long a TCP connection will be in FIN_WAIT_2. Normally one end of a connection initiates the close of its end of the connection (indicates that it has no more data to send) by sending a FIN. When the remote TCP acknowledges the FIN, TCP goes to the FIN_WAIT_2 state and will remain in that state until the remote TCP sends a FIN. If the FIN_WAIT_2 timer is used, TCP will close the connection when it has remained in the FIN_WAIT_2 state for the length of the timer value. The FIN_WAIT_2 timer must be used with caution because when TCP is in the FIN_WAIT_2 state the remote is still allowed to send data. In addition, if the remote TCP would terminate normally (it is not hung nor terminating abnormally) and the connection is closed because of the FIN_WAIT_2 timer, the connection may be closed prematurely. Data may be lost if the remote sends a window update or FIN after the local TCP has closed the connection. In this situation, the local TCP will send a RESET. According to the TCP protocol specification, the remote TCP should flush its receive queue when it receives the RESET. This may cause data to be lost. Default: 0 (indefinite) Range: 0 - 2147483647 Units: Milliseconds System-wide Limits for TCP and UDP Buffer Sizes System administrators can now set system-wide limits on TCP send and receive buffers and UDP receive buffers. This can prevent situations where processes consume excessive amounts of memory by requesting large send or receive buffers filling these buffers by not reading data from the socket or by sending large amounts of data. This feature was added to 11.00 to solve a system hang problem. The ndd parameters for setting buffer size limits are:
The default and maximum values for these parameters is 2147483647 bytes. tcp_xmit_hiwater_max limits the send buffer size for TCP sockets or communication endpoints specified in a SO_SNDBUF option of a setsockopt() call or XTI_SNDBUF option in a t_optmgmt() call. tcp_recv_hiwater_max and udp_recv_hiwater_max limit the receive buffer size for TCP and UDP sockets or communication endpoints specified in a SO_RCVBUF option of a setsockopt() call or XTI_RCVBUF option in a t_optmgmt() call. A setsockopt() call with a SO_SNDBUF or SO_RCVBUF option that exceeds the corresponding kernel parameter value will fail and return the errno value EINVAL. A t_optmgmt() call with an XTI_SNDBUF or XIT_RCVBUF option that exceeds the corresponding kernel parameter value will fail and return the t_errno value TBADOPT. OLAR - Online Addition and Replacement This manual does not contain the procedures for adding and replacing PCI cards using OLA/R. OLA/R stands for On Line Addition and Replacement. This refers to the ability of a PCI I/O card to be replaced (removed and/or added) to an HP-UX computer system designed to support this feature without the need for completely shutting down, then rebooting the system or affecting other system components. If you want to utilize the OLAR feature that your system provides, refer to the appropriate chapter in the Configuring HP-UX for Peripherals for HP 9000 Computers, Part Number B2355-90698, for information. |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
|||||||||||||||