Description of problem: Static routes placed in /etc/sysconfig/network-scripts/route-<interface> files are not added when the interface is added by NetworkManager. Version-Release number of selected component (if applicable): 0.7.0-1.git20090102.fc10 How reproducible: Alawys Steps to Reproduce: 1. Create a route-eth0 file by hand or through system-config-network 2. Select the interface with NetworkManager Actual results: No static route Expected results: static routes added Additional info: I can make this work by addind a script to /etc/NetworkManager/dispatcher.d/ like this (found on a forum): # START SCRIPT ##!/bin/bash if [ -x /usr/bin/logger ]; then LOGGER="/usr/bin/logger -s -p user.notice -t NetworkManager" else LOGGER=echo fi if [ ! -x /etc/sysconfig/network-scripts/ifup-routes ]; then $LOGGER "script ifup-routes missing or nor executable" return fi if [ -n $1 ] && [ $2 == "up" ]; then $LOGGER "adding statis routes for $1" /etc/sysconfig/network-scripts/ifup-routes $1 fi # END SCRIPT
The static route can also be added by using the "Routes" button in the Network Manager dialog windows. In any case, it still doesn't work and the static route is not added during cold boot. But, from within Gnome, if you use network manager to disconnect and then connect to the same network, the static route is added correctly to the routing table. You can also restart the "Network" service and it will be added. In my case, I have both the "Network" service enabled and Network manager is controlling the eth0 interface. I have a dual NIC and maybe this is related to the problem? My eth1 interface is disabled and not being used. I read somewhere on the net that there are problems related to using Network manager in a dual-NIC configuration.
This bug appears to have been reported against 'rawhide' during the Fedora 12 development cycle. Changing version to '12'. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping
A patch adding route-<interface> handling functionality attached to https://bugzilla.redhat.com/show_bug.cgi?id=507307
*** This bug has been marked as a duplicate of bug 507307 ***