1、临时添加
ip route add 192.123.130.148 via 192.168.100.234 dev enp125s0f0
2、永久添加
echo "192.123.130.148 via 192.168.100.234 dev enp125s0f0" > /etc/sysconfig/network-scripts/route-enp125s0f0
注:192.123.130.148 目的地址
192.168.100.234 网关地址(代理地址)
enp125s0f0 网口名
永久添加路由不受systemctl restart network和reboot限制