How to configure static routes in Fedora
Você pode ver este post em português também. Routes. The unique way I like to see them: Recently I had to do a fix inside the routing table of a server. I’ve found out a better and more elegant way than this usual: touch /etc/rc.d/rc.local echo "touch /var/lock/subsys/local" > /etc/rc.d/rc.local echo "route add default gw 10.10.0.1 eth0" > /etc/rc.d/rc.local echo "route add -net 10.1.0.0 netmask 255.255.0.0 gw 10.2.0.1 eth0" > /etc/rc.d/rc.local Inside Fedora GNU/Linux, static routes can be added in specific files for each one of its interfaces. These files are located at /etc/sysconfig/network-scripts/. The filename must match the route-ifname format.
…