Permanently add Static Route in Linux Rumi, September 4, 2020September 4, 2020 Static routing is the process of manually entering the routes to the routing table to reach a particular destination. Basically two commands are used in Linux to add routes. The first command is the old traditional route add and second is the IP route command. Earlier we learned how to… Continue Reading
Add a Static Route on CentOS Rumi, May 30, 2019 To add a temporary route: ip route add 172.16.5.0/24 via 10.0.0.101 dev eth0 To make it persist system or network settings restart, create a route-ifname file for an interface through which the subnet is accessed, in this case eth0: nano /etc/sysconfig/network-scripts/route-eth0 Add the line with the network settings for the other subnet:… Continue Reading