FS#16114 - [initscripts] net: wrong error message when using multiple IPv6 on one NIC
Attached to Project:
Arch Linux
Opened by Nicolas Doualot (slubman) - Wednesday, 09 September 2009, 21:22 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 08 May 2011, 13:01 GMT
Opened by Nicolas Doualot (slubman) - Wednesday, 09 September 2009, 21:22 GMT
Last edited by Tom Gundersen (tomegun) - Sunday, 08 May 2011, 13:01 GMT
|
Details
Description:
Using IPv6 and IPv4, I've configured my rc.conf to assign multiple IPv6 adress to one NIC (and use DHCP in v4). The config works, but on boot I got error messages relating to the lines where I set the IPv6 address Additional info: * package version(s) : initscripts 2009.08-1 net-tools 1.60-14 * config and/or log files etc. in /etc/rc.conf : eth0="dhcp" eth0_ipv6_0="eth0 add fd8d::3/64" eth0_ipv6_1="eth0 add 2a01:XXXX:XXXX::3/64" INTERFACES=(eth0 eth0_ipv6_1 eth0_ipv6_0) error messages displayed on startup: eth0_ipv6_0 no such device eth0_ipv6_1 no such device But, the interface are configured correctly when the boot is finished. |
This task depends upon
dhcp: unknown interface: no such device
http://projects.archlinux.org/?p=initscripts.git;a=commitdiff;h=743745339502da513cce7acbc9b67fbce4378091
the way i've gotten around that is to ignore aliases on ifdown all together
`echo ${1} | grep -q '_'`
if [ $? -gt 0 ]; then
/sbin/ifconfig ${1} down >/dev/null 2>&1
fi
I'm sure there is a prettier way but you get the idea
thx