There is no "standard" way to set extra IPv6 (or a IPv6 address for that matter) in the net.eth0 script. I've added this based on ip alias scripting. What it does is to react upon inet6_{interface} (same way used for ip aliasing), so you can add f.ex. "abcd:ef:abcd::e/64 abcd:ef:abcd::ef/64" and it will add it to the interface:) in start() add (after bringing the interface up) : <cut> if [ -n "$(eval echo \$\{inet6_${IFACE}\})" ] then local x="" ebegin " Adding inet6 addresses" for x in $(eval echo \$\{inet6_${IFACE}\}) do ebegin " ${IFACE} inet6 add ${x}" /sbin/ifconfig ${IFACE} inet6 add ${x} >/dev/null eend 0 done save_options "inet6" "$(eval echo \$\{inet6_${IFACE}\})" fi </cut> In stop() add (at the very beginning): <cut> local myinet6="$(get_options inet6)" if [ -n "${myinet6}" ] then local x="" for x in ${myinet6} do /sbin/ifconfig ${IFACE} inet6 del ${x} >/dev/null done fi </cut> If you have any questions don't hesitate to contact me, I'm currently working on more stuff to make IPv6 in gentoo as painless as possible :)
Added to CVS, thanks!