| Summary: | static ipv6 addresses and routes do not work with sys-apps/baselayout-2.0.0_alpha3-r1 on Gentoo/FreeBSD | ||
|---|---|---|---|
| Product: | Gentoo/Alt | Reporter: | Friedrich Oslage (RETIRED) <bluebird> |
| Component: | FreeBSD | Assignee: | Gentoo/BSD Team <bsd+disabled> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | base-system, esigra |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | FreeBSD | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
emerge_info
etc_conf.d_net gentoo_fbsd_inet6.patch |
||
Created attachment 124069 [details]
emerge_info
Output of emerge --info
Created attachment 124070 [details]
etc_conf.d_net
Content of /etc/conf.d/net
Created attachment 124072 [details, diff]
gentoo_fbsd_inet6.patch
Patch.
It fixes static ipv6 on Gentoo/FreeBSD but it BREAKS static ipv6 on Gentoo/Linux. Therefore it should only be used on Gentoo/FreeBSD.
(I also added to part to remove all routes manually because FreeBSD's ifconfig seems not to remove inet6 routes.)
This should be assigned to bsd (at) gentoo.org, not base-system :> Fixed in our svn repo, thanks. |
I was trying to get my static ipv6 setup working but when running /etc/init.d/net.re0 start I got these error messages: * Bringing up interface re0 * Waiting for carrier (5 seconds) .. [ ok ] * 10.136.137.66/27 ... * 2001:a60:f034::202/120 ... ifconfig: 2001:a60:f034::202/120: bad value [ !! ] * Adding routes * default via 10.136.137.65 ... [ ok ] * default via 2001:a60:f034::201 ... route: bad address: 2001:a60:f034::201 [ !! ] The reason is that /lib/rcscripts/net/ifconfig.sh is executing "ifconfig ${iface} add ${address}" but for ipv6 it has to be "ifconfig ${iface} inet6 add ${address}". Same applies for routes(needs -inet6 as param).