Subject : NDD¸¦ ÀÌ¿ëÇؼ Solaris 2.4¿¡¼ÀÇ TuningÇÒ¼ö ÀÖ´Â º¯¼öµé Description : . ´ëºÎºÐÀÇ TCP, IP, UDP¿Í ARP tuningÀº ndd ¸í·ÉÀ» ÀÌ¿ëÇÑ´Ù. ÇØ´ç Driverµé¿¡ ´ëÇÑ ÀûÀýÇÑ º¯¼öÀÇ ¿¶÷À» º¸·Á¸é ´ÙÀ½¿¹¿Í °°´Ù. % ndd /dev/arp \? % ndd /dev/ip \? % ndd /dev/tcp \? % ndd /dev/udp \? . ½ÇÁ¦ º¯¼ö¸¦ SettingÇϱâ À§Çؼ± ´ÙÀ½¿¹¿Í °°´Ù. % ndd -set /dev/ip ip_forwarding 0 . ¸¸¾à ´ç½ÅÀÌ ¸Å¹ø Booting½Ã SettingÇϱ⸦ ¿øÇÑ´Ù¸é % cat /etc/rc2.d/S69inet ... # # Set configurable parameters. # ndd -set /dev/tcp tcp_old_urp_interpretation 1 . ¸¹Àº º¯¼öµéÀº ´ÙÀ½ 2°³ÀÇ OptionÀ» °®À½ : 1 (True) and 0 (False). # ndd device variable I.e.: # ndd /dev/ip ip_debug 0 . ´ÙÀ½Àº º¯¼öµéÀÇ ¸ñ·Ï°ú ¼³¸íÀ» ±â¼úÇÏ¿´´Ù. IP Variables ------------ ip_def_ttl Determines the default Time To Live value for standard IP packets. The default value is 255. ip_forwarding Determines if the workstation will route packets. This variable can be one of three selections: 0 Never forward 1 Always forward 2 Only forward when two or more interfaces are up The default value is 2. ip_send_redirects Determines whether the host should send ICMP redirects when it routes packets. The default value is 1 (True). TCP Variables ------------- tcp_close_wait_interval Despite the misleading name, this variable actually sets the time wait interval (the 2MSL value). The default value is 240000 ms (4 minutes). tcp_ip_ttl Determines the default Time To Live for TCP/IP packets. The default value is 255. tcp_keepalive_interval Determines how frequently to test if an idle connection is still alive. The default value is 7200000 ms (2 hours). tcp_mss_def Determines the Maximum Segment Size for nonlocal packets (i.e., packets to be sent to different networks or subnets). The default value is 536 bytes. tcp_recv_hiwat Determines the maximum value of the TCP receive window. The default value is 8192 (8k). tcp_smallest_anon_port Determines the smallest TCP port number that may be used for an anonymous connection. The default value is 32768. tcp_xmit_hiwat Determines the maximum value of the TCP transmit window. The default value is 8192 (8k). tcp_xmit_lowat Determines the minimum value of the TCP transmit window. The default value is 2048 (2k). UDP Variables ------------- udp_def_ttl Determines the default Time To Live for UDP packets. The default value is 255. udp_do_checksum Determines whether checksums should be done for UDP packets. The default value is 1 (True). udp_recv_hiwat Determines the maximum value of the UDP receive window. The default value is 8192 (8k). udp_smallest_anon_port Determines the smallest UDP port number that may be used for an anonymous connection. The default value is 32768. udp_xmit_hiwat Determines the maximum value of the UDP transmit window. The default value is 8192 (8k). udp_xmit_lowat Determines the minimum value of the UDP transmit window. The default value is 1024 (1k). Revision History ÀÛ¼ºÀÏÀÚ : 96.08.01 ÀÛ¼ºÀÚ : À̹ÎÈ£ ¼öÁ¤ÀÏÀÚ : ¼öÁ¤ÀÚ :