Eason

咸鱼咯

sysctl bridge模块未加载导致的报错解决

在RHEL6.3中执行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

出现此问题是以为内上面的3个参数依赖于bridge模块,该模块如果没有加载则会输出上面的错误提示。

解决办法:

# modprobe bridge

模块加载后,/sbin/sysctl -p从新查看,问题解除。

# sysctl -p
net.ipv4.ip_forward = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.default.accept_source_route = 0
kernel.sysrq = 0
kernel.core_uses_pid = 1
net.ipv4.tcp_syncookies = 1
net.bridge.bridge-nf-call-ip6tables = 0
net.bridge.bridge-nf-call-iptables = 0
net.bridge.bridge-nf-call-arptables = 0
kernel.msgmnb = 65536
kernel.msgmax = 65536
kernel.shmmax = 68719476736
kernel.shmall = 4294967296

 

Comments are currently closed.