centos7添加bridge-nf-call-ip6tables出现No|centos7添加bridge-nf-call-ip6tables出现No such file or directory
在/etc/sysctl.conf中添加一下内容时:
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
[root@controller ~]# cat /etc/sysctl.conf
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
执行sysctl –p时出现如下报错:
[root@controller ~]# sysctl -p
sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-ip6tables: No such file or directory
sysctl: cannot stat /proc/sys/net/bridge/bridge-nf-call-iptables: No such file or directory
【centos7添加bridge-nf-call-ip6tables出现No|centos7添加bridge-nf-call-ip6tables出现No such file or directory】解决方法:
[root@controller ~]# modprobe br_netfilter
[root@controller ~]# ls /proc/sys/net/bridge
bridge-nf-call-arptablesbridge-nf-filter-pppoe-tagged
bridge-nf-call-ip6tablesbridge-nf-filter-vlan-tagged
bridge-nf-call-iptablesbridge-nf-pass-vlan-input-dev [root@controller ~]# sysctl -p
net.bridge.bridge-nf-call-iptables = 1
net.bridge.bridge-nf-call-ip6tables = 1
推荐阅读
- 编写字典程序
- 怎么将桌面上的CAD图纸添加到软件中进行BMP格式转换()
- CentOS7 阿里云镜像配置方法
- 2147483647与int型
- 怎样把一个字典的数据添加到另一个字典中()
- 培养习惯的倦怠期可以添加变化~74
- 如何在Kubernetes|如何在Kubernetes 里添加自定义的 API 对象(一)
- linux|linux centos7服务器时间同步
- Ubuntu|Ubuntu 下添加开机启动脚本
- centos7|centos7 redis安装/集群部署/slots迁移