Nguyễn Thiệu Vy
Member
How do I permanently create a routing table in Linux?
Answer
Adding permanent static routes
On RHEL or CentOS, you need to
modify the interface file in ‘/etc/sysconfig/network-scripts’
. For example, here, we have to add routes on network interface ens192. Hence, the file we need to modify will be ‘/etc/sysconfig/network-scripts/route-ens192’.
Answer
Adding permanent static routes
On RHEL or CentOS, you need to
modify the interface file in ‘/etc/sysconfig/network-scripts’
. For example, here, we have to add routes on network interface ens192. Hence, the file we need to modify will be ‘/etc/sysconfig/network-scripts/route-ens192’.