|
|
ifconfig interface [ -p ] [ address_family ] [ address [ remote_address ] ] [ command ... ]
The interface argument is a string catenated from the name of the network driver and its unit number (n). These are some examples:
For the Internet Protocol family, the address is either a host name present in the hosts(4tcp) database, or an Internet address expressed in ``dot notation''. The remote_address need only be specified to identify the address of the correspondent on the other end of a SLIP or PPP link.
This option is only used when TCP is started. It is required for a small number of network adapters to which an interface cannot be linked until TCP/IP is running and available to download microcode to the adapter when the driver is opened.
If TCP large window scaling is enabled (see rfc1323), the maximum possible value of recv_size and send_size is 1073725440 ((2^16-1)2^14) bytes. If TCP large window scaling is disabled (see -rfc1323), the maximum value is 65535 (2^16-1) bytes.
Large window scaling is recommended for long fat networks (LFNs) which have a capacity (defined as the bandwidth of the network in bytes per second times the round-trip delay in seconds) that is greater than 65,535 bytes. The sizes of the TCP receive and send windows (configured using the perf command) should be set equal to the capacity up to a maximum value of 1,073,725,440 ((2^16-1)2^14) bytes.
Timestamps protect against wrapped sequence numbers when the time taken to transmit 2^32 (4,294,967,296) bytes of data on a network is less than the value of the maximum segment lifetime (MSL). Timestamps should be enabled if the product of the bandwidth of the network in bytes per second multiplied by the MSL in seconds has a value greater than 2^32.) The default MSL value is 120 seconds (defined as half the value of the inconfig(1Mtcp) tcp_2msl parameter).
By default, large window scaling and timestamps are enabled on all interfaces provided that the inconfig tcp_do_rfc1323 parameter is set to 1. This behavior should be turned off using the -rfc1323 command for SLIP and PPP interfaces that use header compression.
RFC 1323
Only root may modify the configuration of a network interface.