首页 > 代码库 > /etc/sysctl.conf 报错

/etc/sysctl.conf 报错

当我编译完内核参数后,

# /sbin/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

 

去网上一查,发现缺少bridge这个模块文件

通过执行 :

  modprobe bridge

再一次:

# /sbin/sysctl -p

net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0

本文出自 “霸气全开” 博客,请务必保留此出处http://8813745.blog.51cto.com/8803745/1434907