Archive for the ‘redhat’ Category.

Centos & redhat persistent static routes

On redhat centos

For each device, (say eth0) create the file: /etc/sysconfig/network-scripts/route-eth0

And the contents should be something like:

10.0.1.0/24 via 192.168.2.4 dev eth0

10.0.4.0/24 via 192.168.2.2 dev eth0