问题症状

修改 linux 内核文件 

#vi /etc/sysctl.conf后执行sysctl  -P 报错

error: "net.bridge.bridge-nf-call-ip6tables" is an unknown key
error: "net.bridge.bridge-nf-call-iptables" is an unknown key
error: "net.bridge.bridge-nf-call-arptables" is an unknown key

 

解决方法如下:

modprobe bridge

lsmod|grep bridge


error: "net.ipv4.netfilter.ip_conntrack_max" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_established" is an unknown key

解决方法如下:

net.ipv4.netfilter.ip_conntrack_max = 655350
net.ipv4.netfilter.ip_conntrack_tcp_timeout_established = 10800

改为:

  1. net.nf_conntrack_max = 655350net.netfilter.nf_conntrack_tcp_timeout_established = 10800




Logo

更多推荐