Dario Lesca wrote:
Hi, in which file they can be insert the static routes for a interface?A quick look indicates that things have changed. From /etc/init.d/network:
The file /etc/sysconfig/static-routes seem not work.
# Add non interface-specific static-routes.
if [ -f /etc/sysconfig/static-routes ]; then
grep "^any" /etc/sysconfig/static-routes | while read ignore args ; do
/sbin/route add -$args
done
fi
So routes that are not interface specific can still go in /etc/static-routes.
If you look at /etc/sysconfig/network-scripts/ifup-routes, the answers are there in bash language.
Alan
--
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list