Red Hat Bugzilla – Bug 506195
nash network fails to configure default gateway
Last modified: 2009-06-16 04:10:29 EDT
Created attachment 348033 [details]
Fix nash network command to set the default gateway properly
The nash network command in mkinitrd-6.0.86-2.fc11 fails to configure the default gateway when booting from an NFS server.
nashSetupInterface() calls rtnl_route_add(), which returns -3 (ESRCH), leaving the routing table without an entry for the default gateway.
The attached patch fixes the problem by setting the scope of the default route to RT_SCOPE_UNIVERSE.
Hi we already have a bug tracking this, thanks for the patch!
*** This bug has been marked as a duplicate of bug 501033 ***