]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/blob - share/doc/smm/02.config/e.t
Merge llvm, clang, compiler-rt, libc++, libunwind, lld, lldb and openmp
[FreeBSD/FreeBSD.git] / share / doc / smm / 02.config / e.t
1 .\" Copyright (c) 1983, 1993
2 .\"     The Regents of the University of California.  All rights reserved.
3 .\"
4 .\" Redistribution and use in source and binary forms, with or without
5 .\" modification, are permitted provided that the following conditions
6 .\" are met:
7 .\" 1. Redistributions of source code must retain the above copyright
8 .\"    notice, this list of conditions and the following disclaimer.
9 .\" 2. Redistributions in binary form must reproduce the above copyright
10 .\"    notice, this list of conditions and the following disclaimer in the
11 .\"    documentation and/or other materials provided with the distribution.
12 .\" 3. Neither the name of the University nor the names of its contributors
13 .\"    may be used to endorse or promote products derived from this software
14 .\"    without specific prior written permission.
15 .\"
16 .\" THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17 .\" ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18 .\" IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19 .\" ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20 .\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21 .\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22 .\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23 .\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24 .\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25 .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26 .\" SUCH DAMAGE.
27 .\"
28 .\"     @(#)e.t 8.1 (Berkeley) 6/8/93
29 .\"
30 .\".ds RH "Network configuration options
31 .bp
32 .LG
33 .B
34 .ce
35 APPENDIX E. NETWORK CONFIGURATION OPTIONS
36 .sp
37 .R
38 .NL
39 .PP
40 The network support in the kernel is self-configuring
41 according to the protocol support options (INET and NS) and the network
42 hardware discovered during autoconfiguration.
43 There are several changes that may be made to customize network behavior
44 due to local restrictions.
45 Within the Internet protocol routines, the following options
46 set in the system configuration file are supported:
47 .IP \fBGATEWAY\fP
48 .br
49 The machine is to be used as a gateway.
50 This option currently makes only minor changes.
51 First, the size of the network routing hash table is increased.
52 Secondly, machines that have only a single hardware network interface
53 will not forward IP packets; without this option, they will also refrain
54 from sending any error indication to the source of unforwardable packets.
55 Gateways with only a single interface are assumed to have missing
56 or broken interfaces, and will return ICMP unreachable errors to hosts
57 sending them packets to be forwarded.
58 .IP \fBTCP_COMPAT_42\fP
59 .br
60 This option forces the system to limit its initial TCP sequence numbers
61 to positive numbers.
62 Without this option, 4.4BSD systems may have problems with TCP connections
63 to 4.2BSD systems that connect but never transfer data.
64 The problem is a bug in the 4.2BSD TCP.
65 .IP \fBIPFORWARDING\fP
66 .br
67 Normally, 4.4BSD machines with multiple network interfaces
68 will forward IP packets received that should be resent to another host.
69 If the line ``options IPFORWARDING="0"'' is in the system configuration
70 file, IP packet forwarding will be disabled.
71 .IP \fBIPSENDREDIRECTS\fP
72 .br
73 When forwarding IP packets, 4.4BSD IP will note when a packet is forwarded
74 using the same interface on which it arrived.
75 When this is noted, if the source machine is on the directly-attached
76 network, an ICMP redirect is sent to the source host.
77 If the packet was forwarded using a route to a host or to a subnet,
78 a host redirect is sent, otherwise a network redirect is sent.
79 The generation of redirects may be inhibited with the configuration
80 option ``options IPSENDREDIRECTS="0".''
81 .br
82 .IP \fBSUBNETSARELOCAL\fP
83 TCP calculates a maximum segment size to use for each connection,
84 and sends no datagrams larger than that size.
85 This size will be no larger than that supported on the outgoing
86 interface.
87 Furthermore, if the destination is not on the local network,
88 the size will be no larger than 576 bytes.
89 For this test, other subnets of a directly-connected subnetted
90 network are considered to be local unless the line
91 ``options SUBNETSARELOCAL="0"'' is used in the system configuration file.
92 .LP
93 The following options are supported by the Xerox NS protocols:
94 .IP \fBNSIP\fP
95 .br
96 This option allows NS IDP datagrams to be encapsulated in Internet IP
97 packets for transmission to a collaborating NSIP host.
98 This may be used to pass IDP packets through IP-only link layer networks.
99 See
100 .IR nsip (4P)
101 for details.
102 .IP \fBTHREEWAYSHAKE\fP
103 .br
104 The NS Sequenced Packet Protocol does not require a three-way handshake
105 before considering a connection to be in the established state.
106 (A three-way handshake consists of a connection request, an acknowledgement
107 of the request along with a symmetrical opening indication,
108 and then an acknowledgement of the reciprocal opening packet.)
109 This option forces a three-way handshake before data may be transmitted
110 on Sequenced Packet sockets.