The error we are tryong to avoid occurs later, when dhcpv6 try to
send a message
./dhcp6c -dDf lo
[...]
Apr/11/2006 18:45:47: client6_send: transmit failed: Network is
unreachable
I don't know if it's relevant or not to your problem, but
loopback, by default, is not multicast-capable, and it also does
not have a MAC address (used to generate the client ID). And, of
course, there isn't much use in running DHCP on loopback. :-)
"ifconfig lo multicast" appears to set the interface flag,
though I don't know if that means it works properly. The client
I have fails on "lo" with error messages "doesn't support
hardware type 772", "failed to get hardware address", and
"failed to get a DUID" (in that order).
You can use "strace" to find out specifically what it did,
but my guess is that it's a bug in the application.
+-DLS