Top Nav

Static Routes On RedHat

Here’s the docs from redhat on how to setup static routes:

Let’s say you want to add two static routes to eth1. The first routes 10.10.10.0/255.255.255.0 to 10.10.10.1 and the second routes traffic from 10.10.11.0/255.255.255.0 to 10.10.11.1. To accomplish this create a file at:

And place the following lines in the file:

Then restart networking with: