Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 101030 - setting multiples routes for subnets with routes_ethX in /etc/conf.d/net is not working
Summary: setting multiples routes for subnets with routes_ethX in /etc/conf.d/net is n...
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: x86 Linux
: High minor (vote)
Assignee: Roy Marples (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-01 15:07 UTC by Patrick Benoit
Modified: 2005-08-01 23:25 UTC (History)
0 users

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


Attachments
conf.d/net with postup routing for mutiples subnets routes (net,1.17 KB, text/plain)
2005-08-01 15:10 UTC, Patrick Benoit
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Benoit 2005-08-01 15:07:33 UTC
in /etc/conf.d/net 
 
routes_eth0=("default via 192.168.0.1") is working 
 
routes_eth0=("default via 192.168.0.1" 
             "192.168.0.69 via 192.168.0.254") is working (routing specific 
address in 192.168.0.64/26 subnet) 
 
routes_eth0=("default via 192.168.0.1" 
              "192.168.0.64/26 via 192.168.0.254") is not working (routing 
subnet) 
 
if you set it manually with route in postup routine it works perfectly well. 
 
see my attached conf.d/net 
 
 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Patrick Benoit 2005-08-01 15:10:36 UTC
Created attachment 64902 [details]
conf.d/net with postup routing for mutiples subnets routes
Comment 2 Roy Marples (RETIRED) gentoo-dev 2005-08-01 23:25:32 UTC
config_eth0=(
    "192.168.0.3/26   broadcast 192.168.0.63"
    "192.168.0.193/26 broadcast 192.168.0.255"
)

routes_eth0=(
        "default       via 192.168.0.1"
        "192.168.0.64/26  via 192.168.0.254"
        "192.168.0.128/26 via 192.168.0.254"
)

The above works just fine with baselayout-1.12.0_pre3-r2