sysctl参数大全--kernel 2.6.18-92.el5

net.ipv6.neigh.eth0.locktime = 0 net.ipv6.neigh.eth0.proxy_delay = 79 net.ipv6.neigh.eth0.anycast_delay = 99 net.ipv6.neigh.eth0.proxy_qlen = 64 net.ipv6.neigh.eth0.unres_qlen = 3 net.ipv6.neigh.eth0.gc_stale_time = 60

net.ipv6.neigh.eth0.delay_first_probe_time = 5 net.ipv6.neigh.eth0.base_reachable_time = 30 net.ipv6.neigh.eth0.retrans_time = 1000 net.ipv6.neigh.eth0.app_solicit = 0 net.ipv6.neigh.eth0.ucast_solicit = 3 net.ipv6.neigh.eth0.mcast_solicit = 3

net.ipv6.neigh.lo.base_reachable_time_ms = 30000 net.ipv6.neigh.lo.retrans_time_ms = 1000 net.ipv6.neigh.lo.locktime = 0 net.ipv6.neigh.lo.proxy_delay = 79 net.ipv6.neigh.lo.anycast_delay = 99 net.ipv6.neigh.lo.proxy_qlen = 64 net.ipv6.neigh.lo.unres_qlen = 3 net.ipv6.neigh.lo.gc_stale_time = 60

net.ipv6.neigh.lo.delay_first_probe_time = 5 net.ipv6.neigh.lo.base_reachable_time = 30 net.ipv6.neigh.lo.retrans_time = 1000 net.ipv6.neigh.lo.app_solicit = 0 net.ipv6.neigh.lo.ucast_solicit = 3 net.ipv6.neigh.lo.mcast_solicit = 3

net.ipv6.neigh.default.base_reachable_time_ms = 30000 net.ipv6.neigh.default.retrans_time_ms = 1000 net.ipv6.neigh.default.gc_thresh3 = 1024 net.ipv6.neigh.default.gc_thresh2 = 512 net.ipv6.neigh.default.gc_thresh1 = 128 net.ipv6.neigh.default.gc_interval = 30 net.ipv6.neigh.default.locktime = 0 net.ipv6.neigh.default.proxy_delay = 79 net.ipv6.neigh.default.anycast_delay = 99 net.ipv6.neigh.default.proxy_qlen = 64 net.ipv6.neigh.default.unres_qlen = 3 net.ipv6.neigh.default.gc_stale_time = 60

net.ipv6.neigh.default.delay_first_probe_time = 5 net.ipv6.neigh.default.base_reachable_time = 30 net.ipv6.neigh.default.retrans_time = 1000 net.ipv6.neigh.default.app_solicit = 0

5

net.ipv6.neigh.default.ucast_solicit = 3 net.ipv6.neigh.default.mcast_solicit = 3

net.ipv6.optimistic_dad = 0 net.ipv6.mld_max_msf = 64 net.unix.max_dgram_qlen = 10 net.token-ring.rif_timeout = 600000 net.ipv6.bindv6only = 0

net.ipv6.icmp.ratelimit = 1000

net.ipv6.ip6frag_secret_interval = 600 net.ipv6.ip6frag_time = 60

net.ipv6.ip6frag_low_thresh = 196608 net.ipv6.ip6frag_high_thresh = 262144

net.ipv6.route.gc_min_interval_ms = 500 net.ipv6.route.min_adv_mss = 1 net.ipv6.route.mtu_expires = 600 net.ipv6.route.gc_elasticity = 0 net.ipv6.route.gc_interval = 30 net.ipv6.route.gc_timeout = 60 net.ipv6.route.gc_min_interval = 0 net.ipv6.route.max_size = 4096 net.ipv6.route.gc_thresh = 1024

ipv4的相关设置:

net.ipv4.conf.eth1.promote_secondaries = 0 net.ipv4.conf.eth1.force_igmp_version = 0 net.ipv4.conf.eth1.disable_policy = 0 net.ipv4.conf.eth1.disable_xfrm = 0 net.ipv4.conf.eth1.arp_accept = 0 net.ipv4.conf.eth1.arp_ignore = 0 net.ipv4.conf.eth1.arp_announce = 0 net.ipv4.conf.eth1.arp_filter = 0 net.ipv4.conf.eth1.tag = 0

net.ipv4.conf.eth1.log_martians = 0 net.ipv4.conf.eth1.bootp_relay = 0

6

net.ipv4.conf.eth1.medium_id = 0 net.ipv4.conf.eth1.proxy_arp = 0

net.ipv4.conf.eth1.accept_source_route = 0 net.ipv4.conf.eth1.send_redirects = 1 net.ipv4.conf.eth1.rp_filter = 1

