Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 187514 - No way to set static IPv6 route in /etc/conf.d/net with baselayout2?
Summary: No way to set static IPv6 route in /etc/conf.d/net with baselayout2?
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-08-02 15:07 UTC by Kolbjørn Barmen
Modified: 2007-08-03 13:14 UTC (History)
0 users

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


Attachments
Allow inet6 rotues (route.patch,1.78 KB, patch)
2007-08-03 07:26 UTC, Roy Marples (RETIRED)
Details | Diff
net.eth0 --debug start (net.eth0-debug.txt,32.70 KB, text/plain)
2007-08-03 10:03 UTC, Kolbjørn Barmen
Details
Allow inet6 routes (route.patch,1.56 KB, patch)
2007-08-03 11:04 UTC, Roy Marples (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Kolbjørn Barmen 2007-08-02 15:07:35 UTC
Static IPv6 routes in /etc/conf.d/net with baselayout2 do not work.

Earlier "default via xx:yy:zz::1" in routes_eth0 section worked, now I get "xx:yy:zz:1: Unknown host" (or something similar).

This is sys-apps/baselayout-2.0.0_alpha4, I admit I have not testet rc1 yet.

Reproducible: Always

Steps to Reproduce:
1. Set up static IPv6 address in /etc/conf.d/net
2. Set up static IPv6 route in /etc/conf.d/net
3. /etc/init.d/net.whatever restart

Actual Results:  
No IPv6 route set, error message from initscript about IPv6-router being unknown host.

Expected Results:  
Default IPv6 route set, as with command
route add -Ainet6 default gw xx:yy:zz::1


I have explicitly turned off accept_ra for all my interfaces, I specifically want to use static IPv6 addresses and routing.
Comment 1 Roy Marples (RETIRED) gentoo-dev 2007-08-03 07:26:51 UTC
Created attachment 126773 [details, diff]
Allow inet6 rotues

Try this and report back please.
Comment 2 Kolbjørn Barmen 2007-08-03 10:03:04 UTC
Created attachment 126781 [details]
net.eth0 --debug start
Comment 3 Roy Marples (RETIRED) gentoo-dev 2007-08-03 11:04:24 UTC
Created attachment 126794 [details, diff]
Allow inet6 routes

This should fix it
Comment 4 Kolbjørn Barmen 2007-08-03 13:14:51 UTC
(In reply to comment #3)
> Created an attachment (id=126794) [edit]
> Allow inet6 routes
> 
> This should fix it

Yes, it did - great! :)