Disclaimer: This article is a blogger original article, support the original, reproduced, please attach the original source link and this statement.
This link address: https://www.cnblogs.com/wannengachao/p/11947400.html
1. Create the configuration file / etc / sysconfig / static-routes
static-routes by default do not have this file, you need to manually create
2. Edit the configuration file static-routes, add the following:
any net 192.168.80.0/24 gw 192.168.80.2 # 192.168.1.0 / 16 target segment, 192.168.1.15 represents a gateway
3. Call the static-routes file:
cd /etc/init.d/network
./network restart
4. Check whether the configuration:
ip r