查看路由表
route -n
添加路由
vim /etc/sysconfig/network-scripts/route-ens224
172.16.16.0/24 via 172.20.35.254 172.16.32.0/24 via 172.20.35.254 172.16.64.0/24 via 172.20.35.254 172.16.128.0/24 via 172.20.35.254 172.16.192.0/24 via 172.20.35.254
重启网络
systemctl restart network
原文:https://www.cnblogs.com/omgasw/p/10472982.html