|
This section discusses network kernel parameters, including those for the following:
Net CoreSysctl Prefix: net.core /proc Prefix: /proc/sys/net/core
The message_cost and message_burst parameters are used to limit the warning messages written to the kernel log. The default setting limits warning messages to one every 5 seconds. The higher the error_cost is, the fewer messages are written. The error_bust parameter controls when messages are dropped. ICMPSysctl Prefix: net.ipv4 /proc Prefix: /proc/sys/net/ipv4
The icmp_ratemask parameter contains ICMP types for which rates are limited. The icmp_ratelimit parameter limits the maximum rates for sending ICMP packets whose type matches the icmp_ratemask parameter to specific targets. A value of 0 disables any limit. The value is in jiffies. If icmp_ignore_bogus_error_responses is enabled, the kernel does not issue any log warnings when routers send bogus responses to broadcast frames. If the icmp_echo_ignore_all parameter is enabled, the kernel ignores all the ICMP echo requests sent to it. If icmp_echo_ignore_broadcasts is enabled, the kernel ignores all the ICMP echo requests sent to broadcast/multicast addresses. The igmp_max_membership parameter is the maximum number of multicast groups we can subscribe to. NEIGHBORSysctl Prefix: net.ipv4.neigh.interface /proc Prefix: /proc/sys/net/neigh/interface/
CONFIGSysctl Prefix: net.ipv4.conf.interface /proc Prefix: /proc/sys/net/conf/interface/
The secure_redirects parameter accepts ICMP redirect messages only for a gateway listed in the default gateway list. The send_redirects parameter determines whether such redirects are sent. Turning on the accept_source_route parameter gives a packet a list of IP addresses it should go through on its way. The bootp_relay parameter accepts packets with source addresses of 0.x.y.z with destinations not to this host as local ones. The BOOTP daemon is expected to catch and forward such packets. The mc_forwarding parameter enables or disables multicast forwarding on this interface. The shared_media parameter allows the kernel to assume that different subnets on this device can communicate directly. RoutingSysctl Prefix: net.ipv4.route /proc Prefix: /proc/sys/net/route/
The error_cost and error_bust parameters limit the warning messages written to the kernel log. The default setting limits warning messages to one every 5 seconds. The higher error_cost is, the fewer messages are written. The error_bust parameter controls when messages are dropped. TCPSysctl Prefix: net.ipv4 /proc Prefix: /proc/sys/net/ipv4/
The tcp_wmem parameter has three fields. The first field, min, specifies the amount of memory reserved for send buffers for a TCP socket. The second field is the default amount of memory allowed for send buffers for a TCP socket. The last field, max, is the maximum amount of memory allowed for automatically selected send buffers for a TCP socket. The tcp_rmem parameter has three fields. The first field, min, is the minimum size of receive buffer used by TCP sockets. The second is the default amount of memory allowed for receive buffers used by TCP sockets. The last field, max, is the maximum size of the receive buffer allowed for automatically selected receive buffers for TCP sockets. The tcp_mem parameter has three fields. The first field, low, specifies the low limit on the number of pages below which TCP is not bothered about its usage of memory pages. The second field is high; when the amount of memory allocated by TCP exceeds this, TCP takes corrective actions until memory consumption falls below the low value. The last field, max, is the maximum number of pages allowed for queuing by all TCP sockets.
The tcp_keepalive_probes parameter is the number of times the probes are sent before killing the nonresponding connections. The tcp_syn_retries parameter is the number of times initial SYNs for a TCP connection are transmitted. This timeout is for outgoing connections. For incoming connections, the number of retransmits is defined by the tcp_retries1 parameter. IP FragmentationSysctl Prefix: net.ipv4 /proc Prefix: /proc/sys/net/ipv4
|
|