这几天一直在折腾VPS优化,架设VPN,openvz构架的,在做linux内核优化修改的时候,执行sysctl -p总是报错:
[root@Server ~]# /sbin/sysctl -p
net.ipv4.ip_forward = 1
net.ipv4.tcp_syncookies = 1
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
一般这是因为我们没有加载bridge模块,需要手工加载。解决过程如下:
modprobe bridge
lsmod|grep bridge
最新评论