We have a large LAN made up of non-contiguous blocks.
I have /etc/sysconfig/static-routes containing, among other things:
eth0 net x.y.1.0 netmask 255.255.255.0
eth0 net x.y.2.0 netmask 255.255.255.0
eth0 net x.y.144.0 netmask 255.255.240.0
The system I am configuring now lives in x.y.1.0 and has
DEVICE=eth0
IPADDR=x.y.1.22
NETMASK=255.255.255.0
NETWORK=x.y.1.0
BROADCAST=x.y.1.255
ONBOOT=yes
in /etc/sysconfig/network-scripts/ifcfg-eth0.
The problem is that linuxconf does not install my other static routes
to eth0: it installs only the one where the machine lives on.
Disabling linuxconf (chmod u-x /bin/linuxconf) eliminates the problem:
the loop in the "else" part within
/etc/sysconfig/network-scripts/ifup-routes is exactly what I want,
and linuxconf seems to add some undesired intelligence.
furio ercolessi
Spin