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


    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

  • 相关阅读:
    人见人爱a+b,算出两个时间的和
    远程推送原理
    iOS中的定时器
    四大对象
    核心动画类关系图
    无沙盒缓存原理
    应用程序的生命周期
    同样明文同样算法得到不同密码原理
    线程状态
    iOS中的几个重要方法
  • 原文地址:https://www.cnblogs.com/zjpeng/p/sysctl.html
Copyright © 2020-2023  润新知