其他分享
首页 > 其他分享> > WARNING: IPv4 forwarding is disabled. Networking will not work

WARNING: IPv4 forwarding is disabled. Networking will not work

作者:互联网

问题解决

Google 一下报错信息,得到问题解决方法。

vi /etc/sysctl.conf

# 新增一行
 net.ipv4.ip_forward=1
 
#  重启network服务
systemctl restart network

# 查看是否修改成功
sysctl net.ipv4.ip_forward

(返回为“net.ipv4.ip_forward = 1”,表示成功)

标签:Networking,network,ip,work,will,ipv4,forward,sysctl,net
来源: https://www.cnblogs.com/tyjs09/p/16159351.html