Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 135719 - Unable to set up static routes because of syntax error
Summary: Unable to set up static routes because of syntax error
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-05 23:10 UTC by Julien Biezemans
Modified: 2006-06-06 02:01 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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