Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 262391 - sys-apps/baselayout-1.12.11.1: script for automatic 6to4 tunnel fails with multiple ips
Summary: sys-apps/baselayout-1.12.11.1: script for automatic 6to4 tunnel fails with mu...
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] baselayout (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-13 21:44 UTC by Klas Meder Boqvist
Modified: 2009-12-17 16:49 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 Klas Meder Boqvist 2009-03-13 21:44:05 UTC
if you are using the automatic method of configuring 6to4 tunnels with iproute2
link_6to4="eth0"
config_6to4=( "ip6to4" )
depend_6to4() { need net.eth0 }
and has multiple ipv4-addresses and is calling your 6to4 interface anything other than sit0.
then the script tries to add a new tunnel interface with local address "any" witch is not possible because
the interface sit0 already exist with the same properties

the workaround is to always call your interface sit0

the solution should probably be something like changing /lib/rcscripts/net/ip6to4.sh
to use the localnet/CIDR as localip instead of "any" if there are multiple ips configured

Reproducible: Always

Steps to Reproduce:
Comment 1 William Hubbs gentoo-dev 2009-12-17 16:45:53 UTC
Please upgrade your system to openrc/baselayout-2.

If this issue still exists after you upgrade, please re-open this bug
and let us know so we can address it in openrc.
Comment 2 William Hubbs gentoo-dev 2009-12-17 16:48:47 UTC
re-opening to fix resolution.
Comment 3 William Hubbs gentoo-dev 2009-12-17 16:49:58 UTC
Correcting resolution.