centos7解决办法:# vi /etc/sysctl.conf添加如下代码: net.ipv4.ip_forward=1重启network服务# systemctl restart network 查看是否修改成功# sysctl net.ipv4.ip_forward 如果返回为“net.ipv4.ip_forward = 1”则表示成功了重新运行镜像