net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
net.ipv4.ip_forward = 1
net.bridge.bridge-nf-call-arptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
net.bridge.bridge-nf-call-iptables = 1
net.ipv4.ip_local_reserved_ports = 30000-32767
net.core.netdev_max_backlog = 65535
sysctl: setting key "net.core.rmem_max": Invalid argument
sysctl: setting key "net.core.wmem_max": Invalid argument
sysctl: setting key "net.core.somaxconn": Invalid argument
net.ipv4.tcp_max_syn_backlog = 1048576
net.ipv4.neigh.default.gc_thresh1 = 512
net.ipv4.neigh.default.gc_thresh2 = 2048
net.ipv4.neigh.default.gc_thresh3 = 4096
net.ipv4.tcp_retries2 = 15
net.ipv4.tcp_max_tw_buckets = 104857600
net.ipv4.tcp_max_orphans = 6553500
net.ipv4.udp_rmem_min = 1310720000
net.ipv4.udp_wmem_min = 1310720000
net.ipv4.conf.all.arp_accept = 1
net.ipv4.conf.default.arp_accept = 1
net.ipv4.conf.all.arp_ignore = 1
net.ipv4.conf.default.arp_ignore = 1
vm.max_map_count = 26214400
vm.swappiness = 0
vm.overcommit_memory = 0
fs.inotify.max_user_instances = 524288
fs.inotify.max_user_watches = 524288
sysctl: setting key "fs.pipe-max-size": Invalid argument
fs.aio-max-nr = 262140
kernel.pid_max = 65535
kernel.watchdog_thresh = 5
kernel.hung_task_timeout_secs = 5
标签:bridge,sysctl,default,max,ipv4,conf,net,ub From: https://blog.51cto.com/u_15460722/8786748