How do I permanently add static routes in CentOS 7?

How do I permanently add static routes in CentOS 7?
Answer
We have two methods to add permanent static routes in CentOS 7. One method is to use nmcli command, another method is to add entries manually by directly adding the configuration file into the /etc/sysconfig/network-scripts/ directory.
 

Tìm kiếm

Back
Top