Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Tunable Parameters Reference Manual Oracle Solaris 10 8/11 Information Library |
1. Overview of Oracle Solaris System Tuning
2. Oracle Solaris Kernel Tunable Parameters
4. Internet Protocol Suite Tunable Parameters
Where to Find Tunable Parameter Information
Overview of Tuning IP Suite Parameters
Internet Request for Comments (RFCs)
ip_icmp_err_interval and ip_icmp_err_burst
ip_respond_to_echo_broadcast and ip6_respond_to_echo_multicast
ip_send_redirects and ip6_send_redirects
ip_forward_src_routed and ip6_forward_src_routed
ip_strict_dst_multihoming and ip6_strict_dst_multihoming
IP Tunable Parameters With Additional Cautions
ip_icmp_return_data_bytes and ip6_icmp_return_data_bytes
TCP/IP Parameters Set in the /etc/system File
TCP Parameters With Additional Cautions
UDP Parameter With Additional Caution
5. Network Cache and Accelerator Tunable Parameters
A. Tunable Parameters Change History
You can use per-route metrics to associate some properties with IPv4 and IPv6 routing table entries.
For example, a system has two different network interfaces, a fast Ethernet interface and a gigabit Ethernet interface. The system default tcp_recv_hiwat is 49,152 bytes. This default is sufficient for the fast Ethernet interface, but may not be sufficient for the gigabit Ethernet interface.
Instead of increasing the system's default for tcp_recv_hiwat, you can associate a different default TCP receive window size to the gigabit Ethernet interface routing entry. By making this association, all TCP connections going through the route will have the increased receive window size.
For example, the following is in the routing table (netstat -rn), assuming IPv4:
192.123.123.0 192.123.123.4 U 1 4 hme0 192.123.124.0 192.123.124.4 U 1 4 ge0 default 192.123.123.1 UG 1 8
In this example, do the following:
# route change -net 192.123.124.0 -recvpipe x
Then, all connections going to the 192.123.124.0 network, which is on the ge0 link, use the receive buffer size x, instead of the default 49,152 receive window size.
If the destination is in the a.b.c.d network, and no specific routing entry exists for that network, you can add a prefix route to that network and change the metric. For example:
# route add -net a.b.c.d 192.123.123.1 -netmask w.x.y.z # route change -net a.b.c.d -recvpipe y
Note that the prefix route's gateway is the default router. Then, all connections going to that network use the receive buffer size y. If you have more than one interface, use the -ifp argument to specify which interface to use. This way, you can control which interface to use for specific destinations. To verify the metric, use the route(1M) get command.