Dario Lesca wrote:

Hi, in which file they can be insert the static routes for a interface?

The file /etc/sysconfig/static-routes seem not work.

A quick look indicates that things have changed. From /etc/init.d/network:

# 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
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/psyche-list


Reply via email to