If you have an alias device which is on another network than the 'primary' device, ifcfg incorrectly STILL uses 'route add -host' instead of 'route add -net'. For example, if eth0 is 10.0.0.1(/24) and eth0:1 is 10.0.1.1(/24), ifup will NOT add a route for the 10.0.1.0 network.
I was able to verify this bug as follows Created a ifcfg-eth0 file with the following DEVICE=eth0 IPADDR=192.168.1.1 NETWORK=192.168.1.0 NETMASK=255.255.255.0 BROADCAST=192.168.1.255 ONBOOT=yes the an ifcfg-eth0:0 with the following DEVICE=eth0:0 IPADDR=192.168.2.1 NETWORK=192.168.2.0 NETMASK=255.255.255.0 BROADCAST=192.168.2.255 ONBOOT=yes After rebooting the devices were created correctly. But the routing information showed that the 192.168.2.1 interface was added as a host instead of 192.168.2.0 being added as a network as it should be Destination Gateway Genmask Flags Metric Ref Use Iface 192.168.2.1 * 255.255.255.255 UH 0 0 0 eth0:0 192.168.1.0 * 255.255.255.0 U 0 0 0 eth0 127.0.0.0 * 255.0.0.0 U 0 0 0 lo I have assigned this to a developer.
This is a duplicate of #216
*** This bug has been marked as a duplicate of 216 ***