码迷,mamicode.com
首页 > Web开发 > 详细

sysctl-p报错:error: "net.bridge.bridge-nf-call-ip6ta

时间:2019-04-08 15:46:23      阅读:190      评论:0      收藏:0      [点我收藏+]

标签:bridge   file-max   解决   accept   range   ror   时报   yum   source   

1、
刚配置完sysctl,加载时报错:
[root@itpux1 yum.repos.d]# 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
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
kernel.msgmnb = 65536
kernel.msgmax = 65536
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 1073741824
kernel.shmall = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586

2、
此错误可以忽略,也可以使用下面命令解决。
[root@oracle11gr2 ]# modprobe bridge
[root@oracle11gr2 ]# lsmod |grep bridge
bridge 94409 0 
stp 2256 2 bridge,garp
llc 5608 3 bridge,garp,stp
ipv6 337773 160 bridge,ip6t_REJECT,nf_conntrack_ipv6,nf_defrag_ipv6

3、
再次测试,成功
[root@itpux1 yum.repos.d]# 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
fs.aio-max-nr = 1048576
fs.file-max = 6815744
kernel.shmmax = 1073741824
kernel.shmall = 536870912
kernel.shmmni = 4096
kernel.sem = 250 32000 100 128
net.ipv4.ip_local_port_range = 9000 65500
net.core.rmem_default = 262144
net.core.rmem_max = 4194304
net.core.wmem_default = 262144
net.core.wmem_max = 1048586

sysctl-p报错:error: "net.bridge.bridge-nf-call-ip6ta

标签:bridge   file-max   解决   accept   range   ror   时报   yum   source   

原文地址:https://www.cnblogs.com/zjpeng/p/10670532.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!