Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 135719

Summary: Unable to set up static routes because of syntax error
Product: Gentoo Linux Reporter: Julien Biezemans <jb>
Component: [OLD] baselayoutAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED WORKSFORME    
Severity: major    
Priority: High    
Version: 2006.0   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Julien Biezemans 2006-06-05 23:10:03 UTC
When setting routes_br0=( "10.0.0.0/8 via 172.24.1.241" ) within /etc/conf.d/net the route never gets added to the table when restarting the br0 interface.

This seems to be caused by an error in the syntax used by the initscript, forcing the "via" keyword to be replaced by "gw", which is not correct.

Using the following manual line works properly and the routing table is updated as expected:

ip route add 10.0.0.0/8 via 172.24.1.241

Replacing the "via" keyword by "gw" returns the following error:

Error: eithor "to" is duplicate, or "gw" is a garbage.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2006-06-06 02:01:20 UTC
You negleted to post `emerge --info` so I'm going to assume that you're using baselayout-1.11.x

This issue has been fixed in baselayout-1.12 - re-open if you disagree