CentOS 7/8添加永久路由
查看当前路由信息
[root@ansible231 ~]
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
default gateway 0.0.0.0 UG 100 0 0 eth0
10.32.122.0 0.0.0.0 255.255.254.0 U 101 0 0 eth0
10.56.0.0 10.255.158.254 255.255.0.0 UG