net.ipv4.conf.eth1.shared_media = 1 net.ipv4.conf.eth1.secure_redirects = 1 net.ipv4.conf.eth1.accept_redirects = 1 net.ipv4.conf.eth1.mc_forwarding = 0 net.ipv4.conf.eth1.forwarding = 0

net.ipv4.conf.eth0.promote_secondaries = 0 net.ipv4.conf.eth0.force_igmp_version = 0 net.ipv4.conf.eth0.disable_policy = 0 net.ipv4.conf.eth0.disable_xfrm = 0 net.ipv4.conf.eth0.arp_accept = 0 net.ipv4.conf.eth0.arp_ignore = 0 net.ipv4.conf.eth0.arp_announce = 0 net.ipv4.conf.eth0.arp_filter = 0 net.ipv4.conf.eth0.tag = 0

net.ipv4.conf.eth0.log_martians = 0 net.ipv4.conf.eth0.bootp_relay = 0 net.ipv4.conf.eth0.medium_id = 0 net.ipv4.conf.eth0.proxy_arp = 0

net.ipv4.conf.eth0.accept_source_route = 0 net.ipv4.conf.eth0.send_redirects = 1 net.ipv4.conf.eth0.rp_filter = 1

net.ipv4.conf.eth0.shared_media = 1 net.ipv4.conf.eth0.secure_redirects = 1 net.ipv4.conf.eth0.accept_redirects = 1 net.ipv4.conf.eth0.mc_forwarding = 0 net.ipv4.conf.eth0.forwarding = 0

net.ipv4.conf.lo.promote_secondaries = 0 net.ipv4.conf.lo.force_igmp_version = 0 net.ipv4.conf.lo.disable_policy = 1 net.ipv4.conf.lo.disable_xfrm = 1 net.ipv4.conf.lo.arp_accept = 0 net.ipv4.conf.lo.arp_ignore = 0 net.ipv4.conf.lo.arp_announce = 0 net.ipv4.conf.lo.arp_filter = 0 net.ipv4.conf.lo.tag = 0

net.ipv4.conf.lo.log_martians = 0 net.ipv4.conf.lo.bootp_relay = 0 net.ipv4.conf.lo.medium_id = 0 net.ipv4.conf.lo.proxy_arp = 0

7

net.ipv4.conf.lo.accept_source_route = 1 net.ipv4.conf.lo.send_redirects = 1 net.ipv4.conf.lo.rp_filter = 0

net.ipv4.conf.lo.shared_media = 1 net.ipv4.conf.lo.secure_redirects = 1 net.ipv4.conf.lo.accept_redirects = 1 net.ipv4.conf.lo.mc_forwarding = 0 net.ipv4.conf.lo.forwarding = 0

net.ipv4.conf.default.promote_secondaries = 0 net.ipv4.conf.default.force_igmp_version = 0 net.ipv4.conf.default.disable_policy = 0 net.ipv4.conf.default.disable_xfrm = 0 net.ipv4.conf.default.arp_accept = 0 net.ipv4.conf.default.arp_ignore = 0 net.ipv4.conf.default.arp_announce = 0 net.ipv4.conf.default.arp_filter = 0 net.ipv4.conf.default.tag = 0

net.ipv4.conf.default.log_martians = 0 net.ipv4.conf.default.bootp_relay = 0 net.ipv4.conf.default.medium_id = 0 net.ipv4.conf.default.proxy_arp = 0

net.ipv4.conf.default.accept_source_route = 0 net.ipv4.conf.default.send_redirects = 1 net.ipv4.conf.default.rp_filter = 1

net.ipv4.conf.default.shared_media = 1 net.ipv4.conf.default.secure_redirects = 1 net.ipv4.conf.default.accept_redirects = 1 net.ipv4.conf.default.mc_forwarding = 0 net.ipv4.conf.default.forwarding = 0

net.ipv4.conf.all.promote_secondaries = 0 net.ipv4.conf.all.force_igmp_version = 0 net.ipv4.conf.all.disable_policy = 0 net.ipv4.conf.all.disable_xfrm = 0 net.ipv4.conf.all.arp_accept = 0 net.ipv4.conf.all.arp_ignore = 0 net.ipv4.conf.all.arp_announce = 0 net.ipv4.conf.all.arp_filter = 0 net.ipv4.conf.all.tag = 0

net.ipv4.conf.all.log_martians = 0 net.ipv4.conf.all.bootp_relay = 0 net.ipv4.conf.all.medium_id = 0 net.ipv4.conf.all.proxy_arp = 0

8

联系客服:779662525#qq.com(#替换为@